summaryrefslogtreecommitdiffstats
path: root/docs/ru-RU/config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ru-RU/config/README.md')
-rw-r--r--docs/ru-RU/config/README.md524
1 files changed, 262 insertions, 262 deletions
diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md
index cc671eb7f..8e3f87aad 100644
--- a/docs/ru-RU/config/README.md
+++ b/docs/ru-RU/config/README.md
@@ -1,12 +1,12 @@
# Конфигурация
-To get started configuring starship, create the following file: `~/.config/starship.toml`.
+Чтобы начать конфигурацию Starship, создайте следующий файл: `~/.config/starship.toml`.
```sh
mkdir -p ~/.config && touch ~/.config/starship.toml
```
-All configuration for starship is done in this [TOML](https://github.com/toml-lang/toml) file:
+Вся конфигурация Starship выполняется в этом файле [TOML](https://github.com/toml-lang/toml):
```toml
# Don't print a new line at the start of the prompt
@@ -21,7 +21,7 @@ success_symbol = "[➜](bold green)" # The "success_symbol" segment is being
disabled = true
```
-You can change default `starship.toml` file location with `STARSHIP_CONFIG` environment variable:
+Вы можете изменить расположение файла `starship.toml` переменной окружения `STARSHIP_CONFIG`:
```sh
export STARSHIP_CONFIG=~/.starship
@@ -47,9 +47,9 @@ Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE
$ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
```
-### Terminology
+### Терминология
-**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of NodeJS that is currently installed on your computer, if your current directory is a NodeJS project.
+**Модуль**: Компонент строки, дающий информацию на основе контекстной информации вашей ОС. Например, модуль "nodejs" показывает установленную версию NodeJS на вашем компьютере, если вы находитесь в директории проекта NodeJS.
**Variable**: Smaller sub-components that contains information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of NodeJS.
@@ -85,7 +85,7 @@ For example:
#### Строки стиля
-Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/).
+В Starship, большинство модулей позволяют настроить стили отображения. Это делается записью (обычно называется `style`), которая представляет собой строку, определяющую конфигурацию. Ниже приведены несколько примеров стилей строк, а также, их действия. Подробнее о полном синтаксисе можно прочитать в [расширенном разделе конфигурации](/advanced-config/).
- `"fg:green bg:blue"` устанавливает зеленый текст на синем фоне
- `"bg:blue fg:bright-green"` устанавливает ярко-зеленый текст на синем фоне
@@ -94,7 +94,7 @@ Most modules in starship allow you to configure their display styles. This is do
- `"bold italic fg:purple"` устанавливает жирный фиолетовый текст
- `""` выключает все стили
-Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics.
+Обратите внимание на то, что, вид стиля зависит от вашего эмулятора терминала. Например, некоторые эмуляторы терминала будут использовать яркие цвета вместо жирного текста, и некоторые цветовые темы используют одинаковые значение для обычных и ярких цветов. Также, чтобы получить курсивный текст, ваш терминал должен поддерживать курсив.
#### Conditional Format Strings
@@ -138,15 +138,15 @@ format = '''
## Командная строка
-This is the list of prompt-wide configuration options.
+Ниже находится список опций, применяющихся для всей командной строки.
### Опции
-| Option | По умолчанию | Описание |
-| -------------- | -------------------------------- | ----------------------------------------------------- |
-| `format` | [ссылка](#default-prompt-format) | Configure the format of the prompt. |
-| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). |
-| `add_newline` | `true` | Add a new line before the start of the prompt. |
+| Option | По умолчанию | Описание |
+| -------------- | -------------------------------- | -------------------------------------------------------- |
+| `format` | [ссылка](#default-prompt-format) | Configure the format of the prompt. |
+| `scan_timeout` | `30` | Тайм-аут запуска сканирования файлов (в миллисекундах). |
+| `add_newline` | `true` | Добавление пустой строки перед началом командной строки. |
### Пример
@@ -168,7 +168,7 @@ add_newline = false
### Default Prompt Format
-The default `format` is used to define the format of the prompt, if empty or no `format` is provided. The default is as shown:
+The default `format` is used to define the format of the prompt, if empty or no `format` is provided. Значение по умолчанию:
```toml
format = "$all"
@@ -228,9 +228,9 @@ $character"""
## AWS
-The `aws` module shows the current AWS region and profile. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file.
+Модуль `aws` показывает текущий регион и профиль AWS. Основано на `AWS_REGION`, `AWS_DEFAULT_REGION`, и `AWS_PROFILE` переменных окружения и файле`~/.aws/config`.
-When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var.
+При использовании [aws-vault](https://github.com/99designs/aws-vault) профиль читается из переменной среды `AWS_VAULT`.
### Опции
@@ -296,7 +296,7 @@ symbol = "🅰 "
## Батарея
-The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
+Модуль `battery` показывает насколько заряжена батарея девайса и статус зарядки на данный момент. Модуль виден только, если заряд батареи устройства меньше 10%.
### Опции
@@ -310,14 +310,14 @@ The `battery` module shows how charged the device's battery is and its current c
| `disabled` | `false` | Отключает модуль `battery`. |
<details>
-<summary>There are also options for some uncommon battery states.</summary>
+<summary>Также, есть опции для некоторых нетипичных состояний батареи.</summary>
| Переменная | Описание |
| ---------------- | ------------------------------------------------------- |
| `unknown_symbol` | Символ, отображаемый при неизвестном состоянии батареи. |
| `empty_symbol` | Символ, отображаемый при пустом состоянии батареи. |
-Note: Battery indicator will be hidden if the status is `unknown` or `empty` unless you specify the option in the config.
+Примечание: Индикатор батареи будет скрыт при состоянии `unknown` или `empty`, если вы не указали параметр в настройках.
</details>
@@ -332,9 +332,9 @@ charging_symbol = "⚡️"
discharging_symbol = "💀"
```
-### Battery Display
+### Отображение батареи
-The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. The default is as shown:
+Параметр `display` используется для определения того, когда индикатор батареи должен быть показан (threshhold) и как он выглядит (style). Если `display` не предоставлено. Значение по умолчанию:
```toml
[[battery.display]]
@@ -344,7 +344,7 @@ style = "bold red"
#### Опции
-The `display` option is an array of the following table.
+Опция `display` представляет собой массив следующей таблицы.
| Переменная | Описание |
| ----------- | -------------------------------------------------------- |
@@ -354,23 +354,23 @@ The `display` option is an array of the following table.
#### Пример
```toml
-[[battery.display]] # "bold red" style when capacity is between 0% and 10%
+[[battery.display]] # стиль "bold red" (жирный красный) если заряд между 0% и 10%
threshold = 10
style = "bold red"
-[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
+[[battery.display]] # стиль "bold yellow" (жирный желтый) если заряд между 10% и 30%
threshold = 30
style = "bold yellow"
-# when capacity is over 30%, the battery indicator will not be displayed
+# когда заряд батареи больше 30%, индикатор батареи скрыт
```
## Символ
-The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
+Модуль `character` показывает символ (обычно, стрелка) рядом с вводимым текстом в терминале.
-The character will tell you whether the last command was successful or not. It can do this in two ways:
+Символ показывает, была ли последняя команда успешной или нет. It can do this in two ways:
- changing color (`red`/`green`)
- changing shape (`❯`/`✖`)
@@ -451,15 +451,15 @@ The `cmake` module shows the currently installed version of CMake if:
## Длительность команды
-The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
+Модуль `cmd_duration` показывает время исполнения последней команды. Модуль будет показан только, если команда заняла более двух секунд, или если задан параметр `min_time`.
-::: warning Do not hook the DEBUG trap in Bash
+::: warning Не подключайте ловушку DEBUG к Bash
-If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
+Если вы испоьзуете Starship в `bash`, не подключайте ловушку `DEBUG` после запуска `eval $(starship init $0)`, иначе этот модуль сломается.
:::
-Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
+Пользователи Bash, которым нужна функциональность, подобная preexec, могут использовать [фреймворк bash_preexec от rcaloras](https://github.com/rcaloras/bash-preexec). Просто определите массивы `preexec_functions` и `precmd_functions` перед запуском `eval $(starship init $0)`, а затем продолжайте нормально.
### Опции
@@ -492,11 +492,11 @@ format = "underwent [$duration](bold yellow)"
## Конда
-The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
+Модуль `conda` показывает текущее окружение conda, если `$CONDA_DEFAULT_ENV` присвоено значение.
::: tip
-This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
+Это не подавляет модификатор командной строки самой conda. Возможно, вы захотите запустить `conda config --set changeps1 False`.
:::
@@ -509,7 +509,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c
| `style` | `"bold green"` | Стиль модуля. |
| `format` | `"[$symbol$environment]($style) "` | The format for the module. |
| `ignore_base` | `true` | Ignores `base` environment when activated. |
-| `disabled` | `false` | Disables the `conda` module. |
+| `disabled` | `false` | Отключает модуль `conda`. |
### Variables
@@ -532,7 +532,7 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-The `crystal` module shows the currently installed version of Crystal. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `crystal` показывает установленную версию Crystal. Модуль будет показан, если любое из следующих условий соблюдено:
- Текущий каталог содержит файл `shard.yml`
- Текущий каталог содержит файл `.cr`
@@ -601,34 +601,34 @@ The `dart` module shows the currently installed version of Dart. Модуль б
format = "via [🔰 $version](bold red) "
```
-## Directory
+## Каталог
-The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
+Модуль `directory` показывает путь к вашей текущей директории, усеченной до трех родительских папок. Ваш каталог также будет отсечен до корня git репозитория, в котором вы находитесь.
-When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
+При использовании стиля оболочки fish, вместо скрытия усеченного каталога, вы увидите укороченное имя каталога, зависимое от числа символов вы установите для этой опции.
-For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
+Например, возьмем `~/Dev/Nix/nixpkgs/pkgs` где `nixpkgs` является корневым репозиторием, и в опции установлено `1`. Вы увидите `~/D/N/nixpkgs/pkgs`, а до этого было бы `nixpkgs/pkgs`.
### Опции
-| Переменная | По умолчанию | Описание |
-| ------------------------ | ----------------------------------------------- | -------------------------------------------------------------------------------- |
-| `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)[$lock_symbol]($lock_style) "` | The format for the module. |
-| `style` | `"bold cyan"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `directory` module. |
-| `read_only_symbol` | `"🔒"` | The symbol indicating current directory is read only. |
-| `read_only_symbol_style` | `"red"` | The style for the read only symbol. |
+| Переменная | По умолчанию | Описание |
+| ------------------- | -------------------------------------------------- | ---------------------------------------------------------------------------- |
+| `truncation_length` | `3` | Количество родительских папок, к которым должен быть усечен текущий каталог. |
+| `truncate_to_repo` | `true` | Следует или нет обрезать до корня репозитория git, в котором вы находитесь. |
+| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | The format for the module. |
+| `style` | `"bold cyan"` | Стиль модуля. |
+| `disabled` | `false` | Отключает модуль `directory`. |
+| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
+| `read_only_style` | `"red"` | The style for the read only symbol. |
<details>
-<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
+<summary>Этот модуль имеет несколько расширенных опций конфигурации, которые контролируют отображение каталога.</summary>
-| Advanced Option | По умолчанию | Описание |
-| --------------------------- | ------------ | ---------------------------------------------------------------------------------------- |
-| `substitutions` | | A table of substitutions to be made to the path. |
-| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
-| `use_logical_path` | `true` | Displays the logical path provided by the shell (`PWD`) instead of the path from the OS. |
+| Advanced Option | По умолчанию | Описание |
+| --------------------------- | ------------ | --------------------------------------------------------------------------------- |
+| `substitutions` | | A table of substitutions to be made to the path. |
+| `fish_style_pwd_dir_length` | `0` | Количество символов, используемых при использовании логики создания пути из fish. |
+| `use_logical_path` | `true` | Отображает логический путь от оболочки (`PWD`) вместо пути от ОС. |
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories (i.e. Java). Note that this will disable the fish style PWD.
@@ -638,7 +638,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
"src/com/long/java/path" = "mypath"
```
-`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`.
+`fish_style_pwd_dir_length` взаимодействует со стандартными параметрами усечения, которые могут сначала показаться странными: если он не равен нулю, элементы пути, который обычно усекается, вместо этого отображаются с указанным количеством символов. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`.
</details>
@@ -660,9 +660,9 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
truncation_length = 8
```
-## Docker Context
+## Контекст Docker
-The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
+Модуль `docker_context` показывает текущий активный [контекст Docker](https://docs.docker.com/engine/context/working-with-contexts/), если он не установлен как `default`.
### Опции
@@ -695,7 +695,7 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-The `dotnet` module shows the relevant version of the .NET Core SDK for the current directory. If the SDK has been pinned in the current directory, the pinned version is shown. Otherwise the module shows the latest installed version of the SDK.
+Модуль `dotnet` показывает соответствующую версию .NET Core SDK для текущего каталога. Если SDK был закреплен в текущей директории, будет показана закрепленная версия. В противном случае модуль отображает последнюю установленную версию SDK.
This module will only be shown in your prompt when one or more of the following files are present in the current directory:
@@ -711,19 +711,19 @@ This module will only be shown in your prompt when one or more of the following
You'll also need the .NET Core SDK installed in order to use it correctly.
-Internally, this module uses its own mechanism for version detection. Typically it is twice as fast as running `dotnet --version`, but it may show an incorrect version if your .NET project has an unusual directory layout. If accuracy is more important than speed, you can disable the mechanism by setting `heuristic = false` in the module options.
+Внутренне этот модуль использует свой собственный механизм определения версий. Обычно он в два раза быстрее, чем `dotnet --version`, но он может показывать неправильную версию, если ваш .NET проект имеет необычный формат каталога. Если точность важнее, чем скорость, вы можете отключить механизм опцией `heuristic = false` в настройках модуля.
The module will also show the Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) when there is a csproj file in the current directory.
### Опции
-| Option | По умолчанию | Описание |
-| ----------- | ---------------------------------------- | -------------------------------------------------------- |
-| `format` | `"v[$symbol$version( 🎯 $tfm)]($style) "` | The format for the module. |
-| `symbol` | `"•NET "` | The symbol used before displaying the version of dotnet. |
-| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `dotnet` module. |
+| Option | По умолчанию | Описание |
+| ----------- | ---------------------------------------- | ----------------------------------------------------------------- |
+| `format` | `"v[$symbol$version( 🎯 $tfm)]($style) "` | The format for the module. |
+| `symbol` | `"•NET "` | Символ перед отображением текущей версии dotnet. |
+| `heuristic` | `true` | Использовать быстрое определение версии, для сохранения скорости. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `disabled` | `false` | Отключает модуль `dotnet`. |
### Variables
@@ -749,18 +749,18 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `elixir` показывает установленную версию Elixir и Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
-- The current directory contains a `mix.exs` file.
+- Текущий каталог содержит файл `mix.exs`.
### Опции
-| Option | По умолчанию | Описание |
-| ---------- | ------------------------------------------------------------- | --------------------------------------------------------------- |
-| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
-| `style` | `"bold purple"` | Стиль модуля. |
-| `format` | `"via [$symbol$version \\(OTP $otp_version\\)]($style) "` | The format for the module elixir. |
-| `disabled` | `false` | Disables the `elixir` module. |
+| Option | По умолчанию | Описание |
+| ---------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
+| `symbol` | `"💧 "` | Символ, используемый перед отображением версии Elixir/Erlang. |
+| `style` | `"bold purple"` | Стиль модуля. |
+| `format` | `"via [$symbol$version \\(OTP $otp_version\\)]($style) "` | The format for the module elixir. |
+| `disabled` | `false` | Отключает модуль `elixir`. |
### Variables
@@ -784,13 +784,13 @@ symbol = "🔮 "
## Elm
-The `elm` module shows the currently installed version of Elm. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `elm` показывает установленную версию Elm. Модуль будет показан, если любое из следующих условий соблюдено:
-- The current directory contains a `elm.json` file
-- The current directory contains a `elm-package.json` file
-- The current directory contains a `.elm-version` file
-- The current directory contains a `elm-stuff` folder
-- The current directory contains a `*.elm` files
+- Текущий каталог содержит файл `elm.json`
+- Текущий каталог содержит файл `elm-package.json`
+- Текущий каталог содержит файл `.elm-version`
+- Текущий каталог содержит папку `elm-stuff`
+- Текущий каталог содержит файлы `*.elm`
### Опции
@@ -799,7 +799,7 @@ The `elm` module shows the currently installed version of Elm. Модуль бу
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
| `style` | `"cyan bold"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `elm` module. |
+| `disabled` | `false` | Отключает модуль `elm`. |
### Variables
@@ -820,22 +820,22 @@ The `elm` module shows the currently installed version of Elm. Модуль бу
format = "via [ $version](cyan bold) "
```
-## Environment Variable
+## Переменная Окружения
-The `env_var` module displays the current value of a selected environment variable. The module will be shown only if any of the following conditions are met:
+Модуль `env_var` отображает текущее значение выбранной переменной окружения. Модуль будет показан только в том случае, если любое из следующих условий соблюдено:
-- The `variable` configuration option matches an existing environment variable
-- The `variable` configuration option is not defined, but the `default` configuration option is
+- Опция `variable` соответствует существующей переменной среды
+- Опция `variable` не определена, но определена опция `default`
### Опции
-| Option | По умолчанию | Описание |
-| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
-| `symbol` | | The symbol used before displaying the variable value. |
-| `variable` | | The environment variable to be displayed. |
-| `default` | | The default value to be displayed when the selected variable is not defined. |
-| `format` | `"with [$env_value]($style) "` | The format for the module. |
-| `disabled` | `false` | Disables the `env_var` module. |
+| Option | По умолчанию | Описание |
+| ---------- | ------------------------------ | ---------------------------------------------------------------- |
+| `symbol` | | Символ, используемый перед отображением значения переменной. |
+| `variable` | | Отображаемая переменная окружения. |
+| `default` | | Значение отображаемое, когда выбранная переменная не определена. |
+| `format` | `"with [$env_value]($style) "` | The format for the module. |
+| `disabled` | `false` | Отключает модуль `env_var`. |
### Variables
@@ -861,8 +861,8 @@ default = "unknown shell"
The `erlang` module shows the currently installed version of Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
-- The current directory contains a `rebar.config` file.
-- The current directory contains a `erlang.mk` file.
+- Текущий каталог содержит файл `rebar.config`.
+- Текущий каталог содержит файл `erlang.mk`.
### Опции
@@ -952,20 +952,20 @@ us-central1 = "uc1"
asia-northeast1 = "an1"
```
-## Git Branch
+## Ветвь Git
-The `git_branch` module shows the active branch of the repo in your current directory.
+Модуль `git_branch` показывает активную ветку репозитория в вашем текущей директории.
### Опции
-| Option | По умолчанию | Описание |
-| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- |
-| `format` | `"on [$symbol$branch]($style) "` | The format for the module. Use `"$branch"` to refer to the current branch name. |
-| `symbol` | `" "` | A format string representing the symbol of git branch. |
-| `style` | `"bold purple"` | Стиль модуля. |
-| `truncation_length` | `2^63 - 1` | Truncates a git branch to X graphemes. |
-| `truncation_symbol` | `"…"` | The symbol used to indicate a branch name was truncated. You can use `""` for no symbol. |
-| `disabled` | `false` | Disables the `git_branch` module. |
+| Option | По умолчанию | Описание |
+| ------------------- | -------------------------------- | --------------------------------------------------------------------------------------------- |
+| `format` | `"on [$symbol$branch]($style) "` | The format for the module. Use `"$branch"` to refer to the current branch name. |
+| `symbol` | `" "` | A format string representing the symbol of git branch. |
+| `style` | `"bold purple"` | Стиль модуля. |
+| `truncation_length` | `2^63 - 1` | Отрезает ветку git до X графемов. |
+| `truncation_symbol` | `"…"` | Символ, используемый для обозначения усечения названия ветки. You can use `""` for no symbol. |
+| `disabled` | `false` | Отключает модуль `git_branch`. |
### Variables
@@ -988,19 +988,19 @@ truncation_length = 4
truncation_symbol = ""
```
-## Git Commit
+## Коммит Git
-The `git_commit` module shows the current commit hash of the repo in your current directory.
+Модуль `git_commit` показывает хэш текущего коммита репозитория в вашем текущем каталоге.
### Опции
-| Option | По умолчанию | Описание |
-| -------------------- | ------------------------------ | ----------------------------------------------------- |
-| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
-| `format` | `"[\\($hash\\)]($style) "` | The format for the module. |
-| `style` | `"bold green"` | Стиль модуля. |
-| `only_detached` | `true` | Only show git commit hash when in detached HEAD state |
-| `disabled` | `false` | Disables the `git_commit` module. |
+| Option | По умолчанию | Описание |
+| -------------------- | ------------------------------ | ----------------------------------------------------------------------- |
+| `commit_hash_length` | `7` | Длина отображаемого хэша коммита git. |
+| `format` | `"[\\($hash\\)]($style) "` | The format for the module. |
+| `style` | `"bold green"` | Стиль модуля. |
+| `only_detached` | `true` | Показывать хэш коммита git, только находясь в состоянии отделённой HEAD |
+| `disabled` | `false` | Отключает модуль `git_commit`. |
### Variables
@@ -1020,9 +1020,9 @@ The `git_commit` module shows the current commit hash of the repo in your curren
commit_hash_length = 4
```
-## Git State
+## Состояние Git
-The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too.
+Модуль `git_state` будет отображаться в директориях, являющимися частью репозитория git, и там, где выполняется операция, такие как: _REBASING_, _BISECTING_, и т. д. Если есть информация о прогрессе (например, REBASING 3/10), эта информация также будет показана.
### Опции
@@ -1037,7 +1037,7 @@ The `git_state` module will show in directories which are part of a git reposito
| `am_or_rebase` | `"AM/REBASE"` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. |
| `style` | `"bold yellow"` | Стиль модуля. |
| `format` | `"\\([$state( $progress_current/$progress_total)]($style)\\) "` | The format for the module. |
-| `disabled` | `false` | Disables the `git_state` module. |
+| `disabled` | `false` | Отключает модуль `git_state`. |
### Variables
@@ -1060,16 +1060,16 @@ format = "[\\($state( $progress_current of $progress_total)\\)]($style) "
cherry_pick = "[🍒 PICKING](bold red)"
```
-## Git Status
+## Статус Git
-The `git_status` module shows symbols representing the state of the repo in your current directory.
+Модуль `git_status` отображает символы, представляющие состояние репозитория в вашей текущей директории.
### Опции
| Option | По умолчанию | Описание |
| ------------ | --------------------------------------------- | ----------------------------------- |
| `format` | `"[\[$all_status$ahead_behind\]]($style) "` | The default format for `git_status` |
-| `conflicted` | `"="` | This branch has merge conflicts. |
+| `conflicted` | `"="` | Эта ветка имеет конфликты слияния. |
| `ahead` | `"⇡"` | The format of `ahead` |
| `behind` | `"⇣"` | The format of `behind` |
| `diverged` | `"⇕"` | The format of `diverged` |
@@ -1080,7 +1080,7 @@ The `git_status` module shows symbols representing the state of the repo in your
| `renamed` | `"»"` | The format of `renamed` |
| `deleted` | `"✘"` | The format of `deleted` |
| `style` | `"bold red"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `git_status` module. |
+| `disabled` | `false` | Отключает модуль `git_status`. |
### Variables
@@ -1110,9 +1110,9 @@ The following variables can be used in `diverged`:
The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`:
-| Переменная | Описание |
-| ---------- | ------------------------ |