diff options
Diffstat (limited to 'docs/ru-RU/config/README.md')
-rw-r--r-- | docs/ru-RU/config/README.md | 53 |
1 files changed, 46 insertions, 7 deletions
diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md index db35423c8..bf8657ab2 100644 --- a/docs/ru-RU/config/README.md +++ b/docs/ru-RU/config/README.md @@ -209,6 +209,7 @@ $ruby\ $rust\ $swift\ $terraform\ +$vagrant\ $zig\ $nix_shell\ $conda\ @@ -371,6 +372,8 @@ style = "bold yellow" By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape). +::: warning `error_symbol` is not supported on elvish shell. ::: + ### Опции | Параметр | По умолчанию | Описание | @@ -1601,7 +1604,7 @@ truncation_symbol = "" The `nim` module shows the currently installed version of Nim. Модуль будет показан, если любое из следующих условий соблюдено: -- The current directory contains a `nim.cfg` file +- Текущий каталог содержит файл `nim.cfg` - The current directory contains a file with the `.nim` extension - The current directory contains a file with the `.nims` extension - The current directory contains a file with the `.nimble` extension @@ -1908,7 +1911,7 @@ format = "via [🔹 $version](147 bold) " The `purescript` module shows the currently installed version of PureScript version. Модуль будет показан, если любое из следующих условий соблюдено: -- The current directory contains a `spago.dhall` file +- Текущий каталог содержит файл `spago.dhall` - The current directory contains a \*.purs files ### Опции @@ -2156,6 +2159,8 @@ The `status` module displays the exit code of the previous command. The module w ::: +::: warning This module is not supported on elvish shell. ::: + ### Опции | Параметр | По умолчанию | Описание | @@ -2195,7 +2200,7 @@ The `status` module displays the exit code of the previous command. The module w [status] style = "bg:blue" symbol = "🔴" -format = '[\[$symbol $status_common_meaning$status_signal_name$status_maybe_int\]]($style) ' +format = '[\[$symbol $common_meaning$signal_name$maybe_int\]]($style) ' map_symbol = true disabled = false @@ -2238,7 +2243,7 @@ format = "via [🏎 $version](red bold)" ## Terraform -The `terraform` module shows the currently selected terraform workspace and version. +Модуль `terraform` показывает выбранную рабочую область и версию terraform. ::: tip @@ -2293,7 +2298,7 @@ format = "[🏎💨 $workspace]($style) " ## Время -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +Модуль `time` показывает текущее **локальное** время. Значение конфигурации `format` используется пакетом [`chrono`](https://crates.io/crates/chrono) для контроля того, как отображается время. Ознакомьтесь с [документацией chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html), чтобы увидеть доступные параметры. ::: tip @@ -2313,7 +2318,7 @@ The `time` module shows the current **local** time. The `format` configuration v | `disabled` | `true` | Отключает модуль `time`. | | `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | -If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`. Manually setting `time_format` will override the `use_12hr` setting. +If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Иначе по умолчанию используется `"%T"`. Manually setting `time_format` will override the `use_12hr` setting. ### Переменные @@ -2339,7 +2344,7 @@ time_range = "10:00:00-14:00:00" ## Имя пользователя -The `username` module shows active user's username. Модуль будет показан, если любое из следующих условий соблюдено: +Модуль `username` показывает имя текущего пользователя. Модуль будет показан, если любое из следующих условий соблюдено: - Текущий пользователь - root - Текущий пользователь отличается от залогиненного @@ -2382,6 +2387,40 @@ disabled = false show_always = true ``` +## Vagrant + +The `vagrant` module shows the currently installed version of Vagrant. Модуль будет показан, если любое из следующих условий соблюдено: + +- The current directory contains a `Vagrantfile` file + +### Опции + +| Параметр | По умолчанию | Описание | +| ---------- | ------------------------------------ | --------------------------------------------------- | +| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. | +| `symbol` | `"⍱ "` | A format string representing the symbol of Vagrant. | +| `style` | `"cyan bold"` | Стиль модуля. | +| `disabled` | `false` | Disables the `Vagrant` module. | + +### Переменные + +| Переменная | Пример | Описание | +| ---------- | ---------------- | ------------------------------------ | +| version | `Vagrant 2.2.10` | The version of `Vagrant` | +| symbol | | Отражает значение параметра `symbol` | +| style\* | | Отражает значение параметра `style` | + +\*: Эта переменная может использоваться только в качестве части строки style + +### Пример + +```toml +# ~/.config/starship.toml + +[vagrant] +format = "via [⍱ $version](bold white) " +``` + ## Zig The `zig` module shows the currently installed version of Zig. Модуль будет показан, если любое из следующих условий соблюдено: |