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.md592
1 files changed, 360 insertions, 232 deletions
diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md
index bf8657ab2..becf3a4ab 100644
--- a/docs/ru-RU/config/README.md
+++ b/docs/ru-RU/config/README.md
@@ -21,16 +21,16 @@ symbol = "➜" # Сегменту "symbol" присваеваем знач
disabled = true
```
-Вы можете изменить расположение файла `starship.toml` переменной окружения `STARSHIP_CONFIG`:
+You can change default configuration file location with `STARSHIP_CONFIG` environment variable:
```sh
-export STARSHIP_CONFIG=~/.starship
+export STARSHIP_CONFIG=~/.starship/config.toml
```
Аналогично в PowerShell (Windows) следует добавить эту строку в `$PROFILE`:
```powershell
-$ENV:STARSHIP_CONFIG = "$HOME\.starship"
+$ENV:STARSHIP_CONFIG = "$HOME\.starship\config.toml"
```
### Логгирование (Запись действий)
@@ -227,6 +227,7 @@ $jobs\
$battery\
$time\
$status\
+$shell\
$character"""
```
@@ -423,19 +424,22 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of CMake if any of the following conditions are met:
+The `cmake` module shows the currently installed version of CMake. By default the module will be activated if any of the following conditions are met:
- The current directory contains a `CMakeLists.txt` file
- The current directory contains a `CMakeCache.txt` file
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | -------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `cmake` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | -------------------------------------- | -------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
+| `detect_extensions` | `[]` | Which extensions should trigger this moudle |
+| `detect_files` | `["CMakeLists.txt", "CMakeCache.txt"]` | Which filenames should trigger this module |
+| `detect_folders` | `[]` | Which folders should trigger this module |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `cmake` module. |
### Переменные
@@ -538,19 +542,22 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-Модуль `crystal` показывает установленную версию Crystal. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `crystal` показывает установленную версию Crystal. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `shard.yml`
- Текущий каталог содержит файл `.cr`
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ------------------------------------------------------- |
-| `symbol` | `"🔮 "` | Символ, используемый перед отображением версии crystal. |
-| `style` | `"bold red"` | Стиль модуля. |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `disabled` | `false` | Отключает модуль `crystal`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | ------------------------------------------------------- |
+| `symbol` | `"🔮 "` | Символ, используемый перед отображением версии crystal. |
+| `style` | `"bold red"` | Стиль модуля. |
+| `detect_extensions` | `["cr"]` | Which extensions should trigger this module. |
+| `detect_files` | `["shard.yml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `disabled` | `false` | Disables the `crystal` module. |
### Переменные
@@ -573,20 +580,23 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of Dart. Модуль будет показан, если любое из следующих условий соблюдено:
+The `dart` module shows the currently installed version of Dart. By default the module will be shown if any of the following conditions are met:
- The current directory contains a file with `.dart` extension
- The current directory contains a `.dart_tool` directory
-- The current directory contains a `pubspec.yaml` or `pubspec.lock` file
+- The current directory contains a `pubspec.yaml`, `pubspec.yml` or `pubspec.lock` file
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `dart` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
+| `detect_extensions` | `['dart']` | Which extensions should trigger this moudle. |
+| `detect_files` | `["pubspec.yaml", "pubspec.yml", "pubspec.lock"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[".dart_tool"]` | Which folders should trigger this module. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `dart` module. |
### Переменные
@@ -632,11 +642,11 @@ format = "via [🔰 $version](bold red) "
<details>
<summary>Этот модуль имеет несколько расширенных опций конфигурации, которые контролируют отображение каталога.</summary>
-| 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`) вместо пути от ОС. |
+| Advanced Option | По умолчанию | Описание |
+| --------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `substitutions` | | A table of substitutions to be made to the path. |
+| `fish_style_pwd_dir_length` | `0` | Количество символов, используемых при использовании логики создания пути из fish. |
+| `use_logical_path` | `true` | If `true` render the logical path sourced from the shell via `PWD` or `--logical-path`. If `false` instead render the physical filesystem path with symlinks resolved. |
`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.
@@ -675,13 +685,16 @@ truncation_symbol = "…/"
### Опции
-| Параметр | По умолчанию | Описание |
-| ----------------- | ---------------------------------- | --------------------------------------------------------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | Формат модуля. |
-| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
-| `style` | `"blue bold"` | Стиль модуля. |
-| `only_with_files` | `true` | Only show when there's a `docker-compose.yml`, `docker-compose.yaml`, or `Dockerfile` in the current directory. |
-| `disabled` | `false` | Disables the `docker_context` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$context]($style) "` | Формат модуля. |
+| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
+| `only_with_files` | `true` | Only show when there's a match |
+| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
+| `detect_files` | `["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]` | Which filenames should trigger this module (needs `only_with_files` to be true). |
+| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
+| `style` | `"blue bold"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `docker_context` module. |
### Переменные
@@ -706,7 +719,7 @@ format = "via [🐋 $context](blue bold)"
Модуль `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:
+By default this module will only be shown in your prompt when one or more of the following files are present in the current directory:
- `global.json`
- `project.json`
@@ -726,13 +739,16 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
### Опции
-| Параметр | По умолчанию | Описание |
-| ----------- | ----------------------------------------- | ----------------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | Формат модуля. |
-| `symbol` | `"•NET "` | Символ перед отображением текущей версии dotnet. |
-| `heuristic` | `true` | Использовать быстрое определение версии, для сохранения скорости. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `dotnet`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
+| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | Формат модуля. |
+| `symbol` | `"•NET "` | Символ перед отображением текущей версии dotnet. |
+| `heuristic` | `true` | Использовать быстрое определение версии, для сохранения скорости. |
+| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
+| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `dotnet` module. |
### Переменные
@@ -758,18 +774,21 @@ heuristic = false
## Elixir
-Модуль `elixir` показывает установленную версию Elixir и Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `elixir` показывает установленную версию Elixir и Erlang/OTP. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `mix.exs`.
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ----------------------------------------------------------- | ------------------------------------------------------------- |
-| `symbol` | `"💧 "` | Символ, используемый перед отображением версии Elixir/Erlang. |
-| `style` | `"bold purple"` | Стиль модуля. |
-| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
-| `disabled` | `false` | Отключает модуль `elixir`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------- |
+| `symbol` | `"💧 "` | Символ, используемый перед отображением версии Elixir/Erlang. |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["mix.exs"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `style` | `"bold purple"` | Стиль модуля. |
+| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
+| `disabled` | `false` | Disables the `elixir` module. |
### Переменные
@@ -793,7 +812,7 @@ symbol = "🔮 "
## Elm
-Модуль `elm` показывает установленную версию Elm. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `elm` показывает установленную версию Elm. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `elm.json`
- Текущий каталог содержит файл `elm-package.json`
@@ -803,12 +822,15 @@ symbol = "🔮 "
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
-| `style` | `"cyan bold"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `elm`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | -------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
+| `detect_extensions` | `["elm"]` | Which extensions should trigger this module. |
+| `detect_files` | `["elm.json", "elm-package.json", ".elm-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["elm-stuff"]` | Which folders should trigger this modules. |
+| `style` | `"cyan bold"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `elm` module. |
### Переменные
@@ -868,19 +890,22 @@ default = "unknown shell"
## Erlang
-The `erlang` module shows the currently installed version of Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
+The `erlang` module shows the currently installed version of Erlang/OTP. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `rebar.config`.
- Текущий каталог содержит файл `erlang.mk`.
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | -------------------------------------------------------- |
-| `symbol` | `" "` | The symbol used before displaying the version of erlang. |
-| `style` | `"bold red"` | Стиль модуля. |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `disabled` | `false` | Disables the `erlang` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | -------------------------------------------------------- |
+| `symbol` | `" "` | The symbol used before displaying the version of erlang. |
+| `style` | `"bold red"` | Стиль модуля. |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["rebar.config", "elang.mk"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `disabled` | `false` | Disables the `erlang` module. |
### Переменные
@@ -1161,7 +1186,7 @@ behind = "⇣${count}"
## Golang
-Модуль `golang` показывает установленную версию Golang. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `golang` показывает установленную версию Golang. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `go.mod`
- Текущий каталог содержит файл `go.sum`
@@ -1174,12 +1199,15 @@ behind = "⇣${count}"
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ---------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"🐹 "` | A format string representing the symbol of Go. |
-| `style` | `"bold cyan"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `golang`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------------------------------------------------ | ---------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `symbol` | `"🐹 "` | A format string representing the symbol of Go. |
+| `detect_extensions` | `["go"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["go.mod", "go.sum", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["Godeps"]` | Which folders should trigger this module. |
+| `style` | `"bold cyan"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `golang` module. |
### Переменные
@@ -1202,19 +1230,22 @@ format = "via [🏎💨 $version](bold cyan) "
## Helm
-The `helm` module shows the currently installed version of Helm. Модуль будет показан, если любое из следующих условий соблюдено:
+The `helm` module shows the currently installed version of Helm. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `helmfile.yaml`
- The current directory contains a `Chart.yaml` file
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ------------------------------------------------ |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"⎈ "` | A format string representing the symbol of Helm. |
-| `style` | `"bold white"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `helm` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | ------------------------------------------------ |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["helmfile.yaml", "Chart.yaml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"⎈ "` | A format string representing the symbol of Helm. |
+| `style` | `"bold white"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `helm` module. |
### Переменные
@@ -1272,19 +1303,22 @@ disabled = false
## Java
-Модуль `java` показывает установленную версию Java. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `java` показывает установленную версию Java. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `.deps.edn`, `project.clj`, or `build.boot` file
- The current directory contains a file with the `.java`, `.class`, `.gradle`, `.jar`, `.clj`, or `.cljc` extension
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ---------------------------------------- | ----------------------------------------------- |
-| `format` | `"via [${symbol}(${version} )]($style)"` | Формат модуля. |
-| `symbol` | `"☕ "` | A format string representing the symbol of Java |
-| `style` | `"red dimmed"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `java`. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [${symbol}(${version} )]($style)"` | Формат модуля. |
+| `detect_extensions` | `["java", "class", "gradle", "jar", "cljs", "cljc"]` | Which extensions should trigger this module. |
+| `detect_files` | `["pom.xml", "build.gradle.kts", "build.sbt", ".java-version", ".deps.edn", "project.clj", "build.boot"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"☕ "` | A format string representing the symbol of Java |
+| `style` | `"red dimmed"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `java` module. |
### Переменные
@@ -1341,7 +1375,7 @@ threshold = 4
## Julia
-The `julia` module shows the currently installed version of Julia. Модуль будет показан, если любое из следующих условий соблюдено:
+The `julia` module shows the currently installed version of Julia. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `Project.toml` file
- The current directory contains a `Manifest.toml` file
@@ -1349,12 +1383,15 @@ The `julia` module shows the currently installed version of Julia. Модуль
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"ஃ "` | A format string representing the symbol of Julia. |
-| `style` | `"bold purple"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `julia` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | ------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `detect_extensions` | `["jl"]` | Which extensions should trigger this module. |
+| `detect_files` | `["Project.toml", "Manifest.toml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"ஃ "` | A format string representing the symbol of Julia. |
+| `style` | `"bold purple"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `julia` module. |
### Переменные
@@ -1377,19 +1414,22 @@ symbol = "∴ "
## Kotlin
-The `kotlin` module shows the currently installed version of Kotlin. Модуль будет показан, если любое из следующих условий соблюдено:
+The `kotlin` module shows the currently installed version of Kotlin. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `.kt` or a `.kts` file
### Опции
-| Параметр | По умолчанию | Описание |
-| --------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"🅺 "` | A format string representing the symbol of Kotlin. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `kotlin_binary` | `"kotlin"` | Configures the kotlin binary that Starship executes when getting the version. |
-| `disabled` | `false` | Disables the `kotlin` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `detect_extensions` | `["kt", "kts"]` | Which extensions should trigger this module. |
+| `detect_files` | `[]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"🅺 "` | A format string representing the symbol of Kotlin. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `kotlin_binary` | `"kotlin"` | Configures the kotlin binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `kotlin` module. |
### Переменные
@@ -1482,7 +1522,7 @@ disabled = true
## Lua
-The `lua` module shows the currently installed version of Lua. Модуль будет показан, если любое из следующих условий соблюдено:
+The `lua` module shows the currently installed version of Lua. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `.lua-version` file
- The current directory contains a `lua` directory
@@ -1490,13 +1530,16 @@ The `lua` module shows the currently installed version of Lua. Модуль бу
### Опции
-| Параметр | По умолчанию | Описание |
-| ------------ | ------------------------------------ | -------------------------------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
-| `symbol` | `"🌙 "` | A format string representing the symbol of Lua. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `lua_binary` | `"lua"` | Configures the lua binary that Starship executes when getting the version. |
-| `disabled` | `false` | Disables the `lua` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | -------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
+| `symbol` | `"🌙 "` | A format string representing the symbol of Lua. |
+| `detect_extensions` | `["lua"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `[".lua-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["lua"]` | Which folders should trigger this module. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `lua_binary` | `"lua"` | Configures the lua binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `lua` module. |
### Переменные
@@ -1602,7 +1645,7 @@ truncation_symbol = ""
## Nim
-The `nim` module shows the currently installed version of Nim. Модуль будет показан, если любое из следующих условий соблюдено:
+The `nim` module shows the currently installed version of Nim. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `nim.cfg`
- The current directory contains a file with the `.nim` extension
@@ -1611,12 +1654,15 @@ The `nim` module shows the currently installed version of Nim. Модуль бу
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------------ | ----------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | Формат модуля |
-| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
-| `style` | `"bold yellow"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `nim` module. |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ------------------------------------ | ----------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | Формат модуля |
+| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
+| `detect_extensions` | `["nim", "nims", "nimble"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["nim.cfg"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"bold yellow"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `nim` module. |
### Переменные
@@ -1678,7 +1724,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) '
## NodeJS
-Модуль `nodejs` показывает установленную версию NodeJS. Модуль будет показан, если любое из следующих условий соблюдено:
+Модуль `nodejs` показывает установленную версию NodeJS. By default the module will be shown if any of the following conditions are met:
- Текущий каталог содержит файл `package.json`
- The current directory contains a `.node-version` file
@@ -1692,8 +1738,11 @@ format = 'via [☃️ $state( \($name\))](bold blue) '
| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------- |
| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. |
| `symbol` | `"⬢ "` | A format string representing the symbol of NodeJS. |
+| `detect_extensions` | `["js", "mjs", "cjs", "ts"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["package.json", ".node-version"]` | Which filenames should trigger this module. |