diff options
author | Matan Kushner <hello@matchai.dev> | 2021-11-09 19:55:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 14:55:33 -0500 |
commit | 9c68d181e4609dccf0dcf967956eb753666d111b (patch) | |
tree | 7c9e08178c01dfc6d3a52721d384bb2969fb68e1 /docs/ar-SA | |
parent | 8ae6548dc06aaae383e17f7f97ab38c3a572df40 (diff) |
docs(i18n): new Crowdin updates (#3212)
Diffstat (limited to 'docs/ar-SA')
-rw-r--r-- | docs/ar-SA/config/README.md | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index d5158be2d..f561d0dca 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/config/README.md @@ -735,17 +735,18 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Options -| Option | الافتراضي | الوصف | -| ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------- | -| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. | -| `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. | -| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | The format for the module. | -| `style` | `"bold cyan"` | The style for the module. | -| `disabled` | `false` | Disables the `directory` module. | -| `read_only` | `"🔒"` | The symbol indicating current directory is read only. | -| `read_only_style` | `"red"` | The style for the read only symbol. | -| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" | -| `home_symbol` | `"~"` | The symbol indicating home directory. | +| Option | الافتراضي | الوصف | +| ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. | +| `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. | +| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | The format for the module. | +| `style` | `"bold cyan"` | The style for the module. | +| `disabled` | `false` | Disables the `directory` module. | +| `read_only` | `"🔒"` | The symbol indicating current directory is read only. | +| `read_only_style` | `"red"` | The style for the read only symbol. | +| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" | +| `repo_root_style` | `None` | The style for the root of the git repo when `truncate_to_repo` option is set to false. | +| `home_symbol` | `"~"` | The symbol indicating home directory. | <details> <summary>This module has a few advanced configuration options that control how the directory is displayed.</summary> @@ -2513,6 +2514,9 @@ By default the `ruby` module shows the currently installed version of [Ruby](htt - The current directory contains a `Gemfile` file - The current directory contains a `.ruby-version` file - The current directory contains a `.rb` file +- The environment variables `RUBY_VERSION` or `RBENV_VERSION` are set + +Starship gets the current Ruby version by running `ruby -v`. ### Options @@ -2524,6 +2528,7 @@ By default the `ruby` module shows the currently installed version of [Ruby](htt | `detect_extensions` | `["rb"]` | Which extensions should trigger this module. | | `detect_files` | `["Gemfile", ".ruby-version"]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | +| `detect_variables` | `["RUBY_VERSION", "RBENV_VERSION"]` | Which environment variables should trigger this module. | | `style` | `"bold red"` | The style for the module. | | `disabled` | `false` | Disables the `ruby` module. | |