From 7a8c103749831433b2ade3c324ca4441c1a8fc24 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 11 Apr 2023 13:05:27 +0900 Subject: [PATCH] docs(i18n): new Crowdin updates (#4956) --- docs/ar-SA/config/README.md | 8 +- docs/ar-SA/guide/README.md | 1 - docs/ar-SA/presets/bracketed-segments.md | 2 +- docs/ar-SA/presets/nerd-font.md | 2 +- docs/ar-SA/presets/no-empty-icons.md | 2 +- docs/ar-SA/presets/no-nerd-font.md | 2 +- docs/ar-SA/presets/no-runtimes.md | 2 +- docs/ar-SA/presets/pastel-powerline.md | 2 +- docs/ar-SA/presets/plain-text.md | 2 +- docs/ar-SA/presets/pure-preset.md | 2 +- docs/ar-SA/presets/tokyo-night.md | 2 +- docs/ckb-IR/config/README.md | 6 +- docs/ckb-IR/guide/README.md | 1 - docs/ckb-IR/presets/bracketed-segments.md | 2 +- docs/ckb-IR/presets/nerd-font.md | 2 +- docs/ckb-IR/presets/no-empty-icons.md | 2 +- docs/ckb-IR/presets/no-nerd-font.md | 2 +- docs/ckb-IR/presets/no-runtimes.md | 2 +- docs/ckb-IR/presets/pastel-powerline.md | 2 +- docs/ckb-IR/presets/plain-text.md | 2 +- docs/ckb-IR/presets/pure-preset.md | 2 +- docs/ckb-IR/presets/tokyo-night.md | 2 +- docs/de-DE/config/README.md | 8 +- docs/de-DE/guide/README.md | 1 - docs/de-DE/migrating-to-0.45.0/README.md | 20 +- docs/de-DE/presets/bracketed-segments.md | 2 +- docs/de-DE/presets/nerd-font.md | 2 +- docs/de-DE/presets/no-empty-icons.md | 2 +- docs/de-DE/presets/no-nerd-font.md | 2 +- docs/de-DE/presets/no-runtimes.md | 2 +- docs/de-DE/presets/pastel-powerline.md | 2 +- docs/de-DE/presets/plain-text.md | 2 +- docs/de-DE/presets/pure-preset.md | 2 +- docs/de-DE/presets/tokyo-night.md | 2 +- docs/es-ES/advanced-config/README.md | 32 +- docs/es-ES/config/README.md | 58 +- docs/es-ES/guide/README.md | 3 +- docs/es-ES/presets/bracketed-segments.md | 2 +- docs/es-ES/presets/nerd-font.md | 2 +- docs/es-ES/presets/no-empty-icons.md | 2 +- docs/es-ES/presets/no-nerd-font.md | 2 +- docs/es-ES/presets/no-runtimes.md | 2 +- docs/es-ES/presets/pastel-powerline.md | 2 +- docs/es-ES/presets/plain-text.md | 2 +- docs/es-ES/presets/pure-preset.md | 2 +- docs/es-ES/presets/tokyo-night.md | 2 +- docs/fr-FR/config/README.md | 6 +- docs/fr-FR/guide/README.md | 7 +- docs/fr-FR/presets/bracketed-segments.md | 2 +- docs/fr-FR/presets/nerd-font.md | 2 +- docs/fr-FR/presets/no-empty-icons.md | 2 +- docs/fr-FR/presets/no-nerd-font.md | 2 +- docs/fr-FR/presets/no-runtimes.md | 2 +- docs/fr-FR/presets/pastel-powerline.md | 2 +- docs/fr-FR/presets/plain-text.md | 2 +- docs/fr-FR/presets/pure-preset.md | 2 +- docs/fr-FR/presets/tokyo-night.md | 2 +- docs/id-ID/config/README.md | 8 +- docs/id-ID/guide/README.md | 1 - docs/id-ID/presets/bracketed-segments.md | 2 +- docs/id-ID/presets/nerd-font.md | 2 +- docs/id-ID/presets/no-empty-icons.md | 2 +- docs/id-ID/presets/no-nerd-font.md | 2 +- docs/id-ID/presets/no-runtimes.md | 2 +- docs/id-ID/presets/pastel-powerline.md | 2 +- docs/id-ID/presets/plain-text.md | 2 +- docs/id-ID/presets/pure-preset.md | 2 +- docs/id-ID/presets/tokyo-night.md | 2 +- docs/it-IT/config/README.md | 8 +- docs/it-IT/guide/README.md | 1 - docs/it-IT/presets/bracketed-segments.md | 2 +- docs/it-IT/presets/nerd-font.md | 2 +- docs/it-IT/presets/no-empty-icons.md | 2 +- docs/it-IT/presets/no-nerd-font.md | 2 +- docs/it-IT/presets/no-runtimes.md | 2 +- docs/it-IT/presets/pastel-powerline.md | 2 +- docs/it-IT/presets/plain-text.md | 2 +- docs/it-IT/presets/pure-preset.md | 2 +- docs/it-IT/presets/tokyo-night.md | 2 +- docs/ja-JP/config/README.md | 18 +- docs/ja-JP/guide/README.md | 1 - docs/ja-JP/presets/bracketed-segments.md | 2 +- docs/ja-JP/presets/nerd-font.md | 2 +- docs/ja-JP/presets/no-empty-icons.md | 2 +- docs/ja-JP/presets/no-nerd-font.md | 2 +- docs/ja-JP/presets/no-runtimes.md | 2 +- docs/ja-JP/presets/pastel-powerline.md | 2 +- docs/ja-JP/presets/plain-text.md | 2 +- docs/ja-JP/presets/pure-preset.md | 2 +- docs/ja-JP/presets/tokyo-night.md | 2 +- docs/ko-KR/config/README.md | 6 +- docs/ko-KR/guide/README.md | 1 - docs/ko-KR/presets/bracketed-segments.md | 2 +- docs/ko-KR/presets/nerd-font.md | 2 +- docs/ko-KR/presets/no-empty-icons.md | 2 +- docs/ko-KR/presets/no-nerd-font.md | 2 +- docs/ko-KR/presets/no-runtimes.md | 2 +- docs/ko-KR/presets/pastel-powerline.md | 2 +- docs/ko-KR/presets/plain-text.md | 2 +- docs/ko-KR/presets/pure-preset.md | 2 +- docs/ko-KR/presets/tokyo-night.md | 2 +- docs/nl-NL/config/README.md | 6 +- docs/nl-NL/guide/README.md | 1 - docs/nl-NL/presets/bracketed-segments.md | 2 +- docs/nl-NL/presets/nerd-font.md | 2 +- docs/nl-NL/presets/no-empty-icons.md | 2 +- docs/nl-NL/presets/no-nerd-font.md | 2 +- docs/nl-NL/presets/no-runtimes.md | 2 +- docs/nl-NL/presets/pastel-powerline.md | 2 +- docs/nl-NL/presets/plain-text.md | 2 +- docs/nl-NL/presets/pure-preset.md | 2 +- docs/nl-NL/presets/tokyo-night.md | 2 +- docs/no-NO/config/README.md | 6 +- docs/no-NO/guide/README.md | 1 - docs/no-NO/presets/bracketed-segments.md | 2 +- docs/no-NO/presets/nerd-font.md | 2 +- docs/no-NO/presets/no-empty-icons.md | 2 +- docs/no-NO/presets/no-nerd-font.md | 2 +- docs/no-NO/presets/no-runtimes.md | 2 +- docs/no-NO/presets/pastel-powerline.md | 2 +- docs/no-NO/presets/plain-text.md | 2 +- docs/no-NO/presets/pure-preset.md | 2 +- docs/no-NO/presets/tokyo-night.md | 2 +- docs/pl-PL/config/README.md | 6 +- docs/pl-PL/guide/README.md | 1 - docs/pl-PL/presets/bracketed-segments.md | 2 +- docs/pl-PL/presets/nerd-font.md | 2 +- docs/pl-PL/presets/no-empty-icons.md | 2 +- docs/pl-PL/presets/no-nerd-font.md | 2 +- docs/pl-PL/presets/no-runtimes.md | 2 +- docs/pl-PL/presets/pastel-powerline.md | 2 +- docs/pl-PL/presets/plain-text.md | 2 +- docs/pl-PL/presets/pure-preset.md | 2 +- docs/pl-PL/presets/tokyo-night.md | 2 +- docs/pt-BR/config/README.md | 6 +- docs/pt-BR/guide/README.md | 1 - docs/pt-BR/presets/bracketed-segments.md | 2 +- docs/pt-BR/presets/nerd-font.md | 2 +- docs/pt-BR/presets/no-empty-icons.md | 2 +- docs/pt-BR/presets/no-nerd-font.md | 2 +- docs/pt-BR/presets/no-runtimes.md | 2 +- docs/pt-BR/presets/pastel-powerline.md | 2 +- docs/pt-BR/presets/plain-text.md | 2 +- docs/pt-BR/presets/pure-preset.md | 2 +- docs/pt-BR/presets/tokyo-night.md | 2 +- docs/pt-PT/config/README.md | 6 +- docs/pt-PT/guide/README.md | 1 - docs/pt-PT/presets/bracketed-segments.md | 2 +- docs/pt-PT/presets/nerd-font.md | 2 +- docs/pt-PT/presets/no-empty-icons.md | 2 +- docs/pt-PT/presets/no-nerd-font.md | 2 +- docs/pt-PT/presets/no-runtimes.md | 2 +- docs/pt-PT/presets/pastel-powerline.md | 2 +- docs/pt-PT/presets/plain-text.md | 2 +- docs/pt-PT/presets/pure-preset.md | 2 +- docs/pt-PT/presets/tokyo-night.md | 2 +- docs/ru-RU/config/README.md | 18 +- docs/ru-RU/guide/README.md | 1 - docs/ru-RU/presets/bracketed-segments.md | 2 +- docs/ru-RU/presets/nerd-font.md | 2 +- docs/ru-RU/presets/no-empty-icons.md | 2 +- docs/ru-RU/presets/no-nerd-font.md | 2 +- docs/ru-RU/presets/no-runtimes.md | 2 +- docs/ru-RU/presets/pastel-powerline.md | 2 +- docs/ru-RU/presets/plain-text.md | 2 +- docs/ru-RU/presets/pure-preset.md | 2 +- docs/ru-RU/presets/tokyo-night.md | 2 +- docs/tr-TR/config/README.md | 6 +- docs/tr-TR/guide/README.md | 3 +- docs/tr-TR/presets/bracketed-segments.md | 2 +- docs/tr-TR/presets/nerd-font.md | 2 +- docs/tr-TR/presets/no-empty-icons.md | 2 +- docs/tr-TR/presets/no-nerd-font.md | 2 +- docs/tr-TR/presets/no-runtimes.md | 2 +- docs/tr-TR/presets/pastel-powerline.md | 2 +- docs/tr-TR/presets/plain-text.md | 2 +- docs/tr-TR/presets/pure-preset.md | 2 +- docs/tr-TR/presets/tokyo-night.md | 2 +- docs/uk-UA/README.md | 50 +- docs/uk-UA/advanced-config/README.md | 38 +- docs/uk-UA/config/README.md | 2726 +++++++++++---------- docs/uk-UA/guide/README.md | 79 +- docs/uk-UA/installing/README.md | 20 +- docs/uk-UA/presets/bracketed-segments.md | 4 +- docs/uk-UA/presets/nerd-font.md | 4 +- docs/uk-UA/presets/no-empty-icons.md | 4 +- docs/uk-UA/presets/no-nerd-font.md | 4 +- docs/uk-UA/presets/no-runtimes.md | 4 +- docs/uk-UA/presets/pastel-powerline.md | 4 +- docs/uk-UA/presets/plain-text.md | 4 +- docs/uk-UA/presets/pure-preset.md | 4 +- docs/uk-UA/presets/tokyo-night.md | 6 +- docs/vi-VN/config/README.md | 8 +- docs/vi-VN/guide/README.md | 1 - docs/vi-VN/presets/bracketed-segments.md | 2 +- docs/vi-VN/presets/nerd-font.md | 2 +- docs/vi-VN/presets/no-empty-icons.md | 2 +- docs/vi-VN/presets/no-nerd-font.md | 2 +- docs/vi-VN/presets/no-runtimes.md | 2 +- docs/vi-VN/presets/pastel-powerline.md | 2 +- docs/vi-VN/presets/plain-text.md | 2 +- docs/vi-VN/presets/pure-preset.md | 2 +- docs/vi-VN/presets/tokyo-night.md | 2 +- docs/zh-CN/advanced-config/README.md | 6 +- docs/zh-CN/config/README.md | 370 +-- docs/zh-CN/faq/README.md | 2 +- docs/zh-CN/guide/README.md | 9 +- docs/zh-CN/installing/README.md | 16 +- docs/zh-CN/migrating-to-0.45.0/README.md | 2 +- docs/zh-CN/presets/bracketed-segments.md | 2 +- docs/zh-CN/presets/nerd-font.md | 2 +- docs/zh-CN/presets/no-empty-icons.md | 2 +- docs/zh-CN/presets/no-nerd-font.md | 2 +- docs/zh-CN/presets/no-runtimes.md | 2 +- docs/zh-CN/presets/pastel-powerline.md | 2 +- docs/zh-CN/presets/plain-text.md | 2 +- docs/zh-CN/presets/pure-preset.md | 2 +- docs/zh-CN/presets/tokyo-night.md | 2 +- docs/zh-TW/README.md | 2 +- docs/zh-TW/config/README.md | 8 +- docs/zh-TW/guide/README.md | 1 - docs/zh-TW/presets/bracketed-segments.md | 2 +- docs/zh-TW/presets/nerd-font.md | 2 +- docs/zh-TW/presets/no-empty-icons.md | 2 +- docs/zh-TW/presets/no-nerd-font.md | 2 +- docs/zh-TW/presets/no-runtimes.md | 2 +- docs/zh-TW/presets/pastel-powerline.md | 2 +- docs/zh-TW/presets/plain-text.md | 2 +- docs/zh-TW/presets/pure-preset.md | 2 +- docs/zh-TW/presets/tokyo-night.md | 2 +- 230 files changed, 2018 insertions(+), 1958 deletions(-) diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index 5cb686dc..fd6bfada 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `الوصف` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/ar-SA/guide/README.md b/docs/ar-SA/guide/README.md index 542988e2..eaaad9a2 100644 --- a/docs/ar-SA/guide/README.md +++ b/docs/ar-SA/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/ar-SA/presets/bracketed-segments.md b/docs/ar-SA/presets/bracketed-segments.md index da108a37..982afb20 100644 --- a/docs/ar-SA/presets/bracketed-segments.md +++ b/docs/ar-SA/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/ar-SA/presets/nerd-font.md b/docs/ar-SA/presets/nerd-font.md index c59d28a8..afdb1107 100644 --- a/docs/ar-SA/presets/nerd-font.md +++ b/docs/ar-SA/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/ar-SA/presets/no-empty-icons.md b/docs/ar-SA/presets/no-empty-icons.md index 7be6867d..aa4a211f 100644 --- a/docs/ar-SA/presets/no-empty-icons.md +++ b/docs/ar-SA/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/ar-SA/presets/no-nerd-font.md b/docs/ar-SA/presets/no-nerd-font.md index b154a6c0..a70e85e7 100644 --- a/docs/ar-SA/presets/no-nerd-font.md +++ b/docs/ar-SA/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/ar-SA/presets/no-runtimes.md b/docs/ar-SA/presets/no-runtimes.md index a8b326cc..c0805d11 100644 --- a/docs/ar-SA/presets/no-runtimes.md +++ b/docs/ar-SA/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/ar-SA/presets/pastel-powerline.md b/docs/ar-SA/presets/pastel-powerline.md index acbd561a..a480c691 100644 --- a/docs/ar-SA/presets/pastel-powerline.md +++ b/docs/ar-SA/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/ar-SA/presets/plain-text.md b/docs/ar-SA/presets/plain-text.md index e007e8d8..1e17b4bc 100644 --- a/docs/ar-SA/presets/plain-text.md +++ b/docs/ar-SA/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/ar-SA/presets/pure-preset.md b/docs/ar-SA/presets/pure-preset.md index ae1e85fc..b75a0056 100644 --- a/docs/ar-SA/presets/pure-preset.md +++ b/docs/ar-SA/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/ar-SA/presets/tokyo-night.md b/docs/ar-SA/presets/tokyo-night.md index 883f79de..0508ae85 100644 --- a/docs/ar-SA/presets/tokyo-night.md +++ b/docs/ar-SA/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/ckb-IR/config/README.md b/docs/ckb-IR/config/README.md index f99e5cdf..fd9007ee 100644 --- a/docs/ckb-IR/config/README.md +++ b/docs/ckb-IR/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/ckb-IR/guide/README.md b/docs/ckb-IR/guide/README.md index 3401d1a1..9ad40794 100644 --- a/docs/ckb-IR/guide/README.md +++ b/docs/ckb-IR/guide/README.md @@ -418,7 +418,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/ckb-IR/presets/bracketed-segments.md b/docs/ckb-IR/presets/bracketed-segments.md index 329cc2e9..87ceda51 100644 --- a/docs/ckb-IR/presets/bracketed-segments.md +++ b/docs/ckb-IR/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### ڕێکخستن ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/ckb-IR/presets/nerd-font.md b/docs/ckb-IR/presets/nerd-font.md index d370a3be..1b4b42ca 100644 --- a/docs/ckb-IR/presets/nerd-font.md +++ b/docs/ckb-IR/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### ڕێکخستن ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/ckb-IR/presets/no-empty-icons.md b/docs/ckb-IR/presets/no-empty-icons.md index ddc80c9a..e3cef25c 100644 --- a/docs/ckb-IR/presets/no-empty-icons.md +++ b/docs/ckb-IR/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### ڕێکخستن ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/ckb-IR/presets/no-nerd-font.md b/docs/ckb-IR/presets/no-nerd-font.md index 4d9d3a72..d6b58136 100644 --- a/docs/ckb-IR/presets/no-nerd-font.md +++ b/docs/ckb-IR/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### ڕێکخستن ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/ckb-IR/presets/no-runtimes.md b/docs/ckb-IR/presets/no-runtimes.md index 00ffe3d7..b02e7599 100644 --- a/docs/ckb-IR/presets/no-runtimes.md +++ b/docs/ckb-IR/presets/no-runtimes.md @@ -9,7 +9,7 @@ ### ڕێکخستن ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/ckb-IR/presets/pastel-powerline.md b/docs/ckb-IR/presets/pastel-powerline.md index 9c479644..615f1f1f 100644 --- a/docs/ckb-IR/presets/pastel-powerline.md +++ b/docs/ckb-IR/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### ڕێکخستن ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/ckb-IR/presets/plain-text.md b/docs/ckb-IR/presets/plain-text.md index 7e0a71e5..3884ca03 100644 --- a/docs/ckb-IR/presets/plain-text.md +++ b/docs/ckb-IR/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### ڕێکخستن ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/ckb-IR/presets/pure-preset.md b/docs/ckb-IR/presets/pure-preset.md index ffc72ab5..2ac6fa21 100644 --- a/docs/ckb-IR/presets/pure-preset.md +++ b/docs/ckb-IR/presets/pure-preset.md @@ -9,7 +9,7 @@ ### ڕێکخستن ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/ckb-IR/presets/tokyo-night.md b/docs/ckb-IR/presets/tokyo-night.md index 3c1077eb..798794ea 100644 --- a/docs/ckb-IR/presets/tokyo-night.md +++ b/docs/ckb-IR/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### ڕێکخستن ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md index 940835fe..5b3b17f6 100644 --- a/docs/de-DE/config/README.md +++ b/docs/de-DE/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `beschreibung` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/de-DE/guide/README.md b/docs/de-DE/guide/README.md index a87c9875..d1dfa127 100644 --- a/docs/de-DE/guide/README.md +++ b/docs/de-DE/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/de-DE/migrating-to-0.45.0/README.md b/docs/de-DE/migrating-to-0.45.0/README.md index 6b390b4f..d9f187bd 100644 --- a/docs/de-DE/migrating-to-0.45.0/README.md +++ b/docs/de-DE/migrating-to-0.45.0/README.md @@ -85,7 +85,7 @@ format = "took [$duration]($style) " | `style_success` | `success_symbol` | | `style_failure` | `error_symbol` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [character] @@ -117,7 +117,7 @@ _Note:_ The `character` element automatically adds a space after, so unlike the | ---------------- | ----------- | | `prefix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [cmd_duration] @@ -131,7 +131,7 @@ _Note:_ The `character` element automatically adds a space after, so unlike the | ---------------- | ----------- | | `prefix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [directory] @@ -146,7 +146,7 @@ _Note:_ The `character` element automatically adds a space after, so unlike the | `prefix` | `format` | | `suffix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [env_var] @@ -162,7 +162,7 @@ _Note:_ The `character` element automatically adds a space after, so unlike the | `prefix` | `format` | | `suffix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [git_commit] @@ -179,7 +179,7 @@ _Note:_ The `character` element automatically adds a space after, so unlike the | `suffix` | `format` | | `show_sync_count` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [git_status] @@ -209,7 +209,7 @@ behind = "⇣${count}" | `prefix` | `format` | | `suffix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [hostname] @@ -226,7 +226,7 @@ behind = "⇣${count}" | `prefix` | `format` | | `suffix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [singularity] @@ -241,7 +241,7 @@ behind = "⇣${count}" | ---------------- | ------------- | | `format` | `time_format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [time] @@ -257,7 +257,7 @@ behind = "⇣${count}" | `prefix` | `format` | | `suffix` | `format` | -**Changes to the Default Configuration** +**Änderungen an der Standardkonfiguration** ```diff [custom.example] diff --git a/docs/de-DE/presets/bracketed-segments.md b/docs/de-DE/presets/bracketed-segments.md index 453aaf0f..9bd67c54 100644 --- a/docs/de-DE/presets/bracketed-segments.md +++ b/docs/de-DE/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Konfiguration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/bracketed-segments.toml) diff --git a/docs/de-DE/presets/nerd-font.md b/docs/de-DE/presets/nerd-font.md index e291ebf7..dd807432 100644 --- a/docs/de-DE/presets/nerd-font.md +++ b/docs/de-DE/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Konfiguration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/de-DE/presets/no-empty-icons.md b/docs/de-DE/presets/no-empty-icons.md index 5244f41d..5210cb9e 100644 --- a/docs/de-DE/presets/no-empty-icons.md +++ b/docs/de-DE/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Konfiguration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/no-empty-icons.toml) diff --git a/docs/de-DE/presets/no-nerd-font.md b/docs/de-DE/presets/no-nerd-font.md index 69c7dfbe..2b4b641e 100644 --- a/docs/de-DE/presets/no-nerd-font.md +++ b/docs/de-DE/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Konfiguration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/no-nerd-font.toml) diff --git a/docs/de-DE/presets/no-runtimes.md b/docs/de-DE/presets/no-runtimes.md index 2f359d75..f13cb76e 100644 --- a/docs/de-DE/presets/no-runtimes.md +++ b/docs/de-DE/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Konfiguration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/no-runtime-versions.toml) diff --git a/docs/de-DE/presets/pastel-powerline.md b/docs/de-DE/presets/pastel-powerline.md index 39297f4d..a6361823 100644 --- a/docs/de-DE/presets/pastel-powerline.md +++ b/docs/de-DE/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Konfiguration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/pastel-powerline.toml) diff --git a/docs/de-DE/presets/plain-text.md b/docs/de-DE/presets/plain-text.md index fdcc1f71..2b008e31 100644 --- a/docs/de-DE/presets/plain-text.md +++ b/docs/de-DE/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Konfiguration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/plain-text-symbols.toml) diff --git a/docs/de-DE/presets/pure-preset.md b/docs/de-DE/presets/pure-preset.md index 2f238459..cd9e040e 100644 --- a/docs/de-DE/presets/pure-preset.md +++ b/docs/de-DE/presets/pure-preset.md @@ -9,7 +9,7 @@ Diese Voreinstellung emuliert das Aussehen und das Verhalten von [Pure](https:// ### Konfiguration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/pure-preset.toml) diff --git a/docs/de-DE/presets/tokyo-night.md b/docs/de-DE/presets/tokyo-night.md index 9fd57a10..e5753db1 100644 --- a/docs/de-DE/presets/tokyo-night.md +++ b/docs/de-DE/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Konfiguration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Zum Herunterladen der TOML Datei klicken](/presets/toml/tokyo-night.toml) diff --git a/docs/es-ES/advanced-config/README.md b/docs/es-ES/advanced-config/README.md index 1ec3c7f7..90a4ed0d 100644 --- a/docs/es-ES/advanced-config/README.md +++ b/docs/es-ES/advanced-config/README.md @@ -26,15 +26,15 @@ Enable-TransientPrompt ## TransientPrompt y TransientRight Prompt en Cmd -Clink allows you to replace the previous-printed prompt with custom strings. Esto es útil en los casos que toda la información de la entrada no es siempre necesaria. To enable this, run `clink set prompt.transient ` where \ can be one of: +Clink re permite reemplazar el prompt impreso anteriormente con cadenas personalizadas. Esto es útil en los casos que toda la información de la entrada no es siempre necesaria. Para habilitar esto, ejecuta `Clink set prompt.transitent ` donde \ puede ser uno de: -- `always`: always replace the previous prompt -- `same_dir`: replace the previous prompt only if the working directory is same -- `off`: do not replace the prompt (i.e. turn off transience) +- `always`: reemplazar siempre el prompt anterior +- `same_dir`: reemplazar el prompt anterior sólo si el directorio de trabajo es el mismo +- `off`: no reemplazar el prompt (es decir, desactivar la transitoriedad) -You need to do this only once. Make the following changes to your `starship.lua` to customize what gets displayed on the left and on the right: +Necesitas hacer esto sólo una vez. Haz los siguientes cambios en tu `starship.lua` para personalizar lo que se muestra a la izquierda y a la derecha: -- Por defecto, el lado izquierdo de la entrada es reemplazado por `>`. To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. Por ejemplo, para mostrar el módulo `character` de Starship aquí, harías +- Por defecto, el lado izquierdo de la entrada es reemplazado por `>`. Para personalizar esto, define una nueva función llamada `starship_transient_prompt_func`. Esta función recibe el prompt actual como una cadena que tú puedes utilizar. Por ejemplo, para mostrar el módulo `character` de Starship aquí, harías ```lua function starship_transient_prompt_func(prompt) @@ -45,7 +45,7 @@ end load(io.popen('starship init cmd'):read("*a"))() ``` -- Por defecto, el lado derecho de la entrada está vacío. Para personalizar esto, defina una nueva función llamada `starship_transient_rprompt_func`. This function receives the current prompt as a string that you can utilize. For example, to display the time at which the last command was started here, you would do +- Por defecto, el lado derecho de la entrada está vacío. Para personalizar esto, defina una nueva función llamada `starship_transient_rprompt_func`. Esta función recibe el prompt actual como una cadena que tú puedes utilizar. Por ejemplo, para mostrar la hora en la que se inició el último comando aquí, lo harías ```lua function starship_transient_rprompt_func(prompt) @@ -54,13 +54,13 @@ end load(io.popen('starship init cmd'):read("*a"))() ``` -## TransientPrompt and TransientRightPrompt in Fish +## TransientPrompt y TransientRightPrompt en Fish -Es posible reemplazar la entrada impresa anteriormente con una cadena personalizada. Esto es útil en los casos que toda la información de la entrada no es siempre necesaria. To enable this, run `enable_transience` in the shell session. To make it permanent, put this statement in your `~/.config/fish/config.fish`. Transience can be disabled on-the-fly with `disable_transience`. +Es posible reemplazar la entrada impresa anteriormente con una cadena personalizada. Esto es útil en los casos que toda la información de la entrada no es siempre necesaria. Para habilitar esto, ejecute `enable_transience` en la sesión del interprete de comandos. Para hacerlo permanente, pon esta proposición en tu `~/.config/fish/config.fish`. La transitoriedad puede ser desactivada al momento con `disable-transience`. -Note that in case of Fish, the transient prompt is only printed if the commandline is non-empty, and syntactically correct. +Ten en cuenta que en el caso de Fish, el prompt transitorio sólo se imprime si el intérprete de comandos no está vacío, y sintácticamente correcta. -- By default, the left side of input gets replaced with a bold-green `❯`. To customize this, define a new function called `starship_transient_prompt_func`. Por ejemplo, para mostrar el módulo `character` de Starship aquí, harías +- Por defecto, el lado izquierdo de la entrada es reemplazado por una `❯`. Para personalizar esto, define una nueva función llamada `starship_transient_prompt_func`. Por ejemplo, para mostrar el módulo `character` de Starship aquí, harías ```fish function starship_transient_prompt_func @@ -70,7 +70,7 @@ starship init fish | source enable_transience ``` -- Por defecto, el lado derecho de la entrada está vacío. Para personalizar esto, defina una nueva función llamada `starship_transient_rprompt_func`. For example, to display the time at which the last command was started here, you would do +- Por defecto, el lado derecho de la entrada está vacío. Para personalizar esto, defina una nueva función llamada `starship_transient_rprompt_func`. Por ejemplo, para mostrar la hora en la que se inició el último comando aquí, lo harías ```fish function starship_transient_rprompt_func @@ -205,7 +205,7 @@ Algunos intérpretes de comandos soportan un prompt derecho que se renderiza en Nota: El prompt derecho es una sola línea siguiendo la ubicación de entrada. Para alinear los módulos arriba de la línea de entrada en un prompt multi-línea, vea el [módulo `fill`](/config/#fill). -`right_format` is currently supported for the following shells: elvish, fish, zsh, xonsh, cmd, nushell. +`right_format` está actualmente soportado para los siguientes intérpretes de comandos: elvish, fish, zsh, xonsh, cmd, nushell. ### Ejemplo @@ -279,6 +279,6 @@ Si se especifican varios colores para el primer plano/fondo, el último en la ca No todas las cadenas de estilo se mostrarán correctamente en cada terminal. En particular, existen las siguientes rarezas conocidas: -- Many terminals disable support for `blink` by default -- `hidden` is [not supported on iTerm](https://gitlab.com/gnachman/iterm2/-/issues/4564). -- `strikethrough` is not supported by the default macOS Terminal.app +- Muchos terminales deshabilitan el soporte para `parpadear` por defecto +- `hiden` no es [compatible con iTerm](https://gitlab.com/gnachman/iterm2/-/issues/4564). +- `strikethrough` no está soportado por macOS Terminal.app por defecto diff --git a/docs/es-ES/config/README.md b/docs/es-ES/config/README.md index 6a97c697..55e8b282 100644 --- a/docs/es-ES/config/README.md +++ b/docs/es-ES/config/README.md @@ -9,22 +9,22 @@ mkdir -p ~/.config && touch ~/.config/starship.toml Toda la configuración de starship se incluye en este fichero [TOML](https://github.com/toml-lang/toml): ```toml -# Get editor completions based on the config schema -"$schema" = 'https://starship.rs/config-schema.json' +# Obtener terminaciones del editor basado en el esquema de configuración +"$schema" = 'https://starship.rs/config-schema. son' -# Inserts a blank line between shell prompts +# Inserta una línea en blanco entre las instrucciones del intérprete de comandos add_newline = true -# Replace the '❯' symbol in the prompt with '➜' -[character] # The name of the module we are configuring is 'character' -success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' +# Reemplaza el símbolo '❯' en el prompt con ''➜' +[character] # El nombre del módulo que estamos configurando es 'character' +success_symbol = '[➜](bold green)' # El segmento 'success_symbol' se está configurando en '➜' con el color 'bold green' -# Disable the package module, hiding it from the prompt completely +# Desactiva el módulo del paquete, ocultándolo del prompt completamente [package] disabled = true ``` -### Config File Location +### Configurar ubicación del archivo Puedes cambiar la ubicación por defecto del archivo de configuración con la variable de entorno `STARSHIP_CONFIG`: @@ -72,7 +72,7 @@ os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp') Por convención, la mayoría de los módulos tienen un prefijo del color por defecto de la terminal (por ejemplo, `vía` en "nodejs") y un espacio vacío como sufijo. -### Strings +### Cadenas de Texto In TOML syntax, [text values](https://toml.io/en/v1.0.0#string) are declared with `'`, `"`, `'''`, or `"""`. @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -1336,7 +1336,7 @@ default = 'unknown user' | `variable` | | La variable de entorno a mostrar. | | `default` | | El valor por defecto que se mostrará cuando la variable seleccionada no está definida. | | `format` | `"con [$env_value]($style) "` | El formato del módulo. | -| `description` | `""` | La descripción del módulo que se muestra al ejecutar `starship explain`. | +| `descripción` | `""` | La descripción del módulo que se muestra al ejecutar `starship explain`. | | `disabled` | `false` | Deshabilita el módulo `env_var`. | ### Variables @@ -2871,10 +2871,12 @@ Este módulo está deshabilitado por defecto. Para activarlo, establece `disable ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4153,22 +4156,23 @@ Las cadenas de formato también pueden contener secuencias específicas del int ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `comando` | `''` | El comando cuya salida debe ser impresa. El comando se pasará en stdin al intérprete de comandos. | -| `cuando` | `false` | Valor booleano (`true` o `false`, sin comillas) o un comando de shell usado como una condición para mostrar el módulo. En caso de una cadena, el módulo se mostrará si el comando devuelve un código de estado `0`. | -| `shell` | | [Ver a continuación](#custom-command-shell) | -| `description` | `''` | La descripción del módulo que se muestra al ejecutar `starship explain`. | -| `detect_files` | `[]` | Los archivos que se buscarán en el directorio de trabajo para obtener una coincidencia. | -| `detect_folders` | `[]` | Los directorios que se buscarán en el directorio de trabajo para una coincidencia. | -| `detect_extensions` | `[]` | Las extensiones que se buscarán en el directorio de trabajo para obtener una coincidencia. | -| `symbol` | `''` | El símbolo usado antes de mostrar la salida del comando. | -| `style` | `'bold green'` | El estilo del módulo. | -| `format` | `'[$symbol($output )]($style)'` | El formato del módulo. | -| `disabled` | `false` | Deshabilita este módulo `custom`. | -| `os` | | Nombre del sistema operativo en el que se mostrará el módulo (unix, linux, macos, windows, ... ) [Ver valores posibles](https://doc.rust-lang.org/std/env/consts/constant.OS.html). | -| `use_stdin` | | Un valor booleano opcional que anula si los comandos deben ser reenviados al shell a través de la entrada estándar o como argumento. Si la entrada estándar unset es usada de manera predeterminada, a menos que el shell no lo soporte (cmd, nushell). Configurar esto desactiva el manejo de argumentos específicos del shell. | -| `ignore_timeout` | `false` | Ignorar la configuración global de `command_timeout` y seguir ejecutando comandos externos, sin importar el tiempo que tarden. | +| Opción | Predeterminado | Descripción | +| ------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `comando` | `''` | El comando cuya salida debe ser impresa. El comando se pasará en stdin al intérprete de comandos. | +| `cuando` | `false` | Valor booleano (`true` o `false`, sin comillas) o un comando de shell usado como una condición para mostrar el módulo. En caso de una cadena, el módulo se mostrará si el comando devuelve un código de estado `0`. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | +| `shell` | | [Ver a continuación](#custom-command-shell) | +| `descripción` | `''` | La descripción del módulo que se muestra al ejecutar `starship explain`. | +| `detect_files` | `[]` | Los archivos que se buscarán en el directorio de trabajo para obtener una coincidencia. | +| `detect_folders` | `[]` | Los directorios que se buscarán en el directorio de trabajo para una coincidencia. | +| `detect_extensions` | `[]` | Las extensiones que se buscarán en el directorio de trabajo para obtener una coincidencia. | +| `symbol` | `''` | El símbolo usado antes de mostrar la salida del comando. | +| `style` | `'bold green'` | El estilo del módulo. | +| `format` | `'[$symbol($output )]($style)'` | El formato del módulo. | +| `disabled` | `false` | Deshabilita este módulo `custom`. | +| `os` | | Nombre del sistema operativo en el que se mostrará el módulo (unix, linux, macos, windows, ... ) [Ver valores posibles](https://doc.rust-lang.org/std/env/consts/constant.OS.html). | +| `use_stdin` | | Un valor booleano opcional que anula si los comandos deben ser reenviados al shell a través de la entrada estándar o como argumento. Si la entrada estándar unset es usada de manera predeterminada, a menos que el shell no lo soporte (cmd, nushell). Configurar esto desactiva el manejo de argumentos específicos del shell. | +| `ignore_timeout` | `false` | Ignorar la configuración global de `command_timeout` y seguir ejecutando comandos externos, sin importar el tiempo que tarden. | ### Variables diff --git a/docs/es-ES/guide/README.md b/docs/es-ES/guide/README.md index 2fe1d5b5..74e9938b 100644 --- a/docs/es-ES/guide/README.md +++ b/docs/es-ES/guide/README.md @@ -169,7 +169,7 @@ ### Prerequisitos -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)). +- Una [Nerd Font](https://www.nerdfonts.com/) instalada y habilitada en tu terminal (por ejemplo, prueba [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). ### Paso 1. Instalar Starship @@ -422,7 +422,6 @@ Apoya este proyecto [convirtiéndote en patrocinador](https://github.com/sponsor **Patrocinadores** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/es-ES/presets/bracketed-segments.md b/docs/es-ES/presets/bracketed-segments.md index 9480fef8..d29f5274 100644 --- a/docs/es-ES/presets/bracketed-segments.md +++ b/docs/es-ES/presets/bracketed-segments.md @@ -9,7 +9,7 @@ Este preajuste cambia el formato de todos los módulos incorporados para mostrar ### Configuración ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/es-ES/presets/nerd-font.md b/docs/es-ES/presets/nerd-font.md index e57b226e..d3cd2dc8 100644 --- a/docs/es-ES/presets/nerd-font.md +++ b/docs/es-ES/presets/nerd-font.md @@ -13,7 +13,7 @@ Este preajuste cambia los símbolos de cada módulo para usar símbolos Nerd Fon ### Configuración ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/es-ES/presets/no-empty-icons.md b/docs/es-ES/presets/no-empty-icons.md index eaebf2ab..b1af843f 100644 --- a/docs/es-ES/presets/no-empty-icons.md +++ b/docs/es-ES/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuración ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/es-ES/presets/no-nerd-font.md b/docs/es-ES/presets/no-nerd-font.md index 42da95fa..f06a5d85 100644 --- a/docs/es-ES/presets/no-nerd-font.md +++ b/docs/es-ES/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuración ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/es-ES/presets/no-runtimes.md b/docs/es-ES/presets/no-runtimes.md index ebc01e51..36680027 100644 --- a/docs/es-ES/presets/no-runtimes.md +++ b/docs/es-ES/presets/no-runtimes.md @@ -9,7 +9,7 @@ Este preajuste oculta la versión de los tiempos de ejecución del idioma. Si tr ### Configuración ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/es-ES/presets/pastel-powerline.md b/docs/es-ES/presets/pastel-powerline.md index 793ed554..be10eff5 100644 --- a/docs/es-ES/presets/pastel-powerline.md +++ b/docs/es-ES/presets/pastel-powerline.md @@ -13,7 +13,7 @@ Este preajuste está inspirado en [M365Princess](https://github.com/JanDeDobbele ### Configuración ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/es-ES/presets/plain-text.md b/docs/es-ES/presets/plain-text.md index dae0dba7..93103a00 100644 --- a/docs/es-ES/presets/plain-text.md +++ b/docs/es-ES/presets/plain-text.md @@ -9,7 +9,7 @@ Este preajuste cambia los símbolos a texto sin formato. Bueno si usted no tiene ### Configuración ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/es-ES/presets/pure-preset.md b/docs/es-ES/presets/pure-preset.md index caed3ad6..049e1136 100644 --- a/docs/es-ES/presets/pure-preset.md +++ b/docs/es-ES/presets/pure-preset.md @@ -9,7 +9,7 @@ Esta preajuste emula la apariencia y el comportamiento de [Pure](https://github. ### Configuración ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/pure-preset.toml) diff --git a/docs/es-ES/presets/tokyo-night.md b/docs/es-ES/presets/tokyo-night.md index 12963229..95af84ea 100644 --- a/docs/es-ES/presets/tokyo-night.md +++ b/docs/es-ES/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuración ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Clic para descargar TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md index 6278cf88..595067f2 100644 --- a/docs/fr-FR/config/README.md +++ b/docs/fr-FR/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4158,6 +4161,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------------------------ | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | La commande dont la sortie doit être affichée. La commande sera transmise au shell sur l’entrée standard. | | `when` | `false` | Soit une valeur booléenne (`true` ou `false`, sans guillemets) ou une commande shell utilisée comme condition pour afficher le module. Dans le cas d’une chaine, le module sera affiché si la commande renvoie un code de statut `0`. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [Voir plus bas](#custom-command-shell) | | `description` | `''` | La description du module qui est affichée lors de l’exécution de `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/fr-FR/guide/README.md b/docs/fr-FR/guide/README.md index 83f51de3..3dd173a3 100644 --- a/docs/fr-FR/guide/README.md +++ b/docs/fr-FR/guide/README.md @@ -416,13 +416,12 @@ Voyez ces travaux précédents qui ont contribué à inspirer la création de St - **[reujab/silver](https://github.com/reujab/silver)** – Prompt multi-shell personnalisable, dans le style de powerline avec des icones. -## ❤️ Sponsors +## ❤️ Collaborateurs -Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website. +Soutenez ce projet en [devenant un collaborateur](https://github.com/sponsors/starship). Votre nom ou logo apparaîtra ici avec un lien vers votre site Web. -**Supporter Tier** +**Palier Collaborateur** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/fr-FR/presets/bracketed-segments.md b/docs/fr-FR/presets/bracketed-segments.md index f0cd9a86..68a669b5 100644 --- a/docs/fr-FR/presets/bracketed-segments.md +++ b/docs/fr-FR/presets/bracketed-segments.md @@ -9,7 +9,7 @@ Ce préréglage modifie le format de tous les modules intégrés pour afficher l ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/fr-FR/presets/nerd-font.md b/docs/fr-FR/presets/nerd-font.md index 8aeadb61..150c723a 100644 --- a/docs/fr-FR/presets/nerd-font.md +++ b/docs/fr-FR/presets/nerd-font.md @@ -13,7 +13,7 @@ Ce préréglage change les symboles de chaque module pour utiliser les symboles ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/fr-FR/presets/no-empty-icons.md b/docs/fr-FR/presets/no-empty-icons.md index f09ca1c9..4955ed3b 100644 --- a/docs/fr-FR/presets/no-empty-icons.md +++ b/docs/fr-FR/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/fr-FR/presets/no-nerd-font.md b/docs/fr-FR/presets/no-nerd-font.md index d37eca42..28c73daf 100644 --- a/docs/fr-FR/presets/no-nerd-font.md +++ b/docs/fr-FR/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/fr-FR/presets/no-runtimes.md b/docs/fr-FR/presets/no-runtimes.md index e7eab310..cdd1b7f9 100644 --- a/docs/fr-FR/presets/no-runtimes.md +++ b/docs/fr-FR/presets/no-runtimes.md @@ -9,7 +9,7 @@ Ce préréglage masque la version des environnements. Si vous travaillez dans de ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/fr-FR/presets/pastel-powerline.md b/docs/fr-FR/presets/pastel-powerline.md index b6ace95d..6688fe6b 100644 --- a/docs/fr-FR/presets/pastel-powerline.md +++ b/docs/fr-FR/presets/pastel-powerline.md @@ -13,7 +13,7 @@ Ce préréglage s'inspire de [M365Princess](https://github.com/JanDeDobbeleer/oh ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/fr-FR/presets/plain-text.md b/docs/fr-FR/presets/plain-text.md index 4b2e7139..9b3a89ce 100644 --- a/docs/fr-FR/presets/plain-text.md +++ b/docs/fr-FR/presets/plain-text.md @@ -9,7 +9,7 @@ Ce préréglage change les symboles de chaque module en texte brut. Idéal si vo ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/fr-FR/presets/pure-preset.md b/docs/fr-FR/presets/pure-preset.md index b14cbae8..5b9fdf5d 100644 --- a/docs/fr-FR/presets/pure-preset.md +++ b/docs/fr-FR/presets/pure-preset.md @@ -9,7 +9,7 @@ Ce préréglage émule l'apparence et le comportement de [Pure](https://github.c ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/pure-preset.toml) diff --git a/docs/fr-FR/presets/tokyo-night.md b/docs/fr-FR/presets/tokyo-night.md index e72c28f8..6c357661 100644 --- a/docs/fr-FR/presets/tokyo-night.md +++ b/docs/fr-FR/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Cliquez pour télécharger le TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/id-ID/config/README.md b/docs/id-ID/config/README.md index a5240af3..16351107 100644 --- a/docs/id-ID/config/README.md +++ b/docs/id-ID/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `deskripsi` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/id-ID/guide/README.md b/docs/id-ID/guide/README.md index b8aba9d0..9a7d5afe 100644 --- a/docs/id-ID/guide/README.md +++ b/docs/id-ID/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/id-ID/presets/bracketed-segments.md b/docs/id-ID/presets/bracketed-segments.md index fefa5c9b..5b47ac52 100644 --- a/docs/id-ID/presets/bracketed-segments.md +++ b/docs/id-ID/presets/bracketed-segments.md @@ -9,7 +9,7 @@ Konfigurasi prasetel berikut mengubah format dari seluruh modul bawaan untuk men ### Konfigurasi ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/id-ID/presets/nerd-font.md b/docs/id-ID/presets/nerd-font.md index 497aa219..07e0b7a6 100644 --- a/docs/id-ID/presets/nerd-font.md +++ b/docs/id-ID/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Konfigurasi ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/id-ID/presets/no-empty-icons.md b/docs/id-ID/presets/no-empty-icons.md index 72d3f7a2..631ed172 100644 --- a/docs/id-ID/presets/no-empty-icons.md +++ b/docs/id-ID/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Konfigurasi ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/id-ID/presets/no-nerd-font.md b/docs/id-ID/presets/no-nerd-font.md index d1290726..a92389a7 100644 --- a/docs/id-ID/presets/no-nerd-font.md +++ b/docs/id-ID/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Konfigurasi ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/id-ID/presets/no-runtimes.md b/docs/id-ID/presets/no-runtimes.md index e94d699b..9e625925 100644 --- a/docs/id-ID/presets/no-runtimes.md +++ b/docs/id-ID/presets/no-runtimes.md @@ -9,7 +9,7 @@ Konfigurasi prasetel berikut menyembunyikan versi language runtimes. Jika kamu b ### Konfigurasi ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/id-ID/presets/pastel-powerline.md b/docs/id-ID/presets/pastel-powerline.md index 663df5b5..5557f344 100644 --- a/docs/id-ID/presets/pastel-powerline.md +++ b/docs/id-ID/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Konfigurasi ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/id-ID/presets/plain-text.md b/docs/id-ID/presets/plain-text.md index a4173e74..310736d4 100644 --- a/docs/id-ID/presets/plain-text.md +++ b/docs/id-ID/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Konfigurasi ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/id-ID/presets/pure-preset.md b/docs/id-ID/presets/pure-preset.md index 91407b46..d828b33b 100644 --- a/docs/id-ID/presets/pure-preset.md +++ b/docs/id-ID/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Konfigurasi ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/id-ID/presets/tokyo-night.md b/docs/id-ID/presets/tokyo-night.md index d1f3aebf..996606d0 100644 --- a/docs/id-ID/presets/tokyo-night.md +++ b/docs/id-ID/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Konfigurasi ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/it-IT/config/README.md b/docs/it-IT/config/README.md index ee3b072b..6816e28f 100644 --- a/docs/it-IT/config/README.md +++ b/docs/it-IT/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `descrizione` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/it-IT/guide/README.md b/docs/it-IT/guide/README.md index 89f0709d..5380a7f7 100644 --- a/docs/it-IT/guide/README.md +++ b/docs/it-IT/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/it-IT/presets/bracketed-segments.md b/docs/it-IT/presets/bracketed-segments.md index 444004ce..d18cacfe 100644 --- a/docs/it-IT/presets/bracketed-segments.md +++ b/docs/it-IT/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configurazione ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/it-IT/presets/nerd-font.md b/docs/it-IT/presets/nerd-font.md index 8af5006b..2d7c0818 100644 --- a/docs/it-IT/presets/nerd-font.md +++ b/docs/it-IT/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configurazione ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/it-IT/presets/no-empty-icons.md b/docs/it-IT/presets/no-empty-icons.md index bdcb67d1..89f29c9c 100644 --- a/docs/it-IT/presets/no-empty-icons.md +++ b/docs/it-IT/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configurazione ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/it-IT/presets/no-nerd-font.md b/docs/it-IT/presets/no-nerd-font.md index 5656e8e1..83d1ffb5 100644 --- a/docs/it-IT/presets/no-nerd-font.md +++ b/docs/it-IT/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configurazione ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/it-IT/presets/no-runtimes.md b/docs/it-IT/presets/no-runtimes.md index 7cbca981..603766c8 100644 --- a/docs/it-IT/presets/no-runtimes.md +++ b/docs/it-IT/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configurazione ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/it-IT/presets/pastel-powerline.md b/docs/it-IT/presets/pastel-powerline.md index 00cd8df7..2c3de87a 100644 --- a/docs/it-IT/presets/pastel-powerline.md +++ b/docs/it-IT/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configurazione ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/it-IT/presets/plain-text.md b/docs/it-IT/presets/plain-text.md index a43971e2..c7107516 100644 --- a/docs/it-IT/presets/plain-text.md +++ b/docs/it-IT/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configurazione ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/it-IT/presets/pure-preset.md b/docs/it-IT/presets/pure-preset.md index 3b797eb3..c6545076 100644 --- a/docs/it-IT/presets/pure-preset.md +++ b/docs/it-IT/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configurazione ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/it-IT/presets/tokyo-night.md b/docs/it-IT/presets/tokyo-night.md index f405fa7f..899f2e09 100644 --- a/docs/it-IT/presets/tokyo-night.md +++ b/docs/it-IT/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configurazione ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/ja-JP/config/README.md b/docs/ja-JP/config/README.md index 3f8d2c05..0e441800 100644 --- a/docs/ja-JP/config/README.md +++ b/docs/ja-JP/config/README.md @@ -24,7 +24,7 @@ success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set disabled = true ``` -### Config File Location +### 設定ファイルの場所 `STARSHIP_CONFIG` 環境変数を使用することによって、デフォルトの設定ファイルの場所を変更できます。 @@ -72,11 +72,11 @@ os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp') 慣例により、ほとんどのモジュールにはデフォルトの端末色の接頭辞("nodejs" の `via` など)と接尾辞として空のスペースがあります。 -### Strings +### 文字列 -In TOML syntax, [text values](https://toml.io/en/v1.0.0#string) are declared with `'`, `"`, `'''`, or `"""`. +TOML記法では、[文字列](https://toml.io/en/v1.0.0#string)は`'`、`"`、`'''`、`"""`で宣言されます。 -The following Starship syntax symbols have special usage in a format string and must be escaped to display as that character: `$ [ ] ( )`. +これらのStarship記法の記号は文字列のフォーマットにおいて特別な用途があり、文字として表示するためにはエスケープしなければなりません: `$ [ ] ( )`. | Symbol | Type | Notes | | ------ | ------------------------- | ------------------------------------------------------ | @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | -| `shell` | | [この表の下を参照してください](#custom-command-shell) | -| `説明` | `''` | The description of the module that is shown when running `starship explain`. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | +| `shell` | | [See below](#custom-command-shell) | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/ja-JP/guide/README.md b/docs/ja-JP/guide/README.md index 4c137b99..84b54183 100644 --- a/docs/ja-JP/guide/README.md +++ b/docs/ja-JP/guide/README.md @@ -422,7 +422,6 @@ Starshipのさらなるカスタマイズを目指すなら以下を参考にし **スポンサーティア** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/ja-JP/presets/bracketed-segments.md b/docs/ja-JP/presets/bracketed-segments.md index b2e7a317..2368a028 100644 --- a/docs/ja-JP/presets/bracketed-segments.md +++ b/docs/ja-JP/presets/bracketed-segments.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/bracketed-segments.toml) diff --git a/docs/ja-JP/presets/nerd-font.md b/docs/ja-JP/presets/nerd-font.md index 9c806085..a82b6753 100644 --- a/docs/ja-JP/presets/nerd-font.md +++ b/docs/ja-JP/presets/nerd-font.md @@ -13,7 +13,7 @@ ### 設定 ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/ja-JP/presets/no-empty-icons.md b/docs/ja-JP/presets/no-empty-icons.md index b511f37e..7bd24465 100644 --- a/docs/ja-JP/presets/no-empty-icons.md +++ b/docs/ja-JP/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### 設定 ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/no-empty-icons.toml) diff --git a/docs/ja-JP/presets/no-nerd-font.md b/docs/ja-JP/presets/no-nerd-font.md index d25719d4..66a512c2 100644 --- a/docs/ja-JP/presets/no-nerd-font.md +++ b/docs/ja-JP/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### 設定 ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/no-nerd-font.toml) diff --git a/docs/ja-JP/presets/no-runtimes.md b/docs/ja-JP/presets/no-runtimes.md index a6cf1065..d3cbb2fd 100644 --- a/docs/ja-JP/presets/no-runtimes.md +++ b/docs/ja-JP/presets/no-runtimes.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/no-runtime-versions.toml) diff --git a/docs/ja-JP/presets/pastel-powerline.md b/docs/ja-JP/presets/pastel-powerline.md index b7ecd699..24117172 100644 --- a/docs/ja-JP/presets/pastel-powerline.md +++ b/docs/ja-JP/presets/pastel-powerline.md @@ -13,7 +13,7 @@ ### 設定 ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/pastel-powerline.toml) diff --git a/docs/ja-JP/presets/plain-text.md b/docs/ja-JP/presets/plain-text.md index 41803f12..220f1241 100644 --- a/docs/ja-JP/presets/plain-text.md +++ b/docs/ja-JP/presets/plain-text.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/plain-text-symbols.toml) diff --git a/docs/ja-JP/presets/pure-preset.md b/docs/ja-JP/presets/pure-preset.md index 10939d3b..e0a64349 100644 --- a/docs/ja-JP/presets/pure-preset.md +++ b/docs/ja-JP/presets/pure-preset.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/pure-preset.toml) diff --git a/docs/ja-JP/presets/tokyo-night.md b/docs/ja-JP/presets/tokyo-night.md index d5164955..887aef78 100644 --- a/docs/ja-JP/presets/tokyo-night.md +++ b/docs/ja-JP/presets/tokyo-night.md @@ -13,7 +13,7 @@ ### 設定 ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [クリックしてTOMLをダウンロード](/presets/toml/tokyo-night.toml) diff --git a/docs/ko-KR/config/README.md b/docs/ko-KR/config/README.md index c7c059de..a3cd5ee1 100644 --- a/docs/ko-KR/config/README.md +++ b/docs/ko-KR/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/ko-KR/guide/README.md b/docs/ko-KR/guide/README.md index abc91a47..4834b45a 100644 --- a/docs/ko-KR/guide/README.md +++ b/docs/ko-KR/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/ko-KR/presets/bracketed-segments.md b/docs/ko-KR/presets/bracketed-segments.md index da108a37..982afb20 100644 --- a/docs/ko-KR/presets/bracketed-segments.md +++ b/docs/ko-KR/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/ko-KR/presets/nerd-font.md b/docs/ko-KR/presets/nerd-font.md index 6d8e0361..6df40328 100644 --- a/docs/ko-KR/presets/nerd-font.md +++ b/docs/ko-KR/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/ko-KR/presets/no-empty-icons.md b/docs/ko-KR/presets/no-empty-icons.md index 7be6867d..aa4a211f 100644 --- a/docs/ko-KR/presets/no-empty-icons.md +++ b/docs/ko-KR/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/ko-KR/presets/no-nerd-font.md b/docs/ko-KR/presets/no-nerd-font.md index b154a6c0..a70e85e7 100644 --- a/docs/ko-KR/presets/no-nerd-font.md +++ b/docs/ko-KR/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/ko-KR/presets/no-runtimes.md b/docs/ko-KR/presets/no-runtimes.md index a8b326cc..c0805d11 100644 --- a/docs/ko-KR/presets/no-runtimes.md +++ b/docs/ko-KR/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/ko-KR/presets/pastel-powerline.md b/docs/ko-KR/presets/pastel-powerline.md index 243da2dc..38f7438d 100644 --- a/docs/ko-KR/presets/pastel-powerline.md +++ b/docs/ko-KR/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/ko-KR/presets/plain-text.md b/docs/ko-KR/presets/plain-text.md index e007e8d8..1e17b4bc 100644 --- a/docs/ko-KR/presets/plain-text.md +++ b/docs/ko-KR/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/ko-KR/presets/pure-preset.md b/docs/ko-KR/presets/pure-preset.md index ae1e85fc..b75a0056 100644 --- a/docs/ko-KR/presets/pure-preset.md +++ b/docs/ko-KR/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/ko-KR/presets/tokyo-night.md b/docs/ko-KR/presets/tokyo-night.md index 9d769463..38702598 100644 --- a/docs/ko-KR/presets/tokyo-night.md +++ b/docs/ko-KR/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/nl-NL/config/README.md b/docs/nl-NL/config/README.md index c7c059de..a3cd5ee1 100644 --- a/docs/nl-NL/config/README.md +++ b/docs/nl-NL/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/nl-NL/guide/README.md b/docs/nl-NL/guide/README.md index 9ce5d33d..7c1d70d2 100644 --- a/docs/nl-NL/guide/README.md +++ b/docs/nl-NL/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/nl-NL/presets/bracketed-segments.md b/docs/nl-NL/presets/bracketed-segments.md index da108a37..982afb20 100644 --- a/docs/nl-NL/presets/bracketed-segments.md +++ b/docs/nl-NL/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/nl-NL/presets/nerd-font.md b/docs/nl-NL/presets/nerd-font.md index 2de9aed8..51deed1f 100644 --- a/docs/nl-NL/presets/nerd-font.md +++ b/docs/nl-NL/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/nl-NL/presets/no-empty-icons.md b/docs/nl-NL/presets/no-empty-icons.md index 7be6867d..aa4a211f 100644 --- a/docs/nl-NL/presets/no-empty-icons.md +++ b/docs/nl-NL/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/nl-NL/presets/no-nerd-font.md b/docs/nl-NL/presets/no-nerd-font.md index b154a6c0..a70e85e7 100644 --- a/docs/nl-NL/presets/no-nerd-font.md +++ b/docs/nl-NL/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/nl-NL/presets/no-runtimes.md b/docs/nl-NL/presets/no-runtimes.md index a8b326cc..c0805d11 100644 --- a/docs/nl-NL/presets/no-runtimes.md +++ b/docs/nl-NL/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/nl-NL/presets/pastel-powerline.md b/docs/nl-NL/presets/pastel-powerline.md index aeac972b..c62220eb 100644 --- a/docs/nl-NL/presets/pastel-powerline.md +++ b/docs/nl-NL/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/nl-NL/presets/plain-text.md b/docs/nl-NL/presets/plain-text.md index e007e8d8..1e17b4bc 100644 --- a/docs/nl-NL/presets/plain-text.md +++ b/docs/nl-NL/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/nl-NL/presets/pure-preset.md b/docs/nl-NL/presets/pure-preset.md index ae1e85fc..b75a0056 100644 --- a/docs/nl-NL/presets/pure-preset.md +++ b/docs/nl-NL/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/nl-NL/presets/tokyo-night.md b/docs/nl-NL/presets/tokyo-night.md index 8b4afa44..362a261c 100644 --- a/docs/nl-NL/presets/tokyo-night.md +++ b/docs/nl-NL/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/no-NO/config/README.md b/docs/no-NO/config/README.md index c7c059de..a3cd5ee1 100644 --- a/docs/no-NO/config/README.md +++ b/docs/no-NO/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/no-NO/guide/README.md b/docs/no-NO/guide/README.md index 90b31fd4..46280824 100644 --- a/docs/no-NO/guide/README.md +++ b/docs/no-NO/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/no-NO/presets/bracketed-segments.md b/docs/no-NO/presets/bracketed-segments.md index da108a37..982afb20 100644 --- a/docs/no-NO/presets/bracketed-segments.md +++ b/docs/no-NO/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/no-NO/presets/nerd-font.md b/docs/no-NO/presets/nerd-font.md index bd8ce071..5b4d54eb 100644 --- a/docs/no-NO/presets/nerd-font.md +++ b/docs/no-NO/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/no-NO/presets/no-empty-icons.md b/docs/no-NO/presets/no-empty-icons.md index 7be6867d..aa4a211f 100644 --- a/docs/no-NO/presets/no-empty-icons.md +++ b/docs/no-NO/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/no-NO/presets/no-nerd-font.md b/docs/no-NO/presets/no-nerd-font.md index b154a6c0..a70e85e7 100644 --- a/docs/no-NO/presets/no-nerd-font.md +++ b/docs/no-NO/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/no-NO/presets/no-runtimes.md b/docs/no-NO/presets/no-runtimes.md index a8b326cc..c0805d11 100644 --- a/docs/no-NO/presets/no-runtimes.md +++ b/docs/no-NO/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/no-NO/presets/pastel-powerline.md b/docs/no-NO/presets/pastel-powerline.md index 66fc9b19..03a5c04e 100644 --- a/docs/no-NO/presets/pastel-powerline.md +++ b/docs/no-NO/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/no-NO/presets/plain-text.md b/docs/no-NO/presets/plain-text.md index e007e8d8..1e17b4bc 100644 --- a/docs/no-NO/presets/plain-text.md +++ b/docs/no-NO/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/no-NO/presets/pure-preset.md b/docs/no-NO/presets/pure-preset.md index ae1e85fc..b75a0056 100644 --- a/docs/no-NO/presets/pure-preset.md +++ b/docs/no-NO/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/no-NO/presets/tokyo-night.md b/docs/no-NO/presets/tokyo-night.md index 268b2d70..abd9d036 100644 --- a/docs/no-NO/presets/tokyo-night.md +++ b/docs/no-NO/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/pl-PL/config/README.md b/docs/pl-PL/config/README.md index bfced8e4..642d8ec6 100644 --- a/docs/pl-PL/config/README.md +++ b/docs/pl-PL/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/pl-PL/guide/README.md b/docs/pl-PL/guide/README.md index 2ce4313c..6bf3710b 100644 --- a/docs/pl-PL/guide/README.md +++ b/docs/pl-PL/guide/README.md @@ -422,7 +422,6 @@ Wspomóż ten projekt [stając się sponsorem](https://github.com/sponsors/stars **Poziom Supporter** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/pl-PL/presets/bracketed-segments.md b/docs/pl-PL/presets/bracketed-segments.md index 7c8dab0e..025304b5 100644 --- a/docs/pl-PL/presets/bracketed-segments.md +++ b/docs/pl-PL/presets/bracketed-segments.md @@ -9,7 +9,7 @@ Ta konfiguracja zmienia format wyświetlania wbudowanych modułów - zamiast dom ### Konfiguracja ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/pl-PL/presets/nerd-font.md b/docs/pl-PL/presets/nerd-font.md index d9edddcc..478f203c 100644 --- a/docs/pl-PL/presets/nerd-font.md +++ b/docs/pl-PL/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Konfiguracja ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/pl-PL/presets/no-empty-icons.md b/docs/pl-PL/presets/no-empty-icons.md index edd62610..b9ae6f08 100644 --- a/docs/pl-PL/presets/no-empty-icons.md +++ b/docs/pl-PL/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Konfiguracja ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/pl-PL/presets/no-nerd-font.md b/docs/pl-PL/presets/no-nerd-font.md index 74f77c45..bfbc08bd 100644 --- a/docs/pl-PL/presets/no-nerd-font.md +++ b/docs/pl-PL/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Konfiguracja ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/pl-PL/presets/no-runtimes.md b/docs/pl-PL/presets/no-runtimes.md index 40c56523..70a3b9e1 100644 --- a/docs/pl-PL/presets/no-runtimes.md +++ b/docs/pl-PL/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Konfiguracja ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/pl-PL/presets/pastel-powerline.md b/docs/pl-PL/presets/pastel-powerline.md index 3f79eee2..539292c5 100644 --- a/docs/pl-PL/presets/pastel-powerline.md +++ b/docs/pl-PL/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Konfiguracja ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/pl-PL/presets/plain-text.md b/docs/pl-PL/presets/plain-text.md index 86ea1393..58061676 100644 --- a/docs/pl-PL/presets/plain-text.md +++ b/docs/pl-PL/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Konfiguracja ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/pl-PL/presets/pure-preset.md b/docs/pl-PL/presets/pure-preset.md index 9e3a8c29..853808b2 100644 --- a/docs/pl-PL/presets/pure-preset.md +++ b/docs/pl-PL/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Konfiguracja ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/pl-PL/presets/tokyo-night.md b/docs/pl-PL/presets/tokyo-night.md index 2246f127..86d738b7 100644 --- a/docs/pl-PL/presets/tokyo-night.md +++ b/docs/pl-PL/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Konfiguracja ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/pt-BR/config/README.md b/docs/pt-BR/config/README.md index 786de617..f2cabb4c 100644 --- a/docs/pt-BR/config/README.md +++ b/docs/pt-BR/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Strings de formatação também podem conter sequencias de prompt especificas de | ------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | O comando cuja a saída deve ser exibida. O comando será passado no stdin para o shell. | | `when` | `false` | Ou um valor booleano (`true` ou `false`, sem aspas) ou um comando shell de string usado como condição para mostrar o módulo. No caso de uma string, o módulo será mostrado se o comando retornar um código de status `0`. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [Veja abaixo](#custom-command-shell) | | `description` | `''` | A descrição do módulo, isto será exibido quando executar `starship explain`. | | `detect_files` | `[]` | Os arquivos que serão buscados por correspondência no diretório atual. | diff --git a/docs/pt-BR/guide/README.md b/docs/pt-BR/guide/README.md index 0d2d96b4..0879021c 100644 --- a/docs/pt-BR/guide/README.md +++ b/docs/pt-BR/guide/README.md @@ -422,7 +422,6 @@ Apoie este projeto [tornando-se um patrocinador](https://github.com/sponsors/sta **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/pt-BR/presets/bracketed-segments.md b/docs/pt-BR/presets/bracketed-segments.md index f84b8626..42929c06 100644 --- a/docs/pt-BR/presets/bracketed-segments.md +++ b/docs/pt-BR/presets/bracketed-segments.md @@ -9,7 +9,7 @@ Está personalização altera o formato de todos os módulos integrados para que ### Configuração ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/pt-BR/presets/nerd-font.md b/docs/pt-BR/presets/nerd-font.md index fcb82625..4218422a 100644 --- a/docs/pt-BR/presets/nerd-font.md +++ b/docs/pt-BR/presets/nerd-font.md @@ -13,7 +13,7 @@ Essa personalização altera os símbolos para cada módulo usar Nerd Font. ### Configuração ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/pt-BR/presets/no-empty-icons.md b/docs/pt-BR/presets/no-empty-icons.md index 5c083f2d..8a01e077 100644 --- a/docs/pt-BR/presets/no-empty-icons.md +++ b/docs/pt-BR/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuração ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/pt-BR/presets/no-nerd-font.md b/docs/pt-BR/presets/no-nerd-font.md index a82a89b6..116b0098 100644 --- a/docs/pt-BR/presets/no-nerd-font.md +++ b/docs/pt-BR/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuração ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/pt-BR/presets/no-runtimes.md b/docs/pt-BR/presets/no-runtimes.md index bbe1a953..81529130 100644 --- a/docs/pt-BR/presets/no-runtimes.md +++ b/docs/pt-BR/presets/no-runtimes.md @@ -9,7 +9,7 @@ Esta predefinição oculta a versão do runtime da linguagem. Se você trabalha ### Configuração ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/pt-BR/presets/pastel-powerline.md b/docs/pt-BR/presets/pastel-powerline.md index 2725697b..8990d715 100644 --- a/docs/pt-BR/presets/pastel-powerline.md +++ b/docs/pt-BR/presets/pastel-powerline.md @@ -13,7 +13,7 @@ Esta personalização é inspirada em [M365Princess](https://github.com/JanDeDob ### Configuração ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/pt-BR/presets/plain-text.md b/docs/pt-BR/presets/plain-text.md index 91516609..77446909 100644 --- a/docs/pt-BR/presets/plain-text.md +++ b/docs/pt-BR/presets/plain-text.md @@ -9,7 +9,7 @@ Essa personalização converte os símbolos para cada módulo em texto simples. ### Configuração ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/pt-BR/presets/pure-preset.md b/docs/pt-BR/presets/pure-preset.md index 71b6d085..2e2cc1d9 100644 --- a/docs/pt-BR/presets/pure-preset.md +++ b/docs/pt-BR/presets/pure-preset.md @@ -9,7 +9,7 @@ Essa personalização simula a aparência e o comportamento do [Pure](https://gi ### Configuração ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/pure-preset.toml) diff --git a/docs/pt-BR/presets/tokyo-night.md b/docs/pt-BR/presets/tokyo-night.md index f7c02c4a..ce520189 100644 --- a/docs/pt-BR/presets/tokyo-night.md +++ b/docs/pt-BR/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuração ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Clique para baixar o TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/pt-PT/config/README.md b/docs/pt-PT/config/README.md index c7c059de..a3cd5ee1 100644 --- a/docs/pt-PT/config/README.md +++ b/docs/pt-PT/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/pt-PT/guide/README.md b/docs/pt-PT/guide/README.md index 77113c00..dede40a5 100644 --- a/docs/pt-PT/guide/README.md +++ b/docs/pt-PT/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/pt-PT/presets/bracketed-segments.md b/docs/pt-PT/presets/bracketed-segments.md index da108a37..982afb20 100644 --- a/docs/pt-PT/presets/bracketed-segments.md +++ b/docs/pt-PT/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Configuration ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/pt-PT/presets/nerd-font.md b/docs/pt-PT/presets/nerd-font.md index f523d01c..26472871 100644 --- a/docs/pt-PT/presets/nerd-font.md +++ b/docs/pt-PT/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Configuration ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/pt-PT/presets/no-empty-icons.md b/docs/pt-PT/presets/no-empty-icons.md index 7be6867d..aa4a211f 100644 --- a/docs/pt-PT/presets/no-empty-icons.md +++ b/docs/pt-PT/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Configuration ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/pt-PT/presets/no-nerd-font.md b/docs/pt-PT/presets/no-nerd-font.md index b154a6c0..a70e85e7 100644 --- a/docs/pt-PT/presets/no-nerd-font.md +++ b/docs/pt-PT/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Configuration ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/pt-PT/presets/no-runtimes.md b/docs/pt-PT/presets/no-runtimes.md index a8b326cc..c0805d11 100644 --- a/docs/pt-PT/presets/no-runtimes.md +++ b/docs/pt-PT/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Configuration ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/pt-PT/presets/pastel-powerline.md b/docs/pt-PT/presets/pastel-powerline.md index 808cc731..8ef2225d 100644 --- a/docs/pt-PT/presets/pastel-powerline.md +++ b/docs/pt-PT/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Configuration ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/pt-PT/presets/plain-text.md b/docs/pt-PT/presets/plain-text.md index e007e8d8..1e17b4bc 100644 --- a/docs/pt-PT/presets/plain-text.md +++ b/docs/pt-PT/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Configuration ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/pt-PT/presets/pure-preset.md b/docs/pt-PT/presets/pure-preset.md index ae1e85fc..b75a0056 100644 --- a/docs/pt-PT/presets/pure-preset.md +++ b/docs/pt-PT/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Configuration ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/pt-PT/presets/tokyo-night.md b/docs/pt-PT/presets/tokyo-night.md index 33f51749..1bfa22ce 100644 --- a/docs/pt-PT/presets/tokyo-night.md +++ b/docs/pt-PT/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Configuration ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md index dc78f819..dcab6f26 100644 --- a/docs/ru-RU/config/README.md +++ b/docs/ru-RU/config/README.md @@ -24,9 +24,9 @@ success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set disabled = true ``` -### Config File Location +### Расположение конфигурационного файла -You can change default configuration file location with `STARSHIP_CONFIG` environment variable: +Вы можете задать расположение конфигурационного файла по умолчанию через переменную окружения `STARSHIP_CONFIG`: ```sh export STARSHIP_CONFIG=~/example/non/default/path/starship.toml @@ -38,7 +38,7 @@ export STARSHIP_CONFIG=~/example/non/default/path/starship.toml $ENV:STARSHIP_CONFIG = "$HOME\example\non\default\path\starship.toml" ``` -Or for Cmd (Windows) would be adding this line to your `starship.lua`: +Или для Cmd (Windows) добавить следующую строчку в ваш файл `starship.lua`: ```lua os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\starship.toml') @@ -58,7 +58,7 @@ export STARSHIP_CACHE=~/.starship/cache $ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp" ``` -Or for Cmd (Windows) would be adding this line to your `starship.lua`: +Или для Cmd (Windows) добавить следующую строчку в ваш файл `starship.lua`: ```lua os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp') @@ -66,7 +66,7 @@ os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp') ### Терминология -**Модуль**: Компонент строки, дающий информацию на основе контекстной информации вашей ОС. For example, the "nodejs" module shows the version of Node.js that is currently installed on your computer, if your current directory is a Node.js project. +**Модуль**: Компонент строки, дающий информацию на основе контекстной информации вашей ОС. Например, модуль "nodejs" отображает установленную версию Node.js, если вы находитесь в директории Node.js проекта. **Variable**: Smaller sub-components that contain information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of Node.js. @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `описание` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/ru-RU/guide/README.md b/docs/ru-RU/guide/README.md index c1cc9969..20e11c26 100644 --- a/docs/ru-RU/guide/README.md +++ b/docs/ru-RU/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/ru-RU/presets/bracketed-segments.md b/docs/ru-RU/presets/bracketed-segments.md index 81d9f290..668805bb 100644 --- a/docs/ru-RU/presets/bracketed-segments.md +++ b/docs/ru-RU/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Конфигурация ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/ru-RU/presets/nerd-font.md b/docs/ru-RU/presets/nerd-font.md index f6b7b601..33592888 100644 --- a/docs/ru-RU/presets/nerd-font.md +++ b/docs/ru-RU/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Конфигурация ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/ru-RU/presets/no-empty-icons.md b/docs/ru-RU/presets/no-empty-icons.md index 929dce1c..fbb175a2 100644 --- a/docs/ru-RU/presets/no-empty-icons.md +++ b/docs/ru-RU/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Конфигурация ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/ru-RU/presets/no-nerd-font.md b/docs/ru-RU/presets/no-nerd-font.md index e2b81f06..d236d11d 100644 --- a/docs/ru-RU/presets/no-nerd-font.md +++ b/docs/ru-RU/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Конфигурация ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/ru-RU/presets/no-runtimes.md b/docs/ru-RU/presets/no-runtimes.md index 58be8647..03d83467 100644 --- a/docs/ru-RU/presets/no-runtimes.md +++ b/docs/ru-RU/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Конфигурация ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/ru-RU/presets/pastel-powerline.md b/docs/ru-RU/presets/pastel-powerline.md index 2aae7f23..71cb8972 100644 --- a/docs/ru-RU/presets/pastel-powerline.md +++ b/docs/ru-RU/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Конфигурация ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/ru-RU/presets/plain-text.md b/docs/ru-RU/presets/plain-text.md index 40bec56c..bbc602b1 100644 --- a/docs/ru-RU/presets/plain-text.md +++ b/docs/ru-RU/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Конфигурация ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/ru-RU/presets/pure-preset.md b/docs/ru-RU/presets/pure-preset.md index 63ed092f..8268f59a 100644 --- a/docs/ru-RU/presets/pure-preset.md +++ b/docs/ru-RU/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Конфигурация ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/ru-RU/presets/tokyo-night.md b/docs/ru-RU/presets/tokyo-night.md index 1da21ad5..0735f82f 100644 --- a/docs/ru-RU/presets/tokyo-night.md +++ b/docs/ru-RU/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Конфигурация ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/tr-TR/config/README.md b/docs/tr-TR/config/README.md index 4aa80dc9..a71b0e8e 100644 --- a/docs/tr-TR/config/README.md +++ b/docs/tr-TR/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,6 +4160,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | diff --git a/docs/tr-TR/guide/README.md b/docs/tr-TR/guide/README.md index a30e9186..1b7eb2fc 100644 --- a/docs/tr-TR/guide/README.md +++ b/docs/tr-TR/guide/README.md @@ -169,7 +169,7 @@ ### Ön koşullar -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)). +- [Nerd Font](https://www.nerdfonts.com/) kurulu ve terminalinizde kullanılıyor olmalı (örnek: [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)'u deneyebilirsiniz). ### 1. Adım Starship'i Kur @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/tr-TR/presets/bracketed-segments.md b/docs/tr-TR/presets/bracketed-segments.md index 1609f6b4..b7bc1a84 100644 --- a/docs/tr-TR/presets/bracketed-segments.md +++ b/docs/tr-TR/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Yapılandırma ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/tr-TR/presets/nerd-font.md b/docs/tr-TR/presets/nerd-font.md index 2d5e0756..a1e754ad 100644 --- a/docs/tr-TR/presets/nerd-font.md +++ b/docs/tr-TR/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Yapılandırma ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/tr-TR/presets/no-empty-icons.md b/docs/tr-TR/presets/no-empty-icons.md index 986e8fba..bff1d3ea 100644 --- a/docs/tr-TR/presets/no-empty-icons.md +++ b/docs/tr-TR/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Yapılandırma ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/tr-TR/presets/no-nerd-font.md b/docs/tr-TR/presets/no-nerd-font.md index 0d4f7b86..7be52470 100644 --- a/docs/tr-TR/presets/no-nerd-font.md +++ b/docs/tr-TR/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Yapılandırma ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/tr-TR/presets/no-runtimes.md b/docs/tr-TR/presets/no-runtimes.md index d33d4879..33f5c2ff 100644 --- a/docs/tr-TR/presets/no-runtimes.md +++ b/docs/tr-TR/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Yapılandırma ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/tr-TR/presets/pastel-powerline.md b/docs/tr-TR/presets/pastel-powerline.md index 73757d60..ca705b00 100644 --- a/docs/tr-TR/presets/pastel-powerline.md +++ b/docs/tr-TR/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Yapılandırma ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/tr-TR/presets/plain-text.md b/docs/tr-TR/presets/plain-text.md index 49b91a43..17f8695e 100644 --- a/docs/tr-TR/presets/plain-text.md +++ b/docs/tr-TR/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Yapılandırma ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/tr-TR/presets/pure-preset.md b/docs/tr-TR/presets/pure-preset.md index 3485930d..15108616 100644 --- a/docs/tr-TR/presets/pure-preset.md +++ b/docs/tr-TR/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Yapılandırma ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/tr-TR/presets/tokyo-night.md b/docs/tr-TR/presets/tokyo-night.md index ecb1e27e..09aad309 100644 --- a/docs/tr-TR/presets/tokyo-night.md +++ b/docs/tr-TR/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Yapılandırma ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/uk-UA/README.md b/docs/uk-UA/README.md index a215ade2..b5b1baf1 100644 --- a/docs/uk-UA/README.md +++ b/docs/uk-UA/README.md @@ -3,22 +3,22 @@ home: true heroImage: /logo.svg heroText: tagline: Простий, супер швидкий та безмежно адаптивний командний рядок для будь-якої оболонки! -actionText: Get Started → +actionText: Початок роботи → actionLink: ./guide/ features: - - title: Compatibility First - details: Works on the most common shells on the most common operating systems. Use it everywhere! + title: Сумісність на першому місці + details: Працює з більшістю оболонок у всіх популярних операційних системах. Можна використовувати будь-де! - - title: Rust-Powered - details: Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible. + title: Rust під капотом + details: Використовує найкращу в класі швидкість та безпеку застосунків створених за допомогою Rust, що робить ваш командний рядок швидким та надійним. - - title: Customizable - details: Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be. -footer: ISC Licensed | Copyright © 2019-present Starship Contributors + title: Персоналізація + details: Кожна дрібничка налаштовується відповідно до ваших потреб, щоб зробити командний рядок аскетичним чи багатофункціональним, таким, яким ви б хотіли б його бачити. +footer: Ліцензія ISC | Авторське право © 2019-по сьогодні Учасники Starship #Used for the description meta tag, for SEO metaTitle: "Starship: Cross-Shell Prompt" -description: Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell. +description: Простий, супер швидкий та безмежно адаптивний командний рядок для будь-якої оболонки! Показує потрібну інформацію залишаючись блискучим та мінімальним. Швидке встановлення доступне для Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd і PowerShell. ---

@@ -28,40 +28,40 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
-### Передумови +### Вимоги -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal. +- A Встановлений та увімкнений шрифт [Nerd Font](https://www.nerdfonts.com/) у вашому терміналі. -### Quick Install +### Швидке встановлення -1. Install the **starship** binary: +1. Встановіть **starship**: - #### Install Latest Version + #### Встановлення останньої версії - With Shell: + З оболонки: ```sh curl -sS https://starship.rs/install.sh | sh ``` - To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration. + Для оновлення Starship перезапустіть команду вказану вище. Це допоможе замінити поточну версію не чіпаючи налаштувань Starship. - #### Install via Package Manager + #### Встановлення за допомогою пакетних менеджерів - With [Homebrew](https://brew.sh/): + [Homebrew](https://brew.sh/): ```sh brew install starship ``` - With [Winget](https://github.com/microsoft/winget-cli): + [Winget](https://github.com/microsoft/winget-cli): ```powershell winget install starship ``` -1. Add the init script to your shell's config file: +1. Додайте init скрипт до конфігураційного файлу оболонки: #### Bash @@ -99,7 +99,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p #### Powershell - Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix. + Додайте наступний рядок в кінець `Microsoft.PowerShell_profile.ps1`. Ви можете перевірити розташування цього файлу, звернувшись до змінної `$PROFILE` у PowerShell. Зазвичай це `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` або `~/.config/powershell/Microsoft.PowerShell_profile.ps1` у -Nix. ```sh Invoke-Expression (&starship init powershell) @@ -121,7 +121,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ::: warning - Only elvish v0.18 or higher is supported. + Підтримуються лише elv0.18 або вище. ::: @@ -149,11 +149,11 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ::: warning - This will change in the future. Only Nushell v0.73+ is supported. + Це зміниться в майбутньому. Підтримується лише Nushell v0.73+. ::: - Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): + Додайте наступне в кінець вашого файлу env (його можна знайти за допомогою змінної `$nu.env-path` в Nushell): ```sh mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu @@ -178,7 +178,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p #### Cmd - Вам потрібно використовувати [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) разом з Cmd. Add the following to a file `starship.lua` and place this file in Clink scripts directory: + Вам потрібно використовувати [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) разом з Cmd. Додайте наступне у файл `starship.lua` і розмістіть цей файл у теці скриптів Cline: ```lua -- starship.lua diff --git a/docs/uk-UA/advanced-config/README.md b/docs/uk-UA/advanced-config/README.md index 5786aeec..addf9d4f 100644 --- a/docs/uk-UA/advanced-config/README.md +++ b/docs/uk-UA/advanced-config/README.md @@ -1,6 +1,6 @@ # Розширені налаштування -Хоч Starship і універсальна оболонка, іноді необхідно зробити більше ніж просто відредагувати `star.toml`, щоб можна було робити певні речі. Ця сторінка містить деякі з найбільш просунутих методів конфігурації, які використовуються у starship. +Хоч Starship і універсальна оболонка, іноді необхідно зробити більше ніж просто відредагувати `star.toml`, щоб можна було робити певні речі. Ця сторінка містить деякі з найбільш докладних методів налаштувань, які використовуються у starship. ::: warning @@ -10,9 +10,9 @@ ## TransientPrompt у PowerShell -Можна замінити попередню підказку на власний рядок. Це корисно у випадках, коли вся інформація з підказки не завжди потрібна. Щоб увімкнути це, запустіть `Enable-TransientPrompt` в сеансі консолі. Щоб зробити цю зміну постійною, додайте цю команду у ваш `$PROFILE`. Transience can be disabled on-the-fly with `Disable-TransientPrompt`. +Можна замінити попередній командний рядок на власний. Це корисно у випадках, коли вся інформація у ньому не завжди потрібна. Щоб увімкнути це, запустіть `Enable-TransientPrompt` в сеансі оболонки. Щоб зробити цю зміну постійною, додайте цю команду у ваш `$PROFILE`. Перехідність можна вимкнути на льоту за допомогою `Disable-TransientPrompt`. -By default, the left side of input gets replaced with `>`. To customize this, define a new function called `Invoke-Starship-TransientFunction`. For example, to display Starship's `character` module here, you would do +Типово, ліва частина вводу буде замінена на `>`. Щоб налаштувати це, створіть нову функцію з назвою `Invoke-Starship-TransientFunction`. Наприклад, щоб показати тут `символ` Starship, вам потрібно ```powershell function Invoke-Starship-TransientFunction { @@ -24,17 +24,17 @@ Invoke-Expression (&starship init powershell) Enable-TransientPrompt ``` -## TransientPrompt and TransientRightPrompt in Cmd +## TransientPrompt та TransientRightPrompt в Cmd -Clink allows you to replace the previous-printed prompt with custom strings. Це корисно у випадках, коли вся інформація з підказки не завжди потрібна. To enable this, run `clink set prompt.transient ` where \ can be one of: +Clink дозволяє замінювати попередньо надрукований командний рядок іншим рядком. Це корисно у випадках, коли вся інформація з командного рядка не потрібна. Щоб увімкнути це, виконайте `clink set prompt.transient `, де \ може бути одним з: -- `always`: always replace the previous prompt -- `same_dir`: replace the previous prompt only if the working directory is same -- `off`: do not replace the prompt (i.e. turn off transience) +- `always`: завжди замінює попередній командний рядок +- `same_dir`: замінює попередній командний рядок тільки якщо робоча тека не змінювалась +- `off`: не змінює командний рядок (тобто функцію вимкнено) -You need to do this only once. Make the following changes to your `starship.lua` to customize what gets displayed on the left and on the right: +Це треба виконати лише один раз. Зробіть наступні зміни на `starship.lua`, щоб налаштувати, що показується ліворуч і праворуч: -- By default, the left side of input gets replaced with `>`. To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. For example, to display Starship's `character` module here, you would do +- Типово, ліва частина вводу буде замінена на `>`. Щоб налаштувати це, створіть нову функцію з назвою `starship_transient_prompt_func`. Ця функція отримує поточний текст командного рядка, з яким ви зможете працювати. Наприклад, щоб показати тут `символ` Starship, вам потрібно ```lua function starship_transient_prompt_func(prompt) @@ -45,7 +45,7 @@ end load(io.popen('starship init cmd'):read("*a"))() ``` -- By default, the right side of input is empty. To customize this, define a new function called `starship_transient_rprompt_func`. This function receives the current prompt as a string that you can utilize. For example, to display the time at which the last command was started here, you would do +- Типово, права частина вводу є порожньою. Щоб налаштувати це, створіть нову функцію з назвою `starship_transient_rprompt_func`. Ця функція отримує поточний текст командного рядка, з яким ви зможете працювати. Наприклад, щоб показати час, коли була запущена остання команда, ви можете зробити ```lua function starship_transient_rprompt_func(prompt) @@ -54,13 +54,13 @@ end load(io.popen('starship init cmd'):read("*a"))() ``` -## TransientPrompt and TransientRightPrompt in Fish +## TransientPrompt та TransientRightPrompt у Fish -Можна замінити попередню підказку на власний рядок. Це корисно у випадках, коли вся інформація з підказки не завжди потрібна. To enable this, run `enable_transience` in the shell session. To make it permanent, put this statement in your `~/.config/fish/config.fish`. Transience can be disabled on-the-fly with `disable_transience`. +Можна замінити попередній командний рядок на власний. Це корисно у випадках, коли вся інформація з командного рядка не потрібна. Щоб увімкнути це, запустіть `enable_transience` в сеансі оболонки. Щоб зробити цю змінну постійною, додайте цей вираз до ваших налаштувань `~/.config/fish/config.fish`. Перехідність може бути відключена за допомогою `disable_transience`. -Note that in case of Fish, the transient prompt is only printed if the commandline is non-empty, and syntactically correct. +Зверніть увагу, що у випадку Fish, тимчасовий командний рядок буде надруковано лише тоді, коли командний рядок не порожній та синтаксично правильний. -- By default, the left side of input gets replaced with a bold-green `❯`. To customize this, define a new function called `starship_transient_prompt_func`. For example, to display Starship's `character` module here, you would do +- Типово, ліва частина вводу буде замінена на зелений символ `❯`. Щоб налаштувати це, створіть нову функцію з назвою `starship_transient_prompt_func`. Наприклад, щоб показати тут `символ` Starship, вам потрібно ```fish function starship_transient_prompt_func @@ -70,7 +70,7 @@ starship init fish | source enable_transience ``` -- By default, the right side of input is empty. To customize this, define a new function called `starship_transient_rprompt_func`. For example, to display the time at which the last command was started here, you would do +- Типово, права частина вводу є порожньою. Щоб налаштувати це, створіть нову функцію з назвою `starship_transient_rprompt_func`. Наприклад, щоб показати час, коли була запущена остання команда, ви можете зробити ```fish function starship_transient_rprompt_func @@ -207,7 +207,7 @@ Note: The right prompt is a single line following the input location. To right a `right_format` is currently supported for the following shells: elvish, fish, zsh, xonsh, cmd, nushell. -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -239,7 +239,7 @@ Note: Continuation prompts are only available in the following shells: - `zsh` - `PowerShell` -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -248,7 +248,7 @@ Note: Continuation prompts are only available in the following shells: continuation_prompt = '▶▶ ' ``` -## Style Strings +## Стилі рядків Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Each word can be one of the following: diff --git a/docs/uk-UA/config/README.md b/docs/uk-UA/config/README.md index c7c059de..f4e51d83 100644 --- a/docs/uk-UA/config/README.md +++ b/docs/uk-UA/config/README.md @@ -1,121 +1,121 @@ -# Configuration +# Налаштування -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 -# Get editor completions based on the config schema +# Отримання автозавершення вводу команд з config-schema.json "$schema" = 'https://starship.rs/config-schema.json' -# Inserts a blank line between shell prompts +# Додавати порожні рядки між командними рядками add_newline = true -# Replace the '❯' symbol in the prompt with '➜' -[character] # The name of the module we are configuring is 'character' -success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' +# Заміняти символ '❯' в командному рядку на символ '➜' +[character] # Назва модуля, який ми налаштовуємо – 'character' +success_symbol = '[➜](bold green)' # Частина 'success_symbol' буде використовувати символ '➜' підсвічений значенням 'bold green' -# Disable the package module, hiding it from the prompt completely +# Вимкнути модуль package, повністю приховавши його в командному рядку [package] disabled = true ``` -### Config File Location +### Розташування файлу налаштувань -You can change default configuration file location with `STARSHIP_CONFIG` environment variable: +Ви можете змінити типове розташування файлу налаштувань за допомогою змінної середовища `STARSHIP_CONFIG`: ```sh export STARSHIP_CONFIG=~/example/non/default/path/starship.toml ``` -Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: +Так само і в PowerShell (Windows), можна додати цей рядок до `$PROFILE`: ```powershell $ENV:STARSHIP_CONFIG = "$HOME\example\non\default\path\starship.toml" ``` -Or for Cmd (Windows) would be adding this line to your `starship.lua`: +Або для Cmd (Windows), додайте рядок до вашого файлу `starship.lua`: ```lua os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\starship.toml') ``` -### Logging +### Ведення журналу -By default starship logs warnings and errors into a file named `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, where the session key is corresponding to an instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +Стандартно starship виводить попередження та інформацію про помилки у файл `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, де ключ сесії відповідає екземпляру вашого термінала. Це, однак, може бути змінено за допомогою змінної середовища `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache ``` -Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: +Так само і в PowerShell (Windows), можна додати цей рядок до `$PROFILE`: ```powershell $ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp" ``` -Or for Cmd (Windows) would be adding this line to your `starship.lua`: +Або для Cmd (Windows), додайте рядок до вашого файлу `starship.lua`: ```lua os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\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 Node.js that is currently installed on your computer, if your current directory is a Node.js project. +**Модуль**: Компонент командного рядка, що надає інформацію на основі контексту з вашої ОС. Наприклад, модуль "nodejs" показує версію Node.js, яка встановлена на вашому компʼютері, якщо ваша поточна тека є проєктом Node.js. -**Variable**: Smaller sub-components that contain information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of Node.js. +**Змінна**: менші субкомпоненти, що містять інформацію, що надається модулем. Наприклад, змінна "version" в модулі "nodejs" містить поточну версію Node.js. -By convention, most modules have a prefix of default terminal color (e.g. `via` in "nodejs") and an empty space as a suffix. +Згідно з правилами, більшість модулів мають префікс стандартного кольору термінала (наприклад, `via` в "nodejs") та порожнє місце як суфікс. -### Strings +### Рядки -In TOML syntax, [text values](https://toml.io/en/v1.0.0#string) are declared with `'`, `"`, `'''`, or `"""`. +В синтаксисі TOML [текстові значення](https://toml.io/en/v1.0.0#string) оголошуються за допомогою лапок `'`, `"`, `'''`, or `"""`. -The following Starship syntax symbols have special usage in a format string and must be escaped to display as that character: `$ [ ] ( )`. +Наступні символи синтаксису Starship мають спеціальне призначення у форматуванні рядків і повинні бути екрановані, якщо ви хочете показувати їх як символи: `$ [ ] ( )`. -| Symbol | Type | Notes | -| ------ | ------------------------- | ------------------------------------------------------ | -| `'` | literal string | less escaping | -| `"` | string | more escaping | -| `'''` | multi-line literal string | less escaping | -| `"""` | multi-line string | more escaping, newlines in declarations can be ignored | +| Символ | Тип | Примітки | +| ------ | ---------------------- | --------------------------------------------------------------------- | +| `'` | літерал | менш екранований | +| `"` | рядок | більш екранований | +| `'''` | багаторядковий літерал | менш екранований | +| `"""` | багаторядковий рядок | більш екранований, нові рядки в оголошеннях можуть бути проігноровані | -For example: +Наприклад: ```toml -# literal string +# літерал format = '☺\☻ ' -# regular string +# звичайний рядок format = "☺\\☻ " -# escaping Starship symbols +# екрановані службові символи Starship format = '\[\$\] ' ``` -When using line breaks, multi-line declarations can be used. For example, if you want to print a `$` symbol on a new line, the following values for `format` are equivalent: +При використанні символів розриву рядків можна використовувати багаторядкові оголошення. Наприклад, якщо ви хочете вивести символ `$` на новий рядок, такі значення для `format` є еквівалентними: ```toml -# with literal string +# для літералів format = ''' \$''' -# with multiline basic string +# для звичайних багаторядкових рядків format = """ \\$""" -# with basic string +# для звичайних рядків format = "\n\\$" ``` -In multiline basic strings, newlines can be used for formatting without being present in the value by escaping them. +У звичайних рядках, символ нового рядка можна використовувати наступним чином, щоб уникнути його показу. ```toml format = """ @@ -128,121 +128,121 @@ line2 """ ``` -### Format Strings +### Формат рядків -Format strings are the format that a module prints all its variables with. Most modules have an entry called `format` that configures the display format of the module. You can use texts, variables and text groups in a format string. +Формат рядків це формат, з яким модуль виводить всі змінні. У більшості модулів є запис з назвою `format`, який налаштовує формат виводу модуля. Можна використовувати текст, змінні та текстові групи у форматуванні рядків. -#### Variable +#### Змінна -A variable contains a `$` symbol followed by the name of the variable. The name of a variable can only contain letters, numbers and `_`. +Змінна починається з символу `$`, за яким йде назва змінної. Назва змінною може складатись лише з літер та цифр та символу `_`. -For example: +Наприклад: -- `'$version'` is a format string with a variable named `version`. -- `'$git_branch$git_commit'` is a format string with two variables named `git_branch` and `git_commit`. -- `'$git_branch $git_commit'` has the two variables separated with a space. +- `'$version` – це форматований рядок зі змінною з назвою `version`. +- `$git_branch$git_commit'` – рядок з двома змінними `git_branch` і `git_commit`. +- `'$git_branch $git_commit'` має дві змінні, розділені пробілом. -#### Text Group +#### Текстова група -A text group is made up of two different parts. +Текстова група складається з двох різних частин. -The first part, which is enclosed in a `[]`, is a [format string](#format-strings). You can add texts, variables, or even nested text groups in it. +Перша частина, яка вкладена у квадратні дужки `[]` – це [форматований рядок](#format-strings). Ви можете додати текст, змінні або навіть вкладені текстові групи. -In the second part, which is enclosed in a `()`, is a [style string](#style-strings). This can be used to style the first part. +В наступній частині, що вкладена в круглі дужки `()`, міститься [опис стилю рядка](#style-strings). Ця частина використовується для стилізації першої частини. -For example: +Наприклад: -- `'[on](red bold)'` will print a string `on` with bold text colored red. -- `'[⌘ $version](bold green)'` will print a symbol `⌘` followed by the content of variable `version`, with bold text colored green. -- `'[a [b](red) c](green)'` will print `a b c` with `b` red, and `a` and `c` green. +- `'[on](red bold)'` – виведе рядок `on` жирним шрифтом підсвічений червоним. +- `'[⌘ $version](bold green)'` – виведе символ `⌘` разом з вмістом змінної `version` жирним шрифтом підсвіченим зеленим. +- `'[a [b](red) c](green)'` – виведе `a b c`, де `b` – червона, а `a` та `c` – зелені. -#### Style Strings +#### Стилі рядків -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'` sets green text on a blue background -- `'bg:blue fg:bright-green'` sets bright green text on a blue background -- `'bold fg:27'` sets bold text with [ANSI color](https://i.stack.imgur.com/KTSQa.png) 27 -- `'underline bg:#bf5700'` sets underlined text on a burnt orange background -- `'bold italic fg:purple'` sets bold italic purple text -- `''` explicitly disables all styling +- `'fg:green bg:blue'` – зелений текст на блакитному фоні +- `'bg:blue fg:bright-green'` – яскраво зелений текст на блакитному фоні +- `'bold fg:27'` – жирний текст з [ANSI кольором](https://i.stack.imgur.com/KTSQa.png) 27 +- `'underline bg:#bf5700'` – підкреслений текст на яскраво помаранчевому фоні +- `'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 +#### Умовне форматування -A conditional format string wrapped in `(` and `)` will not render if all variables inside are empty. +Рядок з умовним форматуванням, огорнутий в круглі дужки `(` та `)`, не буде показуватись якщо змінні в середині не містять значень. -For example: +Наприклад: -- `'(@$region)'` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region. -- `'(some text)'` will always show nothing since there are no variables wrapped in the braces. -- When `$combined` is a shortcut for `\[$a$b\]`, `'($combined)'` will show nothing only if `$a` and `$b` are both `None`. This works the same as `'(\[$a$b\] )'`. +- `'(@$region)'` – не буде показуватись, якщо змінна `region` дорівнює `None` чи є порожнім рядком, в іншому випадку вона буде показана разом з `@`, за яким йде значення регіону. +- `'(якийсь текст)'` ніколи не буде показуватись, через те, що немає змінних, загорнутих в дужки. +- Коли `$combined` є посиланням для `\[$a$b\]`, `'($combined)'` не показуватиме нічого, лише якщо `$a` і `$b` одночасно містять `None`. Це працює так само й для `'(\[$a$b\] )'`. -### Negative matching +### Негативний збіг -Many modules have `detect_extensions`, `detect_files`, and `detect_folders` variables. These take lists of strings to match or not match. "Negative" options, those which should not be matched, are indicated with a leading '!' character. The presence of _any_ negative indicator in the directory will result in the module not being matched. +Багато модулів мають змінні `detect_extensions`, `detect_files` та `detect_folders`. Вони отримують перелік рядків для порівняння, чи в них є збіги, чи – немає. Символ для перевірки "негативного збігу" (негативний збіг – те що не має мати збігу з вказаним значенням) – '!' знак оклику, вказується на початку параметра, що перевіряється. Наявність _будь-якого_ індикатора негативного збігу в теці призведе до того, що результат роботи модуля буде перевірятись на негативний збіг. -Extensions are matched against both the characters after the last dot in a filename, and the characters after the first dot in a filename. For example, `foo.bar.tar.gz` will be matched against `bar.tar.gz` and `gz` in the `detect_extensions` variable. Files whose name begins with a dot are not considered to have extensions at all. +Розширення зіставляються як із символами після останньої крапки в назві файлу, так і з символами після першої крапки в назві файлу. Наприклад, `foo.bar.tar.gz` буде збігатись з `bar.tar.gz` і `gz` у змінній `detect_extensions`. Файли, назва яких починається з крапки, взагалі не вважаються такими, що мають розширення. -To see how this works in practice, you could match TypeScript but not MPEG Transport Stream files thus: +Щоб побачити, як це працює на практиці, ви можете шукати збіг для файлів TypeScript, але не для MPEG Transport Stream, таким чином: ```toml detect_extensions = ['ts', '!video.ts', '!audio.ts'] ``` -## Prompt +## Командний рядок -This is the list of prompt-wide configuration options. +Це перелік параметрів налаштувань, що використовуються для всього командного рядка. -### Options +### Параметри -| Option | Default | Description | -| ----------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `format` | [link](#default-prompt-format) | Configure the format of the prompt. | -| `right_format` | `''` | See [Enable Right Prompt](/advanced-config/#enable-right-prompt) | -| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). | -| `command_timeout` | `500` | Timeout for commands executed by starship (in milliseconds). | -| `add_newline` | `true` | Inserts blank line between shell prompts. | -| `palette` | `''` | Sets which color palette from `palettes` to use. | -| `palettes` | `{}` | Collection of color palettes that assign [colors](/advanced-config/#style-strings) to user-defined names. Note that color palettes cannot reference their own color definitions. | +| Параметр | Стандартно | Опис | +| ----------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | [link](#default-prompt-format) | Налаштовує формат командного рядка. | +| `right_format` | `''` | Див [Увімкнути командний рядок праворуч](/advanced-config/#enable-right-prompt) | +| `scan_timeout` | `30` | Тайм-аут для сканування файлів (у мілісекундах). | +| `command_timeout` | `500` | Тайм-аут для команд, виконаних starship (у мілісекундах). | +| `add_newline` | `true` | Вставити порожній рядок між командними рядками в оболонці. | +| `palette` | `''` | Встановлює кольорову палітру використовуючи `palettes`. | +| `palettes` | `{}` | Колекція кольорових палітр, для призначення [кольорів](/advanced-config/#style-strings) до назв визначених користувачем. Зверніть увагу, що кольорові палітри не можуть посилатися на їх власні визначення кольору. | -### Example +### Приклад ```toml # ~/.config/starship.toml -# Use custom format +# Використовуємо власний формат format = ''' [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) ''' -# Wait 10 milliseconds for starship to check files under the current directory. +# Чекаємо 10 мілісекунд, поки starship перевірить файли в поточній теці. scan_timeout = 10 -# Disable the blank line at the start of the prompt +# Не додавати порожній рядок на початку командного рядка add_newline = false -# Set 'foo' as custom color palette +# Встановлює власну кольорову палітру 'foo' palette = 'foo' -# Define custom colors +# Визначає власні кольори [palettes.foo] -# Overwrite existing color +# Перевизначає наявний колір blue = '21' -# Define new color +# Визначає новий колір mustard = '#af8700' ``` -### 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: +Стандартне значення змінної `format` використовується для визначення вигляду командного рядка, якщо вона пуста або змінна `format` відсутня. Стандартне значення є таким, як зазначено нижче: ```toml format = '$all' -# Which is equivalent to +# Є еквівалентом format = """ $username\ $hostname\ @@ -329,55 +329,55 @@ $shell\ $character""" ``` -If you just want to extend the default format, you can use `$all`; modules you explicitly add to the format will not be duplicated. Eg. +Якщо ви просто хочете розширити стандартний формат, можете використовувати `$all`; модулі, які ви явно додали до формату, не будуть подвоєні. Напр. ```toml -# Move the directory to the second line +# Перемістити назву теки на другий рядок format = '$all$directory$character' ``` ## AWS -The `aws` module shows the current AWS region and profile and an expiration timer when using temporary credentials. The output of the module uses the `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env vars and the `~/.aws/config` and `~/.aws/credentials` files as required. +Модуль `aws` показує поточний регіон AWS і профіль, а також час, що залишився до кінця сесії при використанні тимчасових облікових даних. Для виводу модуль використовує змінні `AWS_REGION`, `AWS_DEFAULT_REGION` і `AWS_PROFILE` та файли `~/.aws/config` і `~/.aws/credentials`, коли треба. -The module will display a profile only if its credentials are present in `~/.aws/credentials` or if a `credential_process` or `sso_start_url` are defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice. If the option `force_display` is set to `true`, all available information will be displayed even if no credentials per the conditions above are detected. +Модуль буде показуватиме профіль лише в тому випадку, якщо облікові дані знаходяться в `~/.aws/credentials` або якщо `credential_process` чи `sso_start_url` визначені в `~/.aws/config`. Крім того, достатньо буде визначити будь-яку змінну `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` або `AWS_SESSION_TOKEN`. Якщо для параметра `force_display` встановлено значення `true`, уся доступна інформація буде показуватись, навіть якщо не буде виявлено жодних облікових даних відповідно до наведених вище умов. -When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var and the credentials expiration date is read from the `AWS_SESSION_EXPIRATION` env var. +Під час використання [aws-vault](https://github.com/99designs/aws-vault) профіль зчитується зі змінної `AWS_VAULT`, а дата закінчення терміну дії облікових даних зчитується зі змінної `AWS_SESSION_EXPIRATION`. -When using [awsu](https://github.com/kreuzwerker/awsu) the profile is read from the `AWSU_PROFILE` env var. +Під час використання [awsu](https://github.com/kreuzwerker/awsu) профіль читається зі змінної `AWSU_PROFILE`. -When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFILE` env var and the credentials expiration date is read from the `AWSUME_EXPIRATION` env var. +Під час використання [AWSume](https://awsu.me) профіль зчитується зі змінної `AWSUME_PROFILE`, а дата закінчення терміну дії облікових даних зчитується зі змінної `AWSUME_EXPIRATION`. -When using [saml2aws](https://github.com/Versent/saml2aws) the expiration information obtained from `~/.aws/credentials` falls back to the `x_security_token_expires` key. +Під час використання [saml2aws](https://github.com/Versent/saml2aws) інформація про закінчення терміну дії, отримана з `~/.aws/credentials`, повертається до ключа `x_security_token_expires`. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol($profile )(\($region\) )(\[$duration\] )]($style)'` | The format for the module. | -| `symbol` | `'☁️ '` | The symbol used before displaying the current AWS profile. | -| `region_aliases` | `{}` | Table of region aliases to display in addition to the AWS name. | -| `profile_aliases` | `{}` | Table of profile aliases to display in addition to the AWS name. | -| `style` | `'bold yellow'` | The style for the module. | -| `expiration_symbol` | `X` | The symbol displayed when the temporary credentials have expired. | -| `disabled` | `false` | Disables the `AWS` module. | -| `force_display` | `false` | If `true` displays info even if `credentials`, `credential_process` or `sso_start_url` have not been setup. | +| Параметр | Стандартно | Опис | +| ------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `format` | `'on [$symbol($profile )(\($region\) )(\[$duration\] )]($style)'` | Формат модуля. | +| `symbol` | `'☁️ '` | Символ, який використовується під час показу перед поточним профілем AWS. | +| `region_aliases` | `{}` | Таблиця псевдонімів регіону для показу на додачу до назви AWS. | +| `profile_aliases` | `{}` | Таблиця псевдонімів профілю для показу на додачу до назви AWS. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `expiration_symbol` | `X` | Символ, який показується, коли закінчився термін дії тимчасових облікових даних. | +| `disabled` | `false` | Вимикає модуль `AWS`. | +| `force_display` | `false` | Якщо `true`, інформація показується, навіть якщо `credentials`, `credential_process` або `sso_start_url` не вказано. | -### Variables +### Змінні -| Variable | Example | Description | -| --------- | ---------------- | ------------------------------------------- | -| region | `ap-northeast-1` | The current AWS region | -| profile | `astronauts` | The current AWS profile | -| duration | `2h27m20s` | The temporary credentials validity duration | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------------- | ---------------------------------------- | +| region | `ap-northeast-1` | Поточний регіон AWS | +| profile | `astronauts` | Поточний профіль AWS | +| duration | `2h27m20s` | Термін дії тимчасових облікових даних | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Examples +### Приклади -#### Display everything +#### Показати все ```toml # ~/.config/starship.toml @@ -393,7 +393,7 @@ us-east-1 = 'va' CompanyGroupFrobozzOnCallAccess = 'Frobozz' ``` -#### Display region +#### Показати регіон ```toml # ~/.config/starship.toml @@ -407,7 +407,7 @@ ap-southeast-2 = 'au' us-east-1 = 'va' ``` -#### Display profile +#### Показати профіль ```toml # ~/.config/starship.toml @@ -422,20 +422,20 @@ Enterprise_Naming_Scheme-voidstars = 'void**' ## Azure -The `azure` module shows the current Azure Subscription. This is based on showing the name of the default subscription or the username, as defined in the `~/.azure/azureProfile.json` file. +Модуль `azure` показує поточну підписку Azure. Інформація заснована на назві стандартної підписки або імені користувача, як визначено у файлі `~/.azure/azureProfile.json`. -### Options +### Параметри -| Variable | Default | Description | -| ---------- | ---------------------------------------- | ------------------------------------------ | -| `format` | `'on [$symbol($subscription)]($style) '` | The format for the Azure module to render. | -| `symbol` | `'ﴃ '` | The symbol used in the format. | -| `style` | `'blue bold'` | The style used in the format. | -| `disabled` | `true` | Disables the `azure` module. | +| Змінна | Стандартно | Опис | +| ---------- | ---------------------------------------- | ------------------------------ | +| `format` | `'on [$symbol($subscription)]($style) '` | Формат для модуля Azure. | +| `symbol` | `'ﴃ '` | Символ, який використовується. | +| `style` | `'blue bold'` | Стиль, який використовується. | +| `disabled` | `true` | Вимикає модуль `azure`. | -### Examples +### Приклади -#### Display Subscription Name +#### Показ назви підписки ```toml # ~/.config/starship.toml @@ -447,7 +447,7 @@ symbol = 'ﴃ ' style = 'blue bold' ``` -#### Display Username +#### Показ імені користувача ```toml # ~/.config/starship.toml @@ -461,22 +461,22 @@ style = "blue bold" ## Battery -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%. -### Options +### Параметри -| Option | Default | Description | -| -------------------- | --------------------------------- | --------------------------------------------------- | -| `full_symbol` | `' '` | The symbol shown when the battery is full. | -| `charging_symbol` | `' '` | The symbol shown when the battery is charging. | -| `discharging_symbol` | `' '` | The symbol shown when the battery is discharging. | -| `unknown_symbol` | `' '` | The symbol shown when the battery state is unknown. | -| `empty_symbol` | `' '` | The symbol shown when the battery state is empty. | -| `format` | `'[$symbol$percentage]($style) '` | The format for the module. | -| `display` | [link](#battery-display) | Display threshold and style for the module. | -| `disabled` | `false` | Disables the `battery` module. | +| Параметр | Стандартно | Опис | +| -------------------- | --------------------------------- | ------------------------------------ | +| `full_symbol` | `' '` | Символ, повного заряду батареї. | +| `charging_symbol` | `' '` | Символ процесу заряджання. | +| `discharging_symbol` | `' '` | Символ, коли батарея розряджається. | +| `unknown_symbol` | `' '` | Символ, коли стан батареї невідомий. | +| `empty_symbol` | `' '` | Символ повністю розрядженої батареї. | +| `format` | `'[$symbol$percentage]($style) '` | Формат модуля. | +| `display` | [link](#battery-display) | Граничні значення і стиль модуля. | +| `disabled` | `false` | Вимикає модуль `battery`. | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -487,9 +487,9 @@ charging_symbol = '⚡️ ' discharging_symbol = '💀 ' ``` -### Battery Display +### Показ модуля Battery -The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. The default is as shown: +Параметр конфігурації `display` використовується для визначення, коли має показуватись індикатор заряду батареї (threshold), який символ використовуватиметься (symbol) і як він виглядає (style). Якщо параметр `display` не встановлено. Стандартне значення є таким, як зазначено нижче: ```toml [[battery.display]] @@ -497,65 +497,65 @@ threshold = 10 style = 'bold red' ``` -The default value for the `charging_symbol` and `discharging_symbol` option is respectively the value of `battery`'s `charging_symbol` and `discharging_symbol` option. +Типові значення для опції `charging_symbol` і `discharging_symbol` є відповідно типовими значеннями параметрів `charging_symbol` та `discharging_symbol` `батареї`. -#### Options +#### Параметри -The `display` option is an array of the following table. +Параметр `display` є масивом з наступної таблиці. -| Option | Default | Description | -| -------------------- | ------------ | --------------------------------------------------------------------------------------------------------- | -| `threshold` | `10` | The upper bound for the display option. | -| `style` | `'red bold'` | The style used if the display option is in use. | -| `charging_symbol` | | Optional symbol displayed if display option is in use, defaults to battery's `charging_symbol` option. | -| `discharging_symbol` | | Optional symbol displayed if display option is in use, defaults to battery's `discharging_symbol` option. | +| Параметр | Стандартно | Опис | +| -------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `threshold` | `10` | Верхня межа для параметра. | +| `style` | `'red bold'` | Стиль, який використовується, якщо параметр використовується. | +| `charging_symbol` | | Необов'язковий символ, що показується якщо параметр display використовується, стандартно використовується параметр `charging_symbol`. | +| `discharging_symbol` | | Необов'язковий символ, що показується якщо параметр display використовується, стандартно використовується параметр `discharging_symbol`. | -#### Example +#### Приклад ```toml -[[battery.display]] # 'bold red' style and discharging_symbol when capacity is between 0% and 10% +[[battery.display]] # стиль 'bold red' та discharging_symbol, якщо заряд між 0% та 10% threshold = 10 style = 'bold red' -[[battery.display]] # 'bold yellow' style and 💦 symbol when capacity is between 10% and 30% +[[battery.display]] # стиль 'bold yellow' та символ 💦, якщо заряд між 10% та 30% threshold = 30 style = 'bold yellow' discharging_symbol = '💦' -# when capacity is over 30%, the battery indicator will not be displayed +# якщо рівень заряду понад 30%, індикатор заряду не показується ``` ## Buf -The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met: +Модуль `buf` показує поточну встановлену версію [Buf](https://buf.build). Типово, модуль показується, якщо всі наступні умови виконуються: -- The [`buf`](https://github.com/bufbuild/buf) CLI is installed. -- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file. +- Встановлено [`buf`](https://github.com/bufbuild/buf) CLI. +- Поточна тека містить файли налаштувань [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), чи [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml). -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ----------------------------------------------- | ----------------------------------------------------- | -| `format` | `'with [$symbol($version )]($style)'` | The format for the `buf` module. | -| `version_format` | `'v${raw}'` | The version format. | -| `symbol` | `'🐃 '` | The symbol used before displaying the version of Buf. | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `['buf.yaml', 'buf.gen.yaml', 'buf.work.yaml']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `style` | `'bold blue'` | The style for the module. | -| `disabled` | `false` | Disables the `elixir` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ----------------------------------------------- | -------------------------------------------- | +| `format` | `'with [$symbol($version )]($style)'` | Формат для модуля `buf`. | +| `version_format` | `'v${raw}'` | Формат версії. | +| `symbol` | `'🐃 '` | Символ, який знаходиться перед версією Buf. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['buf.yaml', 'buf.gen.yaml', 'buf.work.yaml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `style` | `'bold blue'` | Стиль модуля. | +| `disabled` | `false` | Вимкнути модуль `elixir`. | -### Variables +### Змінні -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| `version` | `v1.0.0` | The version of `buf` | -| `symbol` | | Mirrors the value of option `symbol` | -| `style`* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| `version` | `v1.0.0` | Версія `buf` | +| `symbol` | | Віддзеркалює значення параметра `symbol` | +| `style`* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -566,35 +566,35 @@ symbol = '🦬 ' ## Bun -The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met: +Модуль `bun` показує поточну встановлену версію рушія JavaScript – [bun](https://bun.sh). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `bun.lockb` file -- The current directory contains a `bunfig.toml` file +- Поточна тека містить файл `bun.lockb` +- Поточна тека містить файл `bunfig.toml` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🍞 '` | A format string representing the symbol of Bun. | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold red'` | The style for the module. | -| `disabled` | `false` | Disables the `bun` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🍞 '` | A format string representing the symbol of Bun. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold red'` | Стиль модуля. | +| `disabled` | `false` | Disables the `bun` module. | -### Variables +### Змінні -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v0.1.4` | The version of `bun` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v0.1.4` | The version of `bun` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -607,28 +607,28 @@ format = 'via [🍔 $version](bold green) ' The `c` module shows some information about your C compiler. By default the module will be shown if the current directory contains a `.c` or `.h` file. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version(-$name) )]($style)'` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'C '` | The symbol used before displaying the compiler details | -| `detect_extensions` | `['c', 'h']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `commands` | [ [ 'cc', '--version' ], [ 'gcc', '--version' ], [ 'clang', '--version' ] ] | How to detect what the compiler is | -| `style` | `'bold 149'` | The style for the module. | -| `disabled` | `false` | Disables the `c` module. | +| Параметр | Стандартно | Опис | +| ------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version(-$name) )]($style)'` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'C '` | The symbol used before displaying the compiler details | +| `detect_extensions` | `['c', 'h']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `commands` | [ [ 'cc', '--version' ], [ 'gcc', '--version' ], [ 'clang', '--version' ] ] | How to detect what the compiler is | +| `style` | `'bold 149'` | Стиль модуля. | +| `disabled` | `false` | Disables the `c` module. | -### Variables +### Змінні -| Variable | Example | Description | -| -------- | ------- | ------------------------------------ | -| name | clang | The name of the compiler | -| version | 13.0.0 | The version of the compiler | -| symbol | | Mirrors the value of option `symbol` | -| style | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ------- | ------- | ---------------------------------------- | +| name | clang | The name of the compiler | +| version | 13.0.0 | The version of the compiler | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style | | Віддзеркалює значення параметра `style` | NB that `version` is not in the default format. @@ -640,7 +640,7 @@ Each command is represented as a list of the executable name, followed by its ar If a C compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/). -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -666,9 +666,9 @@ By default it only changes color. If you also want to change its shape take a lo ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | --------------------------- | -------------------- | --------------------------------------------------------------------------------------- | | `format` | `'$symbol '` | The format string used before the text input. | | `success_symbol` | `'[❯](bold green)'` | The format string used before the text input if the previous command succeeded. | @@ -679,13 +679,13 @@ By default it only changes color. If you also want to change its shape take a lo | `vimcmd_visual_symbol` | `'[❮](bold yellow)'` | The format string used before the text input if the shell is in vim visual mode. | | `disabled` | `false` | Disables the `character` module. | -### Variables +### Змінні -| Variable | Example | Description | -| -------- | ------- | -------------------------------------------------------------------------------------------------------- | -| symbol | | A mirror of either `success_symbol`, `error_symbol`, `vimcmd_symbol` or `vimcmd_replace_one_symbol` etc. | +| Змінна | Приклад | Опис | +| ------ | ------- | -------------------------------------------------------------------------------------------------------- | +| symbol | | A mirror of either `success_symbol`, `error_symbol`, `vimcmd_symbol` or `vimcmd_replace_one_symbol` etc. | -### Examples +### Приклади #### With custom error shape @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -723,28 +723,28 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak - The current directory contains a `CMakeLists.txt` file - The current directory contains a `CMakeCache.txt` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | -------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'△ '` | The symbol used before the version of cmake. | -| `detect_extensions` | `[]` | Which extensions should trigger this module | -| `detect_files` | `['CMakeLists.txt', 'CMakeCache.txt']` | Which filenames should trigger this module | -| `detect_folders` | `[]` | Which folders should trigger this module | -| `style` | `'bold blue'` | The style for the module. | -| `disabled` | `false` | Disables the `cmake` module. | +| Параметр | Стандартно | Опис | +| ------------------- | -------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'△ '` | The symbol used before the version of cmake. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль | +| `detect_files` | `['CMakeLists.txt', 'CMakeCache.txt']` | Які імена файлів мають запускати цей модуль | +| `detect_folders` | `[]` | Which folders should trigger this module | +| `style` | `'bold blue'` | Стиль модуля. | +| `disabled` | `false` | Disables the `cmake` module. | -### Variables +### Змінні -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v3.17.3` | The version of cmake | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v3.17.3` | The version of cmake | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка ## COBOL / GNUCOBOL @@ -753,28 +753,28 @@ The `cobol` module shows the currently installed version of COBOL. By default, t - The current directory contains any files ending in `.cob` or `.COB` - The current directory contains any files ending in `.cbl` or `.CBL` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `symbol` | `'⚙️ '` | The symbol used before displaying the version of COBOL. | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `style` | `'bold blue'` | The style for the module. | -| `detect_extensions` | `['cbl', 'cob', 'CBL', 'COB']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `disabled` | `false` | Disables the `cobol` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `symbol` | `'⚙️ '` | The symbol used before displaying the version of COBOL. | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `style` | `'bold blue'` | Стиль модуля. | +| `detect_extensions` | `['cbl', 'cob', 'CBL', 'COB']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `disabled` | `false` | Disables the `cobol` module. | ### Variables -| Variable | Example | Description | -| --------- | ---------- | ------------------------------------ | -| version | `v3.1.2.0` | The version of `cobol` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------- | ---------------------------------------- | +| version | `v3.1.2.0` | The version of `cobol` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка ## Command Duration @@ -788,14 +788,14 @@ If you are running Starship in `bash`, do not hook the `DEBUG` trap after runnin 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. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `min_time` | `2_000` | Shortest duration to show time for (in milliseconds). | | `show_milliseconds` | `false` | Show milliseconds in addition to seconds for the duration. | -| `format` | `'took [$duration]($style) '` | The format for the module. | -| `style` | `'bold yellow'` | The style for the module. | +| `format` | `'took [$duration]($style) '` | Формат модуля. | +| `style` | `'bold yellow'` | Стиль модуля. | | `disabled` | `false` | Disables the `cmd_duration` module. | | `show_notifications` | `false` | Show desktop notifications when command completes. | | `min_time_to_notify` | `45_000` | Shortest duration for notification (in milliseconds). | @@ -803,14 +803,14 @@ Bash users who need preexec-like functionality can use [rcaloras's bash_preexec ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | -------- | --------------------------------------- | | duration | `16m40s` | The time it took to execute the command | -| style\* | | Mirrors the value of option `style` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -830,28 +830,28 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `truncation_length` | `1` | The number of directories the environment path should be truncated to, if the environment was created via `conda create -p [path]`. `0` means no truncation. Also see the [`directory`](#directory) module. | | `symbol` | `'🅒 '` | The symbol used before the environment name. | -| `style` | `'bold green'` | The style for the module. | -| `format` | `'via [$symbol$environment]($style) '` | The format for the module. | +| `style` | `'bold green'` | Стиль модуля. | +| `format` | `'via [$symbol$environment]($style) '` | Формат модуля. | | `ignore_base` | `true` | Ignores `base` environment when activated. | | `disabled` | `false` | Disables the `conda` module. | ### Variables -| Variable | Example | Description | -| ----------- | ------------ | ------------------------------------ | -| environment | `astronauts` | The current conda environment | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ----------- | ------------ | ---------------------------------------- | +| environment | `astronauts` | The current conda environment | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -864,26 +864,26 @@ format = '[$symbol$environment](dimmed green) ' The `container` module displays a symbol and container name, if inside a container. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | ---------------------------------- | ----------------------------------------- | | `symbol` | `'⬢'` | The symbol shown, when inside a container | -| `style` | `'bold red dimmed'` | The style for the module. | -| `format` | `'[$symbol \[$name\]]($style) '` | The format for the module. | +| `style` | `'bold red dimmed'` | Стиль модуля. | +| `format` | `'[$symbol \[$name\]]($style) '` | Формат модуля. | | `disabled` | `false` | Disables the `container` module. | ### Variables -| Variable | Example | Description | -| --------- | ------------------- | ------------------------------------ | -| name | `fedora-toolbox:35` | The name of the container | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------------------- | ---------------------------------------- | +| name | `fedora-toolbox:35` | The name of the container | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -894,35 +894,35 @@ format = '[$symbol \[$name\]]($style) ' ## Crystal -The `crystal` module shows the currently installed version of [Crystal](https://crystal-lang.org/). By default the module will be shown if any of the following conditions are met: +The `crystal` module shows the currently installed version of [Crystal](https://crystal-lang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `shard.yml` file +- Поточна тека містить файл `shard.yml` - The current directory contains a `.cr` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `symbol` | `'🔮 '` | The symbol used before displaying the version of crystal. | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `style` | `'bold red'` | The style for the module. | -| `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. | -| `disabled` | `false` | Disables the `crystal` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `symbol` | `'🔮 '` | The symbol used before displaying the version of crystal. | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `style` | `'bold red'` | Стиль модуля. | +| `detect_extensions` | `['cr']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['shard.yml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `disabled` | `false` | Disables the `crystal` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v0.32.1` | The version of `crystal` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v0.32.1` | The version of `crystal` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -933,34 +933,34 @@ format = 'via [✨ $version](bold blue) ' ## Daml -The `daml` module shows the currently used [Daml](https://www.digitalasset.com/developers) SDK version when you are in the root directory of your Daml project. The `sdk-version` in the `daml.yaml` file will be used, unless it's overridden by the `DAML_SDK_VERSION` environment variable. By default the module will be shown if any of the following conditions are met: +The `daml` module shows the currently used [Daml](https://www.digitalasset.com/developers) SDK version when you are in the root directory of your Daml project. The `sdk-version` in the `daml.yaml` file will be used, unless it's overridden by the `DAML_SDK_VERSION` environment variable. Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `daml.yaml` file +- Поточна тека містить файл `daml.yaml` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'Λ '` | A format string representing the symbol of Daml | -| `style` | `'bold cyan'` | The style for the module. | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `['daml.yaml']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `disabled` | `false` | Disables the `daml` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'Λ '` | A format string representing the symbol of Daml | +| `style` | `'bold cyan'` | Стиль модуля. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['daml.yaml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `disabled` | `false` | Disables the `daml` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v2.2.0` | The version of `daml` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v2.2.0` | The version of `daml` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -971,36 +971,36 @@ format = 'via [D $version](bold bright-green) ' ## Dart -The `dart` module shows the currently installed version of [Dart](https://dart.dev/). By default the module will be shown if any of the following conditions are met: +The `dart` module shows the currently installed version of [Dart](https://dart.dev/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a file with `.dart` extension - The current directory contains a `.dart_tool` directory - The current directory contains a `pubspec.yaml`, `pubspec.yml` or `pubspec.lock` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🎯 '` | A format string representing the symbol of Dart | -| `detect_extensions` | `['dart']` | Which extensions should trigger this module. | -| `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'` | The style for the module. | -| `disabled` | `false` | Disables the `dart` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🎯 '` | A format string representing the symbol of Dart | +| `detect_extensions` | `['dart']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['pubspec.yaml', 'pubspec.yml', 'pubspec.lock']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['.dart_tool']` | Which folders should trigger this module. | +| `style` | `'bold blue'` | Стиль модуля. | +| `disabled` | `false` | Disables the `dart` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v2.8.4` | The version of `dart` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v2.8.4` | The version of `dart` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1011,32 +1011,32 @@ format = 'via [🔰 $version](bold red) ' ## Deno -The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met: +The `deno` module shows you your currently installed version of [Deno](https://deno.land/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦕 '` | A format string representing the symbol of Deno | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'green bold'` | The style for the module. | -| `disabled` | `false` | Disables the `deno` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🦕 '` | A format string representing the symbol of Deno | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'green bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `deno` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v1.8.3` | The version of `deno` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v1.8.3` | The version of `deno` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1053,14 +1053,14 @@ When using the fish style pwd option, instead of hiding the path that is truncat 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`. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | `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. | +| `format` | `'[$path]($style)[$read_only]($read_only_style) '` | Формат модуля. | +| `style` | `'bold cyan'` | Стиль модуля. | | `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. | @@ -1074,11 +1074,11 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
This module has a few advanced configuration options that control how the directory is displayed. -| Advanced Option | Default | Description | -| --------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `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` | 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. | +| 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` | 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. @@ -1094,29 +1094,29 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Variables -| Variable | Example | Description | -| --------- | --------------------- | ----------------------------------- | -| path | `'D:/Projects'` | The current directory path | -| style\* | `'black bold dimmed'` | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------------------- | --------------------------------------- | +| path | `'D:/Projects'` | The current directory path | +| style\* | `'black bold dimmed'` | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка
The git repos have additional variables. Let us consider the path `/path/to/home/git_repo/src/lib` -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ------------------ | --------------------- | --------------------------------------- | | before_root_path | `'/path/to/home/'` | The path before git root directory path | | repo_root | `'git_repo'` | The git root directory name | | path | `'/src/lib'` | The remaining path | -| style | `'black bold dimmed'` | Mirrors the value of option `style` | +| style | `'black bold dimmed'` | Віддзеркалює значення параметра `style` | | repo_root_style | `'underline white'` | Style for git root directory name |
-### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1130,30 +1130,30 @@ truncation_symbol = '…/' 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` or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use). -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `format` | `'via [$symbol$context]($style) '` | The format for the 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'` | The style for the module. | +| `style` | `'blue bold'` | Стиль модуля. | | `disabled` | `false` | Disables the `docker_context` module. | ### Variables -| Variable | Example | Description | -| --------- | -------------- | ------------------------------------ | -| context | `test_context` | The current docker context | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------------- | ---------------------------------------- | +| context | `test_context` | The current docker context | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1183,32 +1183,32 @@ Internally, this module uses its own mechanism for version detection. Typically The module will also show the Target Framework Moniker () when there is a `.csproj` file in the current directory. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )(🎯 $tfm )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'.NET '` | The symbol used before displaying the version of dotnet. | -| `heuristic` | `true` | Use faster version detection to keep starship snappy. | -| `detect_extensions` | `['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'` | The style for the module. | -| `disabled` | `false` | Disables the `dotnet` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )(🎯 $tfm )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'.NET '` | The symbol used before displaying the version of dotnet. | +| `heuristic` | `true` | Use faster version detection to keep starship snappy. | +| `detect_extensions` | `['csproj', 'fsproj', 'xproj']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['global.json', 'project.json', 'Directory.Build.props', 'Directory.Build.targets', 'Packages.props']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `style` | `'bold blue'` | Стиль модуля. | +| `disabled` | `false` | Disables the `dotnet` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | ---------------- | ------------------------------------------------------------------ | | version | `v3.1.201` | The version of `dotnet` sdk | | tfm | `netstandard2.0` | The Target Framework Moniker that the current project is targeting | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1221,35 +1221,35 @@ heuristic = false ## Elixir -The `elixir` module shows the currently installed version of [Elixir](https://elixir-lang.org/) and [Erlang/OTP](https://erlang.org/doc/). By default the module will be shown if any of the following conditions are met: +The `elixir` module shows the currently installed version of [Elixir](https://elixir-lang.org/) and [Erlang/OTP](https://erlang.org/doc/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `mix.exs` file. +- Поточна тека містить файл `mix.exs`. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💧 '` | The symbol used before displaying the version of 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'` | The style for the module. | -| `disabled` | `false` | Disables the `elixir` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'💧 '` | The symbol used before displaying the version of Elixir/Erlang. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['mix.exs']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `style` | `'bold purple'` | Стиль модуля. | +| `disabled` | `false` | Вимкнути модуль `elixir`. | ### Variables -| Variable | Example | Description | -| ----------- | ------- | ------------------------------------ | -| version | `v1.10` | The version of `elixir` | -| otp_version | | The otp version of `elixir` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ----------- | ------- | ---------------------------------------- | +| version | `v1.10` | The version of `elixir` | +| otp_version | | The otp version of `elixir` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1260,38 +1260,38 @@ symbol = '🔮 ' ## Elm -The `elm` module shows the currently installed version of [Elm](https://elm-lang.org/). By default the module will be shown if any of the following conditions are met: +The `elm` module shows the currently installed version of [Elm](https://elm-lang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `elm.json` file -- The current directory contains a `elm-package.json` file +- Поточна тека містить файл `elm.json` +- Поточна тека містить файл `elm-package.json` - The current directory contains a `.elm-version` file - The current directory contains a `elm-stuff` folder - The current directory contains `*.elm` files -### Options +### Параметри -| Option | Default | Description | -| ------------------- | -------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `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'` | The style for the module. | -| `disabled` | `false` | Disables the `elm` module. | +| Параметр | Стандартно | Опис | +| ------------------- | -------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🌳 '` | A format string representing the symbol of Elm. | +| `detect_extensions` | `['elm']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['elm.json', 'elm-package.json', '.elm-version']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['elm-stuff']` | Які теки мають запускати цей модуль. | +| `style` | `'cyan bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `elm` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v0.19.1` | The version of `elm` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v0.19.1` | The version of `elm` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1328,28 +1328,28 @@ default = 'unknown user' ::: -### Options +### Параметри -| Option | Default | Description | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `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. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Disables the `env_var` module. | +| Параметр | Стандартно | Опис | +| ------------ | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | The symbol used before displaying the variable value. | +| `змінна` | | The environment variable to be displayed. | +| `стандартно` | | The default value to be displayed when the selected variable is not defined. | +| `format` | `"with [$env_value]($style) "` | Формат модуля. | +| `опис` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Disables the `env_var` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | ------------------------------------------- | ------------------------------------------ | | env_value | `Windows NT` (if _variable_ would be `$OS`) | The environment value of option `variable` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | `black bold dimmed` | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | `black bold dimmed` | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1373,35 +1373,35 @@ default = 'unknown user' ## Erlang -The `erlang` module shows the currently installed version of [Erlang/OTP](https://erlang.org/doc/). By default the module will be shown if any of the following conditions are met: +The `erlang` module shows the currently installed version of [Erlang/OTP](https://erlang.org/doc/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `rebar.config` file. -- The current directory contains a `erlang.mk` file. +- Поточна тека містить файл `rebar.config`. +- Поточна тека містить файл `erlang.mk`. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | The symbol used before displaying the version of erlang. | -| `style` | `'bold red'` | The style for the module. | -| `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. | -| `disabled` | `false` | Disables the `erlang` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `' '` | The symbol used before displaying the version of erlang. | +| `style` | `'bold red'` | Стиль модуля. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['rebar.config', 'elang.mk']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `disabled` | `false` | Disables the `erlang` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v22.1.3` | The version of `erlang` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v22.1.3` | The version of `erlang` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1412,34 +1412,34 @@ format = 'via [e $version](bold red) ' ## Fennel -The `fennel` module shows the currently installed version of [Fennel](https://fennel-lang.org). By default the module will be shown if any of the following conditions are met: +The `fennel` module shows the currently installed version of [Fennel](https://fennel-lang.org). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a file with the `.fnl` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🧅 '` | The symbol used before displaying the version of fennel. | -| `style` | `'bold green'` | The style for the module. | -| `detect_extensions` | `[fnl]` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `disabled` | `false` | Disables the `fennel` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🧅 '` | The symbol used before displaying the version of fennel. | +| `style` | `'bold green'` | Стиль модуля. | +| `detect_extensions` | `[fnl]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `disabled` | `false` | Disables the `fennel` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v1.2.1` | The version of `fennel` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v1.2.1` | The version of `fennel` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1452,15 +1452,15 @@ symbol = '⫰ ' The `fill` module fills any extra space on the line with a symbol. If multiple `fill` modules are present in a line they will split the space evenly between them. This is useful for aligning other modules. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | -------------- | --------------------------------- | | `symbol` | `'.'` | The symbol used to fill the line. | -| `style` | `'bold black'` | The style for the module. | +| `style` | `'bold black'` | Стиль модуля. | | `disabled` | `false` | Disables the `fill` module | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1481,28 +1481,28 @@ AA -------------------------------------------- BB ----------------------------- The `fossil_branch` module shows the name of the active branch of the check-out in your current directory. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | The format for the module. Use `'$branch'` to refer to the current branch name. | +| `format` | `'on [$symbol$branch]($style) '` | Формат модуля. Use `'$branch'` to refer to the current branch name. | | `symbol` | `' '` | The symbol used before the branch name of the check-out in your current directory. | -| `style` | `'bold purple'` | The style for the module. | +| `style` | `'bold purple'` | Стиль модуля. | | `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | | `truncation_symbol` | `'…'` | The symbol used to indicate a branch name was truncated. You can use `''` for no symbol. | | `disabled` | `true` | Disables the `fossil_branch` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| branch | `trunk` | The active Fossil branch | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| branch | `trunk` | The active Fossil branch | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1517,32 +1517,32 @@ truncation_symbol = '' The `gcloud` module shows the current configuration for [`gcloud`](https://cloud.google.com/sdk/gcloud) CLI. This is based on the `~/.config/gcloud/active_config` file and the `~/.config/gcloud/configurations/config_{CONFIG NAME}` file and the `CLOUDSDK_CONFIG` env var. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | The format for the module. | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Формат модуля. | | `symbol` | `'☁️ '` | The symbol used before displaying the current GCP profile. | | `region_aliases` | `{}` | Table of region aliases to display in addition to the GCP name. | | `project_aliases` | `{}` | Table of project aliases to display in addition to the GCP name. | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `disabled` | `false` | Disables the `gcloud` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | ------------- | ------------------------------------------------------------------ | | region | `us-central1` | The current GCP region | | account | `foo` | The current GCP profile | | domain | `example.com` | The current GCP profile domain | | project | | The current GCP project | -| active | `default` | The active config name written in `~/.config/gcloud/active_config` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| active | `стандартно` | The active config name written in `~/.config/gcloud/active_config` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Examples +### Приклади #### Display account and project @@ -1590,14 +1590,14 @@ very-long-project-name = 'vlpn' The `git_branch` module shows the active branch of the repo in your current directory. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `always_show_remote` | `false` | Shows the remote tracking branch name, even if it is equal to the local branch name. | -| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | The format for the module. Use `'$branch'` to refer to the current branch name. | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | Формат модуля. Use `'$branch'` to refer to the current branch name. | | `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | The style for the module. | +| `style` | `'bold purple'` | Стиль модуля. | | `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | | `truncation_symbol` | `'…'` | The symbol used to indicate a branch name was truncated. You can use `''` for no symbol. | | `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | @@ -1606,17 +1606,17 @@ The `git_branch` module shows the active branch of the repo in your current dire ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ------------- | -------- | ------------------------------------------------------------------------------------------------------ | | branch | `master` | The current branch name, falls back to `HEAD` if there's no current branch (e.g. git detached `HEAD`). | | remote_name | `origin` | The remote name. | | remote_branch | `master` | The name of the branch tracked on `remote_name`. | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1632,13 +1632,13 @@ ignore_branches = ['master', 'main'] The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | | `commit_hash_length` | `7` | The length of the displayed git commit hash. | -| `format` | `'[\($hash$tag\)]($style) '` | The format for the module. | -| `style` | `'bold green'` | The style for the module. | +| `format` | `'[\($hash$tag\)]($style) '` | Формат модуля. | +| `style` | `'bold green'` | Стиль модуля. | | `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state | | `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. | | `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. | @@ -1647,15 +1647,15 @@ The `git_commit` module shows the current commit hash and also the tag (if any) ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | --------- | -------------------------------------------- | | hash | `b703eb3` | The current git commit hash | | tag | `v1.0.0` | The tag name if showing tag info is enabled. | -| style\* | | Mirrors the value of option `style` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1669,9 +1669,9 @@ tag_symbol = '🔖 ' 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. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. | | `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. | @@ -1680,22 +1680,22 @@ The `git_state` module will show in directories which are part of a git reposito | `bisect` | `'BISECTING'` | A format string displayed when a `bisect` is in progress. | | `am` | `'AM'` | A format string displayed when an `apply-mailbox` (`git am`) is in progress. | | `am_or_rebase` | `'AM/REBASE'` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. | -| `style` | `'bold yellow'` | The style for the module. | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | The format for the module. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Формат модуля. | | `disabled` | `false` | Disables the `git_state` module. | ### Variables -| Variable | Example | Description | -| ---------------- | ---------- | ----------------------------------- | -| state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ---------------- | ---------- | --------------------------------------- | +| state | `REBASING` | The current state of the repo | +| progress_current | `1` | The current operation progress | +| progress_total | `2` | The total operation progress | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1715,28 +1715,28 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | -------------------- | ------------------------------------------------------------ | ------------------------------------- | | `added_style` | `'bold green'` | The style for the added count. | | `deleted_style` | `'bold red'` | The style for the deleted count. | | `only_nonzero_diffs` | `true` | Render status only for changed items. | -| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | The format for the module. | +| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | Формат модуля. | | `disabled` | `true` | Disables the `git_metrics` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ----------------- | ------- | ------------------------------------------- | | added | `1` | The current number of added lines | | deleted | `2` | The current number of deleted lines | | added_style\* | | Mirrors the value of option `added_style` | | deleted_style\* | | Mirrors the value of option `deleted_style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1756,9 +1756,9 @@ The Git Status module is very slow in Windows directories (for example under `/m ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | | `conflicted` | `'='` | This branch has merge conflicts. | @@ -1772,7 +1772,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | `staged` | `'+'` | The format of `staged` | | `renamed` | `'»'` | The format of `renamed` | | `deleted` | `'✘'` | The format of `deleted` | -| `style` | `'bold red'` | The style for the module. | +| `style` | `'bold red'` | Стиль модуля. | | `ignore_submodules` | `false` | Ignore changes to submodules. | | `disabled` | `false` | Disables the `git_status` module. | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | @@ -1781,7 +1781,7 @@ The Git Status module is very slow in Windows directories (for example under `/m The following variables can be used in `format`: -| Variable | Description | +| Змінна | Опис | | -------------- | ------------------------------------------------------------------------------------------------------------- | | `all_status` | Shortcut for`$conflicted$stashed$deleted$renamed$modified$staged$untracked` | | `ahead_behind` | Displays `diverged`, `ahead`, `behind` or `up_to_date` format string based on the current status of the repo. | @@ -1792,24 +1792,24 @@ The following variables can be used in `format`: | `staged` | Displays `staged` when a new file has been added to the staging area. | | `renamed` | Displays `renamed` when a renamed file has been added to the staging area. | | `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. | -| style\* | Mirrors the value of option `style` | +| style\* | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка The following variables can be used in `diverged`: -| Variable | Description | +| Змінна | Опис | | -------------- | ---------------------------------------------- | | `ahead_count` | Number of commits ahead of the tracking branch | | `behind_count` | Number of commits behind the tracking branch | The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: -| Variable | Description | -| -------- | ------------------------ | -| `count` | Show the number of files | +| Змінна | Опис | +| ------- | ------------------------ | +| `count` | Show the number of files | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1850,42 +1850,42 @@ windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.e ## Go -The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met: +The `golang` module shows the currently installed version of [Go](https://golang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `go.mod` file -- The current directory contains a `go.sum` file -- The current directory contains a `go.work` file -- The current directory contains a `glide.yaml` file +- Поточна тека містить файл `go.mod` +- Поточна тека містить файл `go.sum` +- Поточна тека містить файл `go.work` +- Поточна тека містить файл `glide.yaml` - The current directory contains a `Gopkg.yml` file - The current directory contains a `Gopkg.lock` file - The current directory contains a `.go-version` file - The current directory contains a `Godeps` directory - The current directory contains a file with the `.go` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐹 '` | A format string representing the symbol of Go. | -| `detect_extensions` | `['go']` | Which extensions should trigger this module. | -| `detect_files` | `['go.mod', 'go.sum', 'go.work', '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'` | The style for the module. | -| `disabled` | `false` | Disables the `golang` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐹 '` | A format string representing the symbol of Go. | +| `detect_extensions` | `['go']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['Godeps']` | Which folders should trigger this module. | +| `style` | `'bold cyan'` | Стиль модуля. | +| `disabled` | `false` | Disables the `golang` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v1.12.1` | The version of `go` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v1.12.1` | The version of `go` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1898,25 +1898,25 @@ format = 'via [🏎💨 $version](bold cyan) ' The `guix_shell` module shows the [guix-shell](https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-shell.html) environment. The module will be shown when inside a guix-shell environment. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | -------------------------- | ------------------------------------------------------ | -| `format` | `'via [$symbol]($style) '` | The format for the module. | +| `format` | `'via [$symbol]($style) '` | Формат модуля. | | `symbol` | `"🐃 "` | A format string representing the symbol of guix-shell. | -| `style` | `"yellow bold"` | The style for the module. | +| `style` | `"yellow bold"` | Стиль модуля. | | `disabled` | `false` | Disables the `guix_shell` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -1930,102 +1930,102 @@ format = 'via [🐂](yellow bold) ' The `gradle` module shows the version of the [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) currently used in the project directory. -By default the module will be shown if any of the following conditions are met: +Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `gradle/wrapper/gradle-wrapper.properties` directory. - The current directory contains a file ending with `.gradle` or `.gradle.kts`. The `gradle` module is only able to read your Gradle Wrapper version from your config file, we don't execute your wrapper, because of the security concerns. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `"via [$symbol($version )]($style)"` | The format for the module. | -| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `"🅶 "` | A format string representing the symbol of Gradle. | -| `detect_extensions` | `["gradle", "gradle.kts"]` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `["gradle"]` | Which folders should trigger this module. | -| `style` | `"bold bright-cyan"` | The style for the module. | -| `disabled` | `false` | Disables the `gradle` module. | -| `recursive` | `false` | Enables recursive finding for the `gradle` directory. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. | +| `version_format` | `"v${raw}"` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `"🅶 "` | A format string representing the symbol of Gradle. | +| `detect_extensions` | `["gradle", "gradle.kts"]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `["gradle"]` | Which folders should trigger this module. | +| `style` | `"bold bright-cyan"` | Стиль модуля. | +| `disabled` | `false` | Disables the `gradle` module. | +| `recursive` | `false` | Enables recursive finding for the `gradle` directory. | ### Variables -| Variable | Example | Description | -| -------- | -------- | ------------------------------------ | -| version | `v7.5.1` | The version of `gradle` | -| symbol | | Mirrors the value of option `symbol` | -| style* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ------- | -------- | ---------------------------------------- | +| version | `v7.5.1` | The version of `gradle` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка ## Haskell The `haskell` module finds the current selected GHC version and/or the selected Stack snapshot. -By default the module will be shown if any of the following conditions are met: +Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `stack.yaml` file +- Поточна тека містить файл `stack.yaml` - The current directory contains any `.hs`, `.cabal`, or `.hs-boot` file -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------------ | -------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | | `symbol` | `'λ '` | A format string representing the symbol of Haskell | -| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Which extensions should trigger this module. | -| `detect_files` | `['stack.yaml', 'cabal.project']` | Which filenames should trigger this module. | +| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['stack.yaml', 'cabal.project']` | Які імена файлів мають запускати цей модуль. | | `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold purple'` | The style for the module. | +| `style` | `'bold purple'` | Стиль модуля. | | `disabled` | `false` | Disables the `haskell` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | -------------- | ----------- | --------------------------------------------------------------------------------------- | | version | | `ghc_version` or `snapshot` depending on whether the current project is a Stack project | | snapshot | `lts-18.12` | Currently selected Stack snapshot | | ghc\_version | `9.2.1` | Currently installed GHC version | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка ## Haxe -The `haxe` module shows the currently installed version of [Haxe](https://haxe.org/). By default the module will be shown if any of the following conditions are met: +The `haxe` module shows the currently installed version of [Haxe](https://haxe.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `project.xml`, `Project.xml`, `application.xml`, `haxelib.json`, `hxformat.json` or `.haxerc` file - The current directory contains a `.haxelib` or a `haxe_libraries` directory - The current directory contains a file with the `.hx` or `.hxml` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `"via [$symbol($version )]($style)"` | The format for the module. | -| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `["hx", "hxml"]` | Which extensions should trigger this module. | -| `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Which filenames should trigger this module. | -| `detect_folders` | `[".haxelib", "haxe_libraries"]` | Which folders should trigger this modules. | -| `symbol` | `"⌘ "` | A format string representing the symbol of Helm. | -| `style` | `"bold fg:202"` | The style for the module. | -| `disabled` | `false` | Disables the `haxe` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `"via [$symbol($version )]($style)"` | Формат модуля. | +| `version_format` | `"v${raw}"` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `["hx", "hxml"]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[".haxelib", "haxe_libraries"]` | Які теки мають запускати цей модуль. | +| `symbol` | `"⌘ "` | A format string representing the symbol of Helm. | +| `style` | `"bold fg:202"` | Стиль модуля. | +| `disabled` | `false` | Disables the `haxe` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v4.2.5` | The version of `haxe` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v4.2.5` | The version of `haxe` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2036,35 +2036,35 @@ format = "via [⌘ $version](bold fg:202) " ## Helm -The `helm` module shows the currently installed version of [Helm](https://helm.sh/). By default the module will be shown if any of the following conditions are met: +The `helm` module shows the currently installed version of [Helm](https://helm.sh/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `helmfile.yaml` file +- Поточна тека містить файл `helmfile.yaml` - The current directory contains a `Chart.yaml` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `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'` | The style for the module. | -| `disabled` | `false` | Disables the `helm` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `symbol` | `'⎈ '` | A format string representing the symbol of Helm. | +| `style` | `'bold white'` | Стиль модуля. | +| `disabled` | `false` | Disables the `helm` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v3.1.1` | The version of `helm` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v3.1.1` | The version of `helm` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2077,28 +2077,28 @@ format = 'via [⎈ $version](bold white) ' The `hostname` module shows the system hostname. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | | `ssh_only` | `true` | Only show hostname when connected to an SSH session. | | `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | | `trim_at` | `'.'` | String that the hostname is cut off at, after the first match. `'.'` will stop after the first dot. `''` will disable any truncation | -| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. | -| `style` | `'bold dimmed green'` | The style for the module. | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | Формат модуля. | +| `style` | `'bold dimmed green'` | Стиль модуля. | | `disabled` | `false` | Disables the `hostname` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ---------- | ---------- | ----------------------------------------------------- | | hostname | `computer` | The hostname of the computer | -| style\* | | Mirrors the value of option `style` | +| style\* | | Віддзеркалює значення параметра `style` | | ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2112,35 +2112,35 @@ disabled = false ## Java -The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met: +The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - The current directory contains a file with the `.java`, `.class`, `.gradle`, `.jar`, `.clj`, or `.cljc` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `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', '.sdkmanrc']` | 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'` | The style for the module. | -| `disabled` | `false` | Disables the `java` module. | +| Параметр | Стандартно | Опис | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `symbol` | `'☕ '` | A format string representing the symbol of Java | +| `style` | `'red dimmed'` | Стиль модуля. | +| `disabled` | `false` | Disables the `java` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| version | `v14` | The version of `java` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| version | `v14` | The version of `java` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2171,31 +2171,31 @@ The `threshold` option is deprecated, but if you want to use it, the module will ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | | `threshold`* | `1` | Show number of jobs if exceeded. | | `symbol_threshold` | `1` | Show `symbol` if the job count is at least `symbol_threshold`. | | `number_threshold` | `2` | Show the number of jobs if the job count is at least `number_threshold`. | -| `format` | `'[$symbol$number]($style) '` | The format for the module. | +| `format` | `'[$symbol$number]($style) '` | Формат модуля. | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `disabled` | `false` | Disables the `jobs` module. | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| number | `1` | The number of jobs | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| number | `1` | The number of jobs | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2208,36 +2208,36 @@ symbol_threshold = 0 ## Julia -The `julia` module shows the currently installed version of [Julia](https://julialang.org/). By default the module will be shown if any of the following conditions are met: +The `julia` module shows the currently installed version of [Julia](https://julialang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `Project.toml` file - The current directory contains a `Manifest.toml` file - The current directory contains a file with the `.jl` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `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'` | The style for the module. | -| `disabled` | `false` | Disables the `julia` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['jl']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Project.toml', 'Manifest.toml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | +| `symbol` | `'ஃ '` | A format string representing the symbol of Julia. | +| `style` | `'bold purple'` | Стиль модуля. | +| `disabled` | `false` | Disables the `julia` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v1.4.0` | The version of `julia` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v1.4.0` | The version of `julia` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2248,35 +2248,35 @@ symbol = '∴ ' ## Kotlin -The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). By default the module will be shown if any of the following conditions are met: +The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `.kt` or a `.kts` file -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `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. | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['kt', 'kts']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | | `symbol` | `'🅺 '` | A format string representing the symbol of Kotlin. | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | | `disabled` | `false` | Disables the `kotlin` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v1.4.21` | The version of `kotlin` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v1.4.21` | The version of `kotlin` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2305,34 +2305,34 @@ When the module is enabled it will always be active, unless any of `detect_exten ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | | `symbol` | `'☸ '` | A format string representing the symbol displayed before the Cluster. | -| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | The format for the module. | -| `style` | `'cyan bold'` | The style for the module. | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Формат модуля. | +| `style` | `'cyan bold'` | Стиль модуля. | | `context_aliases` | `{}` | Table of context aliases to display. | | `user_aliases` | `{}` | Table of user aliases to display. | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Які теки мають запускати цей модуль. | | `disabled` | `true` | Disables the `kubernetes` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | -------------------- | ---------------------------------------- | | context | `starship-context` | The current kubernetes context name | | namespace | `starship-namespace` | If set, the current kubernetes namespace | | user | `starship-user` | If set, the current kubernetes user | | cluster | `starship-cluster` | If set, the current kubernetes cluster | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2384,13 +2384,13 @@ Long and automatically generated cluster names can be identified and shortened u The `line_break` module separates the prompt into two lines. -### Options +### Параметри -| Option | Default | Description | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Параметр | Стандартно | Опис | +| ---------- | ---------- | ------------------------------------------------------------------ | +| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2403,25 +2403,25 @@ disabled = true The `localip` module shows the IPv4 address of the primary network interface. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | ------------------------- | ------------------------------------------------------ | | `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `'[$localipv4]($style) '` | The format for the module. | -| `style` | `'bold yellow'` | The style for the module. | +| `format` | `'[$localipv4]($style) '` | Формат модуля. | +| `style` | `'bold yellow'` | Стиль модуля. | | `disabled` | `true` | Disables the `localip` module. | ### Variables -| Variable | Example | Description | -| --------- | ------------ | ----------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------------ | --------------------------------------- | +| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2434,37 +2434,37 @@ disabled = false ## Lua -The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). By default the module will be shown if any of the following conditions are met: +The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `.lua-version` file - The current directory contains a `lua` directory - The current directory contains a file with the `.lua` extension -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------------ | -------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `'🌙 '` | A format string representing the symbol of Lua. | -| `detect_extensions` | `['lua']` | Which extensions should trigger this module. | -| `detect_files` | `['.lua-version']` | Which filenames should trigger this module. | +| `detect_extensions` | `['lua']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['.lua-version']` | Які імена файлів мають запускати цей модуль. | | `detect_folders` | `['lua']` | Which folders should trigger this module. | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `lua_binary` | `'lua'` | Configures the lua binary that Starship executes when getting the version. | | `disabled` | `false` | Disables the `lua` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v5.4.0` | The version of `lua` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v5.4.0` | The version of `lua` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2485,30 +2485,30 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ----------- | ----------------------------------------------- | -------------------------------------------------------- | | `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | The format for the module. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Формат модуля. | | `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | The style for the module. | +| `style` | `'bold dimmed white'` | Стиль модуля. | | `disabled` | `true` | Disables the `memory_usage` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ---------------- | ------------- | ------------------------------------------------------------------ | | ram | `31GiB/65GiB` | The usage/total RAM of the current system memory. | | ram_pct | `48%` | The percentage of the current system memory. | | swap\*\* | `1GiB/4GiB` | The swap memory size of the current system swap memory file. | | swap_pct\*\* | `77%` | The swap memory percentage of the current system swap memory file. | -| symbol | `🐏` | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | `🐏` | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | *: This variable can only be used as a part of a style string *\*: The SWAP file information is only displayed if detected on the current system -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2526,28 +2526,28 @@ The `meson` module shows the current Meson developer environment status. By default the Meson project name is displayed, if `$MESON_DEVENV` is set. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ---------------------------------- | ----------------------------------------------------------------------------------------- | | `truncation_length` | `2^32 - 1` | Truncates a project name to `N` graphemes. | | `truncation_symbol` | `'…'` | The symbol used to indicate a project name was truncated. You can use `''` for no symbol. | -| `format` | `'via [$symbol$project]($style) '` | The format for the module. | +| `format` | `'via [$symbol$project]($style) '` | Формат модуля. | | `symbol` | `'⬢ '` | The symbol used before displaying the project name. | -| `style` | `'blue bold'` | The style for the module. | +| `style` | `'blue bold'` | Стиль модуля. | | `disabled` | `false` | Disables the `meson` module. | ### Variables -| Variable | Example | Description | -| --------- | ---------- | ------------------------------------ | -| project | `starship` | The current Meson project name | -| symbol | `🐏` | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------- | ---------------------------------------- | +| project | `starship` | The current Meson project name | +| symbol | `🐏` | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2563,29 +2563,29 @@ style = 'bold dimmed green' The `hg_branch` module shows the active branch and topic of the repo in your current directory. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | | `symbol` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `style` | `'bold purple'` | The style for the module. | -| `format` | `'on [$symbol$branch(:$topic)]($style) '` | The format for the module. | +| `style` | `'bold purple'` | Стиль модуля. | +| `format` | `'on [$symbol$branch(:$topic)]($style) '` | Формат модуля. | | `truncation_length` | `2^63 - 1` | Truncates the hg branch / topic name to `N` graphemes | | `truncation_symbol` | `'…'` | The symbol used to indicate a branch name was truncated. | | `disabled` | `true` | Disables the `hg_branch` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| branch | `master` | The active mercurial branch | -| topic | `feature` | The active mercurial topic | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| branch | `master` | The active mercurial branch | +| topic | `feature` | The active mercurial topic | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2598,37 +2598,37 @@ truncation_symbol = '' ## Nim -The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). By default the module will be shown if any of the following conditions are met: +The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- 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 -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'👑 '` | The symbol used before displaying the version of Nim. | -| `detect_extensions` | `['nim', 'nims', 'nimble']` | Which extensions should trigger this module. | -| `detect_files` | `['nim.cfg']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold yellow'` | The style for the module. | -| `disabled` | `false` | Disables the `nim` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'👑 '` | The symbol used before displaying the version of Nim. | +| `detect_extensions` | `['nim', 'nims', 'nimble']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['nim.cfg']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `disabled` | `false` | Disables the `nim` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v1.2.0` | The version of `nimc` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v1.2.0` | The version of `nimc` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2642,13 +2642,13 @@ symbol = '🎣 ' The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. The module will be shown when inside a nix-shell environment. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | -| `format` | `'via [$symbol$state( \($name\))]($style) '` | The format for the module. | +| `format` | `'via [$symbol$state( \($name\))]($style) '` | Формат модуля. | | `symbol` | `'❄️ '` | A format string representing the symbol of nix-shell. | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `impure_msg` | `'impure'` | A format string shown when the shell is impure. | | `pure_msg` | `'pure'` | A format string shown when the shell is pure. | | `unknown_msg` | `''` | A format string shown when it is unknown if the shell is pure/impure. | @@ -2657,16 +2657,16 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| state | `pure` | The state of the nix-shell | -| name | `lorri` | The name of the nix-shell | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| state | `pure` | The state of the nix-shell | +| name | `lorri` | The name of the nix-shell | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2681,40 +2681,40 @@ format = 'via [☃️ $state( \($name\))](bold blue) ' ## Node.js -The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). By default the module will be shown if any of the following conditions are met: +The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `package.json` file +- Поточна тека містить файл `package.json` - The current directory contains a `.node-version` file - The current directory contains a `.nvmrc` file - The current directory contains a `node_modules` directory - The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension - The current directory contains a file with the `.ts`, `.mts` or `.cts` extension -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `' '` | A format string representing the symbol of Node.js. | -| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. | -| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | +| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['package.json', '.node-version']` | Які імена файлів мають запускати цей модуль. | | `detect_folders` | `['node_modules']` | Which folders should trigger this module. | -| `style` | `'bold green'` | The style for the module. | +| `style` | `'bold green'` | Стиль модуля. | | `disabled` | `false` | Disables the `nodejs` module. | | `not_capable_style` | `bold red` | The style for the module when an engines property in package.json does not match the Node.js version. | ### Variables -| Variable | Example | Description | -| --------- | ---------- | ------------------------------------ | -| version | `v13.12.0` | The version of `node` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------- | ---------------------------------------- | +| version | `v13.12.0` | The version of `node` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2725,7 +2725,7 @@ format = 'via [🤖 $version](bold green) ' ## OCaml -The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). By default the module will be shown if any of the following conditions are met: +The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a file with `.opam` extension or `_opam` directory - The current directory contains a `esy.lock` directory @@ -2734,34 +2734,34 @@ The `ocaml` module shows the currently installed version of [OCaml](https://ocam - The current directory contains a `.merlin` file - The current directory contains a file with `.ml`, `.mli`, `.re` or `.rei` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐫 '` | The symbol used before displaying the version of OCaml. | -| `global_switch_indicator` | `''` | The format string used to represent global OPAM switch. | -| `local_switch_indicator` | `'*'` | The format string used to represent local OPAM switch. | -| `detect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Which extensions should trigger this module. | -| `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Which filenames should trigger this module. | -| `detect_folders` | `['_opam', 'esy.lock']` | Which folders should trigger this module. | -| `style` | `'bold yellow'` | The style for the module. | -| `disabled` | `false` | Disables the `ocaml` module. | +| Параметр | Стандартно | Опис | +| ------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐫 '` | The symbol used before displaying the version of OCaml. | +| `global_switch_indicator` | `''` | The format string used to represent global OPAM switch. | +| `local_switch_indicator` | `'*'` | The format string used to represent local OPAM switch. | +| `detect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['_opam', 'esy.lock']` | Which folders should trigger this module. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `disabled` | `false` | Disables the `ocaml` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ---------------- | ------------ | ----------------------------------------------------------------- | | version | `v4.10.0` | The version of `ocaml` | | switch_name | `my-project` | The active OPAM switch | | switch_indicator | | Mirrors the value of `indicator` for currently active OPAM switch | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2774,30 +2774,30 @@ format = 'via [🐪 $version]($style) ' The `opa` module shows the currently installed version of the OPA tool. By default the module will be shown if the current directory contains a `.rego` file. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🪖 '` | A format string representing the symbol of OPA. | -| `detect_extensions` | `['rego']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold blue'` | The style for the module. | -| `disabled` | `false` | Disables the `opa` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🪖 '` | A format string representing the symbol of OPA. | +| `detect_extensions` | `['rego']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold blue'` | Стиль модуля. | +| `disabled` | `false` | Disables the `opa` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v0.44.0` | The version of `opa` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v0.44.0` | The version of `opa` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2810,27 +2810,27 @@ format = 'via [⛑️ $version](bold red) ' The `openstack` module shows the current OpenStack cloud and project. The module only active when the `OS_CLOUD` env var is set, in which case it will read `clouds.yaml` file from any of the [default locations](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files). to fetch the current project in use. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | ----------------------------------------------- | -------------------------------------------------------------- | -| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | The format for the module. | +| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | Формат модуля. | | `symbol` | `'☁️ '` | The symbol used before displaying the current OpenStack cloud. | -| `style` | `'bold yellow'` | The style for the module. | +| `style` | `'bold yellow'` | Стиль модуля. | | `disabled` | `false` | Disables the `openstack` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| cloud | `corp` | The current OpenStack cloud | -| project | `dev` | The current OpenStack project | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| cloud | `corp` | The current OpenStack cloud | +| project | `dev` | The current OpenStack project | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2857,12 +2857,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | --------------------- | ------------------------------------------------------ | -| `format` | `"[$symbol]($style)"` | The format for the module. | -| `style` | `"bold white"` | The style for the module. | +| `format` | `"[$symbol]($style)"` | Формат модуля. | +| `style` | `"bold white"` | Стиль модуля. | | `disabled` | `true` | Disables the `os` module. | | `symbols` | | A table that maps each operating system to its symbol. | @@ -2871,10 +2871,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -2913,19 +2916,19 @@ Windows = "🪟 " ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | ------------ | ------------------------------------------------------------------ | | symbol | `🎗️` | The current operating system symbol from advanced option `symbols` | | name | `Arch Linux` | The current operating system name | -| type | `Arch` | The current operating system type | +| тип | `Arch` | The current operating system type | | codename | | The current operating system codename, if applicable | | edition | | The current operating system edition, if applicable | | version | | The current operating system version, if applicable | -| style\* | | Mirrors the value of option `style` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2964,28 +2967,28 @@ The `package` module is shown when the current directory is the repository for a > ⚠️ The version being shown is that of the package whose source code is in your current directory, not your package manager. -### Options +### Параметри -| Option | Default | Description | -| ----------------- | --------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'is [$symbol$version]($style) '` | The format for the module. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `style` | `'bold 208'` | The style for the module. | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| Параметр | Стандартно | Опис | +| ----------------- | --------------------------------- | -------------------------------------------------------------------- | +| `format` | `'is [$symbol$version]($style) '` | Формат модуля. | +| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `style` | `'bold 208'` | Стиль модуля. | +| `display_private` | `false` | Enable displaying version for packages marked as private. | +| `disabled` | `false` | Disables the `package` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v1.0.0` | The version of your package | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v1.0.0` | The version of your package | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -2996,7 +2999,7 @@ format = 'via [🎁 $version](208 bold) ' ## Perl -The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). By default the module will be shown if any of the following conditions are met: +The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `Makefile.PL` or `Build.PL` file - The current directory contains a `cpanfile` or `cpanfile.snapshot` file @@ -3004,28 +3007,28 @@ The `perl` module shows the currently installed version of [Perl](https://www.pe - The current directory contains a `.perl-version` file - The current directory contains a `.pl`, `.pm` or `.pod` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐪 '` | The symbol used before displaying the version of Perl | -| `detect_extensions` | `['pl', 'pm', 'pod']` | Which extensions should trigger this module. | -| `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold 149'` | The style for the module. | -| `disabled` | `false` | Disables the `perl` module. | +| Параметр | Стандартно | Опис | +| ------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐪 '` | The symbol used before displaying the version of Perl | +| `detect_extensions` | `['pl', 'pm', 'pod']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold 149'` | Стиль модуля. | +| `disabled` | `false` | Disables the `perl` module. | ### Variables -| Variable | Example | Description | -| --------- | --------- | ------------------------------------ | -| version | `v5.26.1` | The version of `perl` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | --------- | ---------------------------------------- | +| version | `v5.26.1` | The version of `perl` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3036,36 +3039,36 @@ format = 'via [🦪 $version]($style) ' ## PHP -The `php` module shows the currently installed version of [PHP](https://www.php.net/). By default the module will be shown if any of the following conditions are met: +The `php` module shows the currently installed version of [PHP](https://www.php.net/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `composer.json` file +- Поточна тека містить файл `composer.json` - The current directory contains a `.php-version` file - The current directory contains a `.php` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐘 '` | The symbol used before displaying the version of PHP. | -| `detect_extensions` | `['php']` | Which extensions should trigger this module. | -| `detect_files` | `['composer.json', '.php-version']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'147 bold'` | The style for the module. | -| `disabled` | `false` | Disables the `php` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐘 '` | The symbol used before displaying the version of PHP. | +| `detect_extensions` | `['php']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['composer.json', '.php-version']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'147 bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `php` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v7.3.8` | The version of `php` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v7.3.8` | The version of `php` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3078,13 +3081,13 @@ format = 'via [🔹 $version](147 bold) ' The `pijul_channel` module shows the active channel of the repo in your current directory. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | --------------------------------- | ------------------------------------------------------------------------------------ | | `symbol` | `' '` | The symbol used before the pijul channel name of the repo in your current directory. | -| `style` | `'bold purple'` | The style for the module. | -| `format` | `'on [$symbol$channel]($style) '` | The format for the module. | +| `style` | `'bold purple'` | Стиль модуля. | +| `format` | `'on [$symbol$channel]($style) '` | Формат модуля. | | `truncation_length` | `2^63 - 1` | Truncates the pijul channel name to `N` graphemes | | `truncation_symbol` | `'…'` | The symbol used to indicate a branch name was truncated. | | `disabled` | `true` | Disables the `pijul` module. | @@ -3099,35 +3102,35 @@ By default the Pulumi version is not shown, since it takes an order of magnitude ::: -By default the module will be shown if any of the following conditions are met: +Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains either `Pulumi.yaml` or `Pulumi.yml` - A parent directory contains either `Pulumi.yaml` or `Pulumi.yml` unless `search_upwards` is set to `false` -### Options +### Параметри -| Option | Default | Description | -| ---------------- | -------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($username@)$stack]($style) '` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string shown before the Pulumi stack. | -| `style` | `'bold 5'` | The style for the module. | -| `search_upwards` | `true` | Enable discovery of pulumi config files in parent directories. | -| `disabled` | `false` | Disables the `pulumi` module. | +| Параметр | Стандартно | Опис | +| ---------------- | -------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($username@)$stack]($style) '` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `' '` | A format string shown before the Pulumi stack. | +| `style` | `'bold 5'` | Стиль модуля. | +| `search_upwards` | `true` | Enable discovery of pulumi config files in parent directories. | +| `disabled` | `false` | Disables the `pulumi` module. | ### Variables -| Variable | Example | Description | -| --------- | ---------- | ------------------------------------ | -| version | `v0.12.24` | The version of `pulumi` | -| stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------- | ---------------------------------------- | +| version | `v0.12.24` | The version of `pulumi` | +| stack | `dev` | The current Pulumi stack | +| username | `alice` | The current Pulumi username | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад #### With Pulumi Version @@ -3149,35 +3152,35 @@ format = '[$symbol$stack]($style) ' ## PureScript -The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. By default the module will be shown if any of the following conditions are met: +The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. Типово, модуль показується, якщо виконується будь-яка з наступних умов: -- The current directory contains a `spago.dhall` file +- Поточна тека містить файл `spago.dhall` - The current directory contains a file with the `.purs` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'<=> '` | The symbol used before displaying the version of PureScript. | -| `detect_extensions` | `['purs']` | Which extensions should trigger this module. | -| `detect_files` | `['spago.dhall']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold white'` | The style for the module. | -| `disabled` | `false` | Disables the `purescript` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'<=> '` | The symbol used before displaying the version of PureScript. | +| `detect_extensions` | `['purs']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['spago.dhall']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold white'` | Стиль модуля. | +| `disabled` | `false` | Disables the `purescript` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `0.13.5` | The version of `purescript` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `0.13.5` | The version of `purescript` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3192,31 +3195,31 @@ The `python` module shows the currently installed version of [Python](https://ww If `pyenv_version_name` is set to `true`, it will display the pyenv version name. Otherwise, it will display the version number from `python --version`. -By default the module will be shown if any of the following conditions are met: +Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `.python-version` file - The current directory contains a `Pipfile` file - The current directory contains a `__init__.py` file -- The current directory contains a `pyproject.toml` file -- The current directory contains a `requirements.txt` file -- The current directory contains a `setup.py` file -- The current directory contains a `tox.ini` file +- Поточна тека містить файл `pyproject.toml` +- Поточна тека містить файл `requirements.txt` +- Поточна тека містить файл `setup.py` +- Поточна тека містить файл `tox.ini` - The current directory contains a file with the `.py` extension. - A virtual environment is currently activated -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `'🐍 '` | A format string representing the symbol of Python | -| `style` | `'yellow bold'` | The style for the module. | +| `style` | `'yellow bold'` | Стиль модуля. | | `pyenv_version_name` | `false` | Use pyenv to get Python version | | `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used | | `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. | -| `detect_extensions` | `['py']` | Which extensions should trigger this module | -| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Which filenames should trigger this module | +| `detect_extensions` | `['py']` | Які розширення повинні запускати цей модуль | +| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Які імена файлів мають запускати цей модуль | | `detect_folders` | `[]` | Which folders should trigger this module | | `disabled` | `false` | Disables the `python` module. | @@ -3230,15 +3233,15 @@ The default values and order for `python_binary` was chosen to first identify th ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | ------------ | --------------- | ------------------------------------------ | | version | `'v3.8.1'` | The version of `python` | -| symbol | `'🐍 '` | Mirrors the value of option `symbol` | -| style | `'yellow bold'` | Mirrors the value of option `style` | +| symbol | `'🐍 '` | Віддзеркалює значення параметра `symbol` | +| style | `'yellow bold'` | Віддзеркалює значення параметра `style` | | pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | | virtualenv | `'venv'` | The current `virtualenv` name | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3287,28 +3290,28 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr - The current directory contains a `.Rprofile` file - The current directory contains a `.Rproj.user` folder -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'📐'` | A format string representing the symbol of R. | -| `style` | `'blue bold'` | The style for the module. | -| `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Which extensions should trigger this module | -| `detect_files` | `['.Rprofile']` | Which filenames should trigger this module | -| `detect_folders` | `['.Rproj.user']` | Which folders should trigger this module | -| `disabled` | `false` | Disables the `r` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'📐'` | A format string representing the symbol of R. | +| `style` | `'blue bold'` | Стиль модуля. | +| `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Які розширення повинні запускати цей модуль | +| `detect_files` | `['.Rprofile']` | Які імена файлів мають запускати цей модуль | +| `detect_folders` | `['.Rproj.user']` | Which folders should trigger this module | +| `disabled` | `false` | Disables the `r` module. | ### Variables -| Variable | Example | Description | -| -------- | ------------- | ------------------------------------ | -| version | `v4.0.5` | The version of `R` | -| symbol | | Mirrors the value of option `symbol` | -| style | `'blue bold'` | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ------- | ------------- | ---------------------------------------- | +| version | `v4.0.5` | The version of `R` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style | `'blue bold'` | Віддзеркалює значення параметра `style` | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3319,34 +3322,34 @@ format = 'with [📐 $version](blue bold) ' ## Raku -The `raku` module shows the currently installed version of [Raku](https://www.raku.org/). By default the module will be shown if any of the following conditions are met: +The `raku` module shows the currently installed version of [Raku](https://www.raku.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `META6.json` file - The current directory contains a `.p6`, `.pm6`, `.raku`, `.rakumod` or `.pod6` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version-$vm_version )]($style)'` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦋 '` | The symbol used before displaying the version of Raku | -| `detect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Which extensions should trigger this module. | -| `detect_files` | `['META6.json']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold 149'` | The style for the module. | -| `disabled` | `false` | Disables the `raku` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version-$vm_version )]($style)'` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🦋 '` | The symbol used before displaying the version of Raku | +| `detect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['META6.json']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold 149'` | Стиль модуля. | +| `disabled` | `false` | Disables the `raku` module. | ### Variables -| Variable | Example | Description | -| ---------- | ------- | ------------------------------------ | -| version | `v6.d` | The version of `raku` | -| vm_version | `moar` | The version of VM `raku` is built on | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ---------- | ------- | ---------------------------------------- | +| version | `v6.d` | The version of `raku` | +| vm_version | `moar` | The version of VM `raku` is built on | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3361,30 +3364,30 @@ By default the `red` module shows the currently installed version of [Red](https - The current directory contains a file with `.red` or `.reds` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🔺 '` | A format string representing the symbol of Red. | -| `detect_extensions` | `['red']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'red bold'` | The style for the module. | -| `disabled` | `false` | Disables the `red` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🔺 '` | A format string representing the symbol of Red. | +| `detect_extensions` | `['red']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'red bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `red` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v2.5.1` | The version of `red` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v2.5.1` | The version of `red` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3404,31 +3407,31 @@ By default the `ruby` module shows the currently installed version of [Ruby](htt Starship gets the current Ruby version by running `ruby -v`. -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | -| `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. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | +| `detect_extensions` | `['rb']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Gemfile', '.ruby-version']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | +| `style` | `'bold red'` | Стиль модуля. | +| `disabled` | `false` | Disables the `ruby` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v2.5.1` | The version of `ruby` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v2.5.1` | The version of `ruby` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3444,32 +3447,32 @@ By default the `rust` module shows the currently installed version of [Rust](htt - The current directory contains a `Cargo.toml` file - The current directory contains a file with the `.rs` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | -| `detect_extensions` | `['rs']` | Which extensions should trigger this module. | -| `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold red'` | The style for the module. | -| `disabled` | `false` | Disables the `rust` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | +| `detect_extensions` | `['rs']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Cargo.toml']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold red'` | Стиль модуля. | +| `disabled` | `false` | Disables the `rust` module. | ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | --------- | ----------------- | -------------------------------------------- | | version | `v1.43.0-nightly` | The version of `rustc` | | numver | `1.51.0` | The numeric component of the `rustc` version | | toolchain | `beta` | The toolchain version | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3480,36 +3483,36 @@ format = 'via [⚙️ $version](red bold)' ## Scala -The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). By default the module will be shown if any of the following conditions are met: +The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `build.sbt`, `.scalaenv` or `.sbtenv` file - The current directory contains a file with the `.scala` or `.sbt` extension - The current directory contains a directory named `.metals` -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ---------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['sbt', 'scala']` | Which extensions should trigger this module. | -| `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Which filenames should trigger this module. | -| `detect_folders` | `['.metals']` | Which folders should trigger this modules. | -| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. | -| `style` | `'red dimmed'` | The style for the module. | -| `disabled` | `false` | Disables the `scala` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ---------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['sbt', 'scala']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['.metals']` | Які теки мають запускати цей модуль. | +| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. | +| `style` | `'red dimmed'` | Стиль модуля. | +| `disabled` | `false` | Disables the `scala` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `2.13.5` | The version of `scala` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `2.13.5` | The version of `scala` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3528,9 +3531,9 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------------------- | ------------------------- | ------------------------------------------------------------ | | `bash_indicator` | `'bsh'` | A format string used to represent bash. | | `fish_indicator` | `'fsh'` | A format string used to represent fish. | @@ -3543,20 +3546,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | `cmd_indicator` | `'cmd'` | A format string used to represent cmd. | | `nu_indicator` | `'nu'` | A format string used to represent nu. | | `unknown_indicator` | `''` | The default value to be displayed when the shell is unknown. | -| `format` | `'[$indicator]($style) '` | The format for the module. | -| `style` | `'white bold'` | The style for the module. | +| `format` | `'[$indicator]($style) '` | Формат модуля. | +| `style` | `'white bold'` | Стиль модуля. | | `disabled` | `true` | Disables the `shell` module. | ### Variables -| Variable | Default | Description | -| --------- | ------- | ---------------------------------------------------------- | -| indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| Змінна | Стандартно | Опис | +| --------- | ---------- | ---------------------------------------------------------- | +| indicator | | Mirrors the value of `indicator` for currently used shell. | +| style\* | | Віддзеркалює значення параметра `style`. | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Examples +### Приклади ```toml # ~/.config/starship.toml @@ -3573,28 +3576,28 @@ disabled = false The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/internalvariables.html#SHLVLREF) ('shell level') environment variable, if it is set to a number and meets or exceeds the specified threshold. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ----------- | ---------------------------- | ------------------------------------------------------------- | | `threshold` | `2` | Display threshold. | -| `format` | `'[$symbol$shlvl]($style) '` | The format for the module. | +| `format` | `'[$symbol$shlvl]($style) '` | Формат модуля. | | `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. | | `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. | -| `style` | `'bold yellow'` | The style for the module. | +| `style` | `'bold yellow'` | Стиль модуля. | | `disabled` | `true` | Disables the `shlvl` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| shlvl | `3` | The current value of `SHLVL` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| shlvl | `3` | The current value of `SHLVL` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3609,26 +3612,26 @@ threshold = 3 The `singularity` module shows the current [Singularity](https://sylabs.io/singularity/) image, if inside a container and `$SINGULARITY_NAME` is set. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | -------------------------------- | ------------------------------------------------ | -| `format` | `'[$symbol\[$env\]]($style) '` | The format for the module. | +| `format` | `'[$symbol\[$env\]]($style) '` | Формат модуля. | | `symbol` | `''` | A format string displayed before the image name. | -| `style` | `'bold dimmed blue'` | The style for the module. | +| `style` | `'bold dimmed blue'` | Стиль модуля. | | `disabled` | `false` | Disables the `singularity` module. | ### Variables -| Variable | Example | Description | -| --------- | ------------ | ------------------------------------ | -| env | `centos.img` | The current Singularity image | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------------ | ---------------------------------------- | +| env | `centos.img` | The current Singularity image | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3641,27 +3644,27 @@ format = '[📦 \[$env\]]($style) ' The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/latest/) environment, if `$SPACK_ENV` is set. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `truncation_length` | `1` | The number of directories the environment path should be truncated to. `0` means no truncation. Also see the [`directory`](#directory) module. | | `symbol` | `'🅢 '` | The symbol used before the environment name. | -| `style` | `'bold blue'` | The style for the module. | -| `format` | `'via [$symbol$environment]($style) '` | The format for the module. | +| `style` | `'bold blue'` | Стиль модуля. | +| `format` | `'via [$symbol$environment]($style) '` | Формат модуля. | | `disabled` | `false` | Disables the `spack` module. | ### Variables -| Variable | Example | Description | -| ----------- | ------------ | ------------------------------------ | -| environment | `astronauts` | The current spack environment | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| ----------- | ------------ | ---------------------------------------- | +| environment | `astronauts` | The current spack environment | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3680,9 +3683,9 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | | `format` | `'[$symbol$status]($style) '` | The format of the module | | `symbol` | `'❌'` | The symbol displayed on program error | @@ -3691,7 +3694,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | `not_found_symbol` | `'🔍'` | The symbol displayed when the command can't be found | | `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) | | `signal_symbol` | `'⚡'` | The symbol displayed on any signal | -| `style` | `'bold red'` | The style for the module. | +| `style` | `'bold red'` | Стиль модуля. | | `recognize_signal_code` | `true` | Enable signal mapping from exit code | | `map_symbol` | `false` | Enable symbols mapping from exit code | | `pipestatus` | `false` | Enable pipestatus reporting | @@ -3702,7 +3705,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| Variable | Example | Description | +| Змінна | Приклад | Опис | | -------------- | ------- | ------------------------------------------------------------------------------------------ | | status | `127` | The exit code of the last command | | hex_status | `0x7F` | The exit code of the last command in hex | @@ -3712,12 +3715,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | signal_name | `KILL` | Name of the signal corresponding to the exit code, only if signalled | | maybe_int | `7` | Contains the exit code number when no meaning has been found | | pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3741,26 +3744,26 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | --------------- | ------------------------ | ------------------------------------------------------- | | `format` | `'[as $symbol]($style)'` | The format of the module | | `symbol` | `'🧙 '` | The symbol displayed when credentials are cached | -| `style` | `'bold blue'` | The style for the module. | +| `style` | `'bold blue'` | Стиль модуля. | | `allow_windows` | `false` | Since windows has no default sudo, default is disabled. | | `disabled` | `true` | Disables the `sudo` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3787,30 +3790,30 @@ By default the `swift` module shows the currently installed version of [Swift](h - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐦 '` | A format string representing the symbol of Swift | -| `detect_extensions` | `['swift']` | Which extensions should trigger this module. | -| `detect_files` | `['Package.swift']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'bold 202'` | The style for the module. | -| `disabled` | `false` | Disables the `swift` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐦 '` | A format string representing the symbol of Swift | +| `detect_extensions` | `['swift']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Package.swift']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'bold 202'` | Стиль модуля. | +| `disabled` | `false` | Disables the `swift` module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v5.2.4` | The version of `swift` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v5.2.4` | The version of `swift` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3829,36 +3832,36 @@ By default the Terraform version is not shown, since this is slow for current ve ::: -By default the module will be shown if any of the following conditions are met: +Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `.terraform` folder - Current directory contains a file with the `.tf`, `.tfplan` or `.tfstate` extensions -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol$workspace]($style) '` | The format string for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💠'` | A format string shown before the terraform workspace. | -| `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `['.terraform']` | Which folders should trigger this module. | -| `style` | `'bold 105'` | The style for the module. | -| `disabled` | `false` | Disables the `terraform` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol$workspace]($style) '` | The format string for the module. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'💠'` | A format string shown before the terraform workspace. | +| `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `['.terraform']` | Which folders should trigger this module. | +| `style` | `'bold 105'` | Стиль модуля. | +| `disabled` | `false` | Disables the `terraform` module. | ### Variables -| Variable | Example | Description | -| --------- | ---------- | ------------------------------------ | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `default` | The current Terraform workspace | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------------ | ---------------------------------------- | +| version | `v0.12.24` | The version of `terraform` | +| workspace | `стандартно` | The current Terraform workspace | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад #### With Terraform Version @@ -3888,9 +3891,9 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | `format` | `'at [$time]($style) '` | The format string for the module. | | `use_12hr` | `false` | Enables 12 hour formatting | @@ -3904,14 +3907,14 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de ### Variables -| Variable | Example | Description | -| --------- | ---------- | ----------------------------------- | -| time | `13:08:10` | The current time. | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------- | --------------------------------------- | +| time | `13:08:10` | The current time. | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3939,24 +3942,24 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------- | ----------------------- | ------------------------------------------- | | `style_root` | `'bold red'` | The style used when the user is root/admin. | | `style_user` | `'bold yellow'` | The style used for non-root users. | -| `format` | `'[$user]($style) in '` | The format for the module. | +| `format` | `'[$user]($style) in '` | Формат модуля. | | `show_always` | `false` | Always shows the `username` module. | | `disabled` | `false` | Disables the `username` module. | ### Variables -| Variable | Example | Description | -| -------- | ------------ | ------------------------------------------------------------------------------------------- | -| `style` | `'red bold'` | Mirrors the value of option `style_root` when root is logged in and `style_user` otherwise. | -| `user` | `'matchai'` | The currently logged-in user ID. | +| Змінна | Приклад | Опис | +| ------- | ------------ | ------------------------------------------------------------------------------------------- | +| `style` | `'red bold'` | Mirrors the value of option `style_root` when root is logged in and `style_user` otherwise. | +| `user` | `'matchai'` | The currently logged-in user ID. | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -3971,34 +3974,34 @@ show_always = true ## Vagrant -The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met: +The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a `Vagrantfile` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'⍱ '` | A format string representing the symbol of Vagrant. | -| `detect_extensions` | `[]` | Which extensions should trigger this module. | -| `detect_files` | `['Vagrantfile']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'cyan bold'` | The style for the module. | -| `disabled` | `false` | Disables the `vagrant` module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'⍱ '` | A format string representing the symbol of Vagrant. | +| `detect_extensions` | `[]` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['Vagrantfile']` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'cyan bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `vagrant` module. | ### Variables -| Variable | Example | Description | -| --------- | ---------------- | ------------------------------------ | -| version | `Vagrant 2.2.10` | The version of `Vagrant` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ---------------- | ---------------------------------------- | +| version | `Vagrant 2.2.10` | The version of `Vagrant` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -4009,33 +4012,33 @@ format = 'via [⍱ $version](bold white) ' ## V -The `vlang` module shows you your currently installed version of [V](https://vlang.io/). By default the module will be shown if any of the following conditions are met: +The `vlang` module shows you your currently installed version of [V](https://vlang.io/). Типово, модуль показується, якщо виконується будь-яка з наступних умов: - The current directory contains a file with `.v` extension - The current directory contains a `v.mod`, `vpkg.json` or `.vpkg-lock.json` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'V '` | A format string representing the symbol of V | -| `detect_extensions` | `['v']` | Which extensions should trigger this module. | -| `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | -| `style` | `'blue bold'` | The style for the module. | -| `disabled` | `false` | Disables the `vlang` module. | +| Параметр | Стандартно | Опис | +| ------------------- | -------------------------------------------- | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'V '` | A format string representing the symbol of V | +| `detect_extensions` | `['v']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | +| `style` | `'blue bold'` | Стиль модуля. | +| `disabled` | `false` | Disables the `vlang` module. | ### Variables -| Variable | Example | Description | -| --------- | ------- | ------------------------------------ | -| version | `v0.2` | The version of `v` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------- | ---------------------------------------- | +| version | `v0.2` | The version of `v` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -4047,26 +4050,26 @@ format = 'via [V $version](blue bold) ' The `vcsh` module displays the current active [VCSH](https://github.com/RichiH/vcsh) repository. The module will be shown only if a repository is currently in use. -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ---------- | -------------------------------- | ------------------------------------------------------ | | `symbol` | `''` | The symbol used before displaying the repository name. | -| `style` | `'bold yellow'` | The style for the module. | -| `format` | `'vcsh [$symbol$repo]($style) '` | The format for the module. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `format` | `'vcsh [$symbol$repo]($style) '` | Формат модуля. | | `disabled` | `false` | Disables the `vcsh` module. | ### Variables -| Variable | Example | Description | -| --------- | ------------------------------------------- | ------------------------------------ | -| repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | -| symbol | | Mirrors the value of option `symbol` | -| style\* | `black bold dimmed` | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | ------------------------------------------- | ---------------------------------------- | +| repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | `black bold dimmed` | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -4081,30 +4084,30 @@ By default the `zig` module shows the currently installed version of [Zig](https - The current directory contains a `.zig` file -### Options +### Параметри -| Option | Default | Description | -| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. | -| `style` | `'bold yellow'` | The style for the module. | -| `disabled` | `false` | Disables the `zig` module. | -| `detect_extensions` | `['zig']` | Which extensions should trigger this module. | -| `detect_files` | `[]` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this module. | +| Параметр | Стандартно | Опис | +| ------------------- | ------------------------------------ | -------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Формат модуля. | +| `version_format` | `'v${raw}'` | Формат версії. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. | +| `style` | `'bold yellow'` | Стиль модуля. | +| `disabled` | `false` | Disables the `zig` module. | +| `detect_extensions` | `['zig']` | Які розширення повинні запускати цей модуль. | +| `detect_files` | `[]` | Які імена файлів мають запускати цей модуль. | +| `detect_folders` | `[]` | Which folders should trigger this module. | ### Variables -| Variable | Example | Description | -| --------- | -------- | ------------------------------------ | -| version | `v0.6.0` | The version of `zig` | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Змінна | Приклад | Опис | +| --------- | -------- | ---------------------------------------- | +| version | `v0.6.0` | The version of `zig` | +| symbol | | Віддзеркалює значення параметра `symbol` | +| style\* | | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка -### Example +### Приклад ```toml # ~/.config/starship.toml @@ -4151,20 +4154,21 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt ::: -### Options +### Параметри -| Option | Default | Description | +| Параметр | Стандартно | Опис | | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | | `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | | `symbol` | `''` | The symbol used before displaying the command output. | -| `style` | `'bold green'` | The style for the module. | -| `format` | `'[$symbol($output )]($style)'` | The format for the module. | +| `style` | `'bold green'` | Стиль модуля. | +| `format` | `'[$symbol($output )]($style)'` | Формат модуля. | | `disabled` | `false` | Disables this `custom` module. | | `os` | | Operating System name on which the module will be shown (unix, linux, macos, windows, ... ) [See possible values](https://doc.rust-lang.org/std/env/consts/constant.OS.html). | | `use_stdin` | | An optional boolean value that overrides whether commands should be forwarded to the shell via the standard input or as an argument. If unset standard input is used by default, unless the shell does not support it (cmd, nushell). Setting this disables shell-specific argument handling. | @@ -4172,13 +4176,13 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt ### Variables -| Variable | Description | -| --------- | -------------------------------------- | -| output | The output of shell command in `shell` | -| symbol | Mirrors the value of option `symbol` | -| style\* | Mirrors the value of option `style` | +| Змінна | Опис | +| --------- | ---------------------------------------- | +| output | The output of shell command in `shell` | +| symbol | Віддзеркалює значення параметра `symbol` | +| style\* | Віддзеркалює значення параметра `style` | -*: This variable can only be used as a part of a style string +*: Ця змінна може бути використана лише як частина стилю рядка #### Custom command shell @@ -4209,7 +4213,7 @@ Automatic detection of shells and proper parameters addition are currently imple ::: -### Example +### Приклад ```toml # ~/.config/starship.toml diff --git a/docs/uk-UA/guide/README.md b/docs/uk-UA/guide/README.md index b3533468..c9543bae 100644 --- a/docs/uk-UA/guide/README.md +++ b/docs/uk-UA/guide/README.md @@ -39,7 +39,7 @@ · Встановлення · - Конфігурація + Налаштування

@@ -152,9 +152,9 @@ **Простий, супер швидкий та безмежно адаптивний командний рядок для будь-якої оболонки!** -- **Швидкий:** так, швидкий - _реально_ швидкий! 🚀 -- **Адаптивний:** налаштуйте кожен елемент вашого командного запиту. -- **Універсальний:** працює у всіх командних оболонках, в будь-якій операційній системі. +- **Швидкий:** так, швидкий – _реально_ швидкий! 🚀 +- **Адаптивний:** налаштуйте кожен елемент вашого командного рядка. +- **Універсальний:** працює у всіх оболонках, в будь-якій операційній системі. - **Інформативний:** одразу показує потрібну інформацію. - **Багато функцій:** підтримує всі ваші улюблені інструменти. - **Простий:** швидка інсталяція дозволяє почати роботу за лічені хвилини. @@ -165,33 +165,33 @@ -## 🚀 Установлення +## 🚀 Встановлення ### Передумови -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)). +- Встановлений та увімкнений у Вашому терміналі набір шрифтів [Nerd Font](https://www.nerdfonts.com/) (для прикладу, спробуйте [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). -### Крок 1. Установіть starship +### Крок 1. Встановлення starship -Виберіть Вашу операційну систему зі списку нижче, щоб переглянути інструкцію з установки: +Оберіть Вашу операційну систему зі списку нижче, щоб переглянути інструкцію зі встановлення:

Android -Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: +Встановіть Starship використовуючи будь-який з наступних пакетних менеджерів: -| Репозиторій | Командна інструкція | -| --------------------------------------------------------------------------------- | ---------------------- | -| [Termux](https://github.com/termux/termux-packages/tree/master/packages/starship) | `pkg install starship` | +| Репозиторій | Команда для встановлення | +| --------------------------------------------------------------------------------- | ------------------------ | +| [Termux](https://github.com/termux/termux-packages/tree/master/packages/starship) | `pkg install starship` |
BSD -Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: +Встановіть Starship використовуючи будь-який з наступних пакетних менеджерів: -| Дистрибутив | Репозиторій | Командна інструкція | +| Дистрибутив | Репозиторій | Команда для встановлення | | --------------- | -------------------------------------------------------- | --------------------------------- | | **_Будь-який_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` | @@ -202,7 +202,7 @@
Linux -Оновіться до останньої версії системи: +Встановіть останню версію для вашої системи: ```sh curl -sS https://starship.rs/install.sh | sh @@ -210,7 +210,7 @@ curl -sS https://starship.rs/install.sh | sh Як варіант, можете встановити Starship через будь-який з наступних пакетних менеджерів: -| Дистрибутив | Репозиторій | Командна інструкція | +| Дистрибутив | Репозиторій | Команда для встановлення | | ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | **_Будь-який_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | _Будь-який_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` | @@ -229,15 +229,15 @@ curl -sS https://starship.rs/install.sh | sh
macOS -Оновіться до останньої версії системи: +Встановіть останню версію для вашої системи: ```sh curl -sS https://starship.rs/install.sh | sh ``` -Як варіант, можете встановити Starship через будь-який з наступних пакетних менеджерів: +Як варіант, можете встановити Starship скориставшись будь-яким з наступних пакетних менеджерів: -| Репозиторій | Командна інструкція | +| Репозиторій | Команда для встановлення | | -------------------------------------------------------- | --------------------------------------- | | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` | @@ -253,7 +253,7 @@ curl -sS https://starship.rs/install.sh | sh Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: -| Репозиторій | Командна інструкція | +| Репозиторій | Команда для встановлення | | -------------------------------------------------------------------------------------------- | --------------------------------------- | | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | [Chocolatey](https://community.chocolatey.org/packages/starship) | `choco install starship` | @@ -281,7 +281,7 @@ eval "$(starship init bash)"
Cmd -Вам потрібно використовувати [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) разом з Cmd. Створіть файл за шляхом `%LocalAppData%\clink\starship.lua` із наступним вмістом: +Вам потрібно використовувати [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) разом з Cmd. Створіть файл `%LocalAppData%\clink\starship.lua` із наступним вмістом: ```lua load(io.popen('starship init cmd'):read("*a"))() @@ -327,14 +327,14 @@ eval $(starship init ion)
Nushell -Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): +Додайте наступне в кінець вашого файлу env (його можна знайти за допомогою змінної `$nu.env-path` в Nushell): ```sh mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu ``` -Додайте наступний рядок наприкінці Вашої конфігурації Nushell (знайдіть її виконавши `$nu.config-path`): +Додайте наступний рядок наприкінці налаштувань Nushell (знайдіть її за допомоги `$nu.config-path`): ```sh source ~/.cache/starship/init.nu @@ -390,39 +390,38 @@ eval "$(starship init zsh)" ### Крок 3. Налаштуйте starship -Start a new shell instance, and you should see your beautiful new shell prompt. If you're happy with the defaults, enjoy! +Запустіть новий екземпляр вашої оболонки і ви побачите новий яскравий командний рядок. Якщо вас влаштовують стандартні налаштування – насолоджуйтесь результатом! -If you're looking to further customize Starship: +Якщо ви бажаєте, ви можете продовжити налаштування Starship: -- **[Configuration](https://starship.rs/config/)** – learn how to configure Starship to tweak your prompt to your liking +- **[Налаштування](https://starship.rs/config/)** – дізнайтесь як налаштувати Starship, щоб підлаштувати командний рядок під свої потреби -- **[Presets](https://starship.rs/presets/)** – get inspired by the pre-built configuration of others +- **[Шаблони](https://starship.rs/presets/)** – спробуйте готові налаштування, створені іншими -## 🤝 Contributing +## 🤝 Участь -We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue). +Ми завжди раді вашому внеску, незалежно від рівня **вашого досвіду**! Якщо ви шукаєте спосіб допомоги проєкту, але ще не визначились, що можна зробити, спробуйте [завдання для початківців](https://github.com/starship/starship/labels/🌱%20good%20first%20issue). -If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/). +Якщо ви вільно володієте мовою відмінною від англійської, ми будемо дуже вдячні, якщо ви допоможете в перекладі документації та її підтримці в актуальному стані. Якщо у вас є бажання, переклади можна робити за допомогою [Starship Crowdin](https://translate.starship.rs/). -If you are interested in helping contribute to starship, please take a look at our [Contributing Guide](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Also, feel free to drop into our [Discord server](https://discord.gg/8Jzqu3T) and say hi. 👋 +Якщо ви зацікавлені у допомозі в розвитку starship, будь ласка, ознайомтесь з [Настановами з участі](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Також, завітайте до нашого [сервера Discord](https://discord.gg/8Jzqu3T). 👋 -## 💭 Inspired By +## 💭 Подяки -Будь ласка, перегляньте ці попередні роботи, які надихнули на створення starship. 🙏 +Будь ласка, перегляньте роботи, які надихнули на створення starship. 🙏 - **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – Командний рядок ZSH для астронавтів. -- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Cross-shell robbyrussell theme written in JavaScript. +- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Крос-оболонкова тема robbyrussell написана з використаннями JavaScript. -- **[reujab/silver](https://github.com/reujab/silver)** – A cross-shell customizable powerline-like prompt with icons. +- **[reujab/silver](https://github.com/reujab/silver)** – Крос-оболонковий командний рядок подібний до powerline з підтримкою значків. -## ❤️ Sponsors +## ❤️ Спонсори -Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website. +Підтримайте цей проект [ставши спонсором](https://github.com/sponsors/starship). Ваше імʼя або логотип показуватимуться тут з посиланням на ваш сайт. -**Supporter Tier** +**Підтримувачі** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

@@ -432,4 +431,4 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi ## 📝 Ліцензія -Copyright © 2019-present, [Starship Contributors](https://github.com/starship/starship/graphs/contributors).
This project is [ISC](https://github.com/starship/starship/blob/master/LICENSE) licensed. +Авторські права © 2019-по сьогодні, [Учасники Starship](https://github.com/starship/starship/graphs/contributors).
Цей проєкт ліцензується на умовах Ліцензії [ISC](https://github.com/starship/starship/blob/master/LICENSE). diff --git a/docs/uk-UA/installing/README.md b/docs/uk-UA/installing/README.md index c6726167..315b3482 100644 --- a/docs/uk-UA/installing/README.md +++ b/docs/uk-UA/installing/README.md @@ -1,9 +1,9 @@ # Розширене встановлення -Щоб установити starship, Ви мусите зробити дві речі: +Щоб встановити starship, Ви мусите зробити дві речі: -1. Завантажити бінарний файл **starship** на Ваш комп'ютер -1. Сказати вашій консолі використовувати бінарний файл starship у якості командного рядка, змінивши його скрипти ініціалізації +1. Завантажити бінарний файл **starship** на Ваш компʼютер +1. Вказати у вашій оболонці, що ви бажаєте використовувати бінарний файл starship у вигляді командного рядка, змінивши скрипти ініціалізації Для більшості користувачів чудово підійдуть інструкції на [головній сторінці](/guide/#🚀-installation). Однак, для деяких більш спеціалізованих платформ потрібні інші інструкції. @@ -11,11 +11,11 @@ ## [Chocolatey](https://chocolatey.org) -### Передумови +### Вимоги Перейдіть на [сторінку встановлення Chocolatey](https://chocolatey.org/install) та дотримуйтесь інструкцій, щоб установити Chocolatey. -### Установлення +### Встановлення ```powershell choco install starship @@ -23,13 +23,13 @@ choco install starship ## [termux](https://termux.com) -### Передумови +### Вимоги ```sh pkg install getconf ``` -### Установлення +### Встановлення ```sh curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin @@ -37,7 +37,7 @@ curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.term ## [Funtoo Linux](https://www.funtoo.org/Welcome) -### Установлення +### Встановлення У Funtoo Linux starship можна встановити з [core-kit](https://github.com/funtoo/core-kit/tree/1.4-release/app-shells/starship) через Portage: @@ -49,7 +49,7 @@ emerge app-shells/starship ### Завантаження бінарного файлу -#### Імперативно +#### Примусово ```sh nix-env -iA nixos.starship @@ -86,7 +86,7 @@ home-manager switch #### Декларативно, для цілої системи, з NixOS -Додайте `pkgs.starship` до `environment.systemPackages` у Вашій `configuration.nix`, після чого виконайте +Додайте `pkgs.starship` до `environment.systemPackages` у налаштування `configuration.nix`, після чого виконайте ```sh sudo nixos-rebuild switch diff --git a/docs/uk-UA/presets/bracketed-segments.md b/docs/uk-UA/presets/bracketed-segments.md index da108a37..946fc56a 100644 --- a/docs/uk-UA/presets/bracketed-segments.md +++ b/docs/uk-UA/presets/bracketed-segments.md @@ -6,10 +6,10 @@ This preset changes the format of all the built-in modules to show their segment ![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png) -### Configuration +### Налаштування ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/uk-UA/presets/nerd-font.md b/docs/uk-UA/presets/nerd-font.md index b4002baa..d55bad01 100644 --- a/docs/uk-UA/presets/nerd-font.md +++ b/docs/uk-UA/presets/nerd-font.md @@ -10,10 +10,10 @@ This preset changes the symbols for each module to use Nerd Font symbols. - A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font) -### Configuration +### Налаштування ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/uk-UA/presets/no-empty-icons.md b/docs/uk-UA/presets/no-empty-icons.md index 7be6867d..e0da02a9 100644 --- a/docs/uk-UA/presets/no-empty-icons.md +++ b/docs/uk-UA/presets/no-empty-icons.md @@ -6,10 +6,10 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ![Screenshot of No Empty Icons preset](/presets/img/no-empty-icons.png) -### Configuration +### Налаштування ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/uk-UA/presets/no-nerd-font.md b/docs/uk-UA/presets/no-nerd-font.md index b154a6c0..d77eba17 100644 --- a/docs/uk-UA/presets/no-nerd-font.md +++ b/docs/uk-UA/presets/no-nerd-font.md @@ -8,10 +8,10 @@ This means that even without a Nerd Font installed, you should be able to view a This preset will become the default preset in a future release of starship. -### Configuration +### Налаштування ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/uk-UA/presets/no-runtimes.md b/docs/uk-UA/presets/no-runtimes.md index a8b326cc..47717c72 100644 --- a/docs/uk-UA/presets/no-runtimes.md +++ b/docs/uk-UA/presets/no-runtimes.md @@ -6,10 +6,10 @@ This preset hides the version of language runtimes. If you work in containers or ![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png) -### Configuration +### Налаштування ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/uk-UA/presets/pastel-powerline.md b/docs/uk-UA/presets/pastel-powerline.md index 60d52a92..e4a992a7 100644 --- a/docs/uk-UA/presets/pastel-powerline.md +++ b/docs/uk-UA/presets/pastel-powerline.md @@ -10,10 +10,10 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m - A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Caskaydia Cove Nerd Font) -### Configuration +### Налаштування ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/uk-UA/presets/plain-text.md b/docs/uk-UA/presets/plain-text.md index e007e8d8..24699fd4 100644 --- a/docs/uk-UA/presets/plain-text.md +++ b/docs/uk-UA/presets/plain-text.md @@ -6,10 +6,10 @@ This preset changes the symbols for each module into plain text. Great if you do ![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png) -### Configuration +### Налаштування ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/uk-UA/presets/pure-preset.md b/docs/uk-UA/presets/pure-preset.md index ae1e85fc..4c818d0f 100644 --- a/docs/uk-UA/presets/pure-preset.md +++ b/docs/uk-UA/presets/pure-preset.md @@ -6,10 +6,10 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ![Screenshot of Pure preset](/presets/img/pure-preset.png) -### Configuration +### Налаштування ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/uk-UA/presets/tokyo-night.md b/docs/uk-UA/presets/tokyo-night.md index 1dbc02ea..43345fcf 100644 --- a/docs/uk-UA/presets/tokyo-night.md +++ b/docs/uk-UA/presets/tokyo-night.md @@ -8,12 +8,12 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Передумови -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal +- A Встановлений та увімкнений шрифт [Nerd Font](https://www.nerdfonts.com/) у вашому терміналі -### Configuration +### Налаштування ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/vi-VN/config/README.md b/docs/vi-VN/config/README.md index f43a0615..69dedbea 100644 --- a/docs/vi-VN/config/README.md +++ b/docs/vi-VN/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiế ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `mô tả` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/vi-VN/guide/README.md b/docs/vi-VN/guide/README.md index a790b135..02def682 100644 --- a/docs/vi-VN/guide/README.md +++ b/docs/vi-VN/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/vi-VN/presets/bracketed-segments.md b/docs/vi-VN/presets/bracketed-segments.md index 36d3ef2c..25ba9452 100644 --- a/docs/vi-VN/presets/bracketed-segments.md +++ b/docs/vi-VN/presets/bracketed-segments.md @@ -9,7 +9,7 @@ This preset changes the format of all the built-in modules to show their segment ### Cấu hình ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/vi-VN/presets/nerd-font.md b/docs/vi-VN/presets/nerd-font.md index f2299291..5d71f108 100644 --- a/docs/vi-VN/presets/nerd-font.md +++ b/docs/vi-VN/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### Cấu hình ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/vi-VN/presets/no-empty-icons.md b/docs/vi-VN/presets/no-empty-icons.md index 86bcab85..4cbc47ee 100644 --- a/docs/vi-VN/presets/no-empty-icons.md +++ b/docs/vi-VN/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### Cấu hình ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/vi-VN/presets/no-nerd-font.md b/docs/vi-VN/presets/no-nerd-font.md index d439af0a..58807736 100644 --- a/docs/vi-VN/presets/no-nerd-font.md +++ b/docs/vi-VN/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### Cấu hình ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/vi-VN/presets/no-runtimes.md b/docs/vi-VN/presets/no-runtimes.md index 6d4cc904..7496b846 100644 --- a/docs/vi-VN/presets/no-runtimes.md +++ b/docs/vi-VN/presets/no-runtimes.md @@ -9,7 +9,7 @@ This preset hides the version of language runtimes. If you work in containers or ### Cấu hình ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/vi-VN/presets/pastel-powerline.md b/docs/vi-VN/presets/pastel-powerline.md index c98b10a2..067423a8 100644 --- a/docs/vi-VN/presets/pastel-powerline.md +++ b/docs/vi-VN/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### Cấu hình ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/vi-VN/presets/plain-text.md b/docs/vi-VN/presets/plain-text.md index 3798b063..6d0945cc 100644 --- a/docs/vi-VN/presets/plain-text.md +++ b/docs/vi-VN/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### Cấu hình ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/vi-VN/presets/pure-preset.md b/docs/vi-VN/presets/pure-preset.md index f346ec70..c9c5c23d 100644 --- a/docs/vi-VN/presets/pure-preset.md +++ b/docs/vi-VN/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### Cấu hình ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/vi-VN/presets/tokyo-night.md b/docs/vi-VN/presets/tokyo-night.md index c608f2ef..96f47f0c 100644 --- a/docs/vi-VN/presets/tokyo-night.md +++ b/docs/vi-VN/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### Cấu hình ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml) diff --git a/docs/zh-CN/advanced-config/README.md b/docs/zh-CN/advanced-config/README.md index 49ccba76..f86c14ff 100644 --- a/docs/zh-CN/advanced-config/README.md +++ b/docs/zh-CN/advanced-config/README.md @@ -8,7 +8,7 @@ Starship 功能繁多,有时您必须在编辑 `starship.toml` 之外做更多 ::: -## PowerShell中的命令行提示(TransientPrompt) +## PowerShell 中的 TransientPrompt 可以用自定义字符串替换预设的命令行提示。 这在不经常需要所有提示信息的情况下很有用。 若要启用该功能,请在 shell 中运行 `Enable-TransitientPrompt`命令 若要永久启用该功能,请将 上述语句放在您的 `$PROFILE` 中。 通过在shell中运行 `Disable-TransientPrompt`命令来禁用这项功能。 @@ -280,5 +280,5 @@ continuation_prompt = '▶▶ ' 并非每种类型的字符串都会被每个终端正确显示。 特别地,以下是已知的几种情况: - 许多终端默认禁用对 `blink` 的支持 -- `hidden` is [not supported on iTerm](https://gitlab.com/gnachman/iterm2/-/issues/4564). -- `strikethrough` 不被默认 macOS Terminal.app 支持 +- [iTerm](https://gitlab.com/gnachman/iterm2/-/issues/4564) 不支持 `hidden` +- macOS 的默认终端不支持 `strikethrough` diff --git a/docs/zh-CN/config/README.md b/docs/zh-CN/config/README.md index 6f20919d..89121dea 100644 --- a/docs/zh-CN/config/README.md +++ b/docs/zh-CN/config/README.md @@ -1,25 +1,25 @@ # 配置 -您需要创建配置文件 `~/.config/starship.toml` 以供 Starship 使用。 +请为 Starship 创建配置文件 `~/.config/starship.toml`。 ```sh mkdir -p ~/.config && touch ~/.config/starship.toml ``` -Starship 的所有配置都在此 [TOML](https://github.com/toml-lang/toml) 配置文件中完成: +Starship 的所有配置都在此 [TOML](https://github.com/toml-lang/toml) 文件内: ```toml -# Get editor completions based on the config schema +# 根据 schema 提供自动补全 "$schema" = 'https://starship.rs/config-schema.json' -# Inserts a blank line between shell prompts +# 在提示符之间插入空行 add_newline = true -# Replace the '❯' symbol in the prompt with '➜' -[character] # The name of the module we are configuring is 'character' -success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' +# 将提示符中的 '❯' 替换为 '➜' +[character] # 此模块名称为 'character' +success_symbol = '[➜](bold green)' # 将 'success_symbol' 片段设置成颜色为 'bold green' 的 '➜' -# Disable the package module, hiding it from the prompt completely +# 禁用 'package' 组件,将其隐藏 [package] disabled = true ``` @@ -66,56 +66,56 @@ os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp') ### 术语 -**组件(Module)**:提示符的组成部分,通过来自系统的上下文信息向用户显示各种信息。 例如,如果您当前的目录是 Node.js 项目,“nodejs” 模块会显示当前安装在您电脑上的 Node.js 的版本。 +**组件(Module)**:提示符中显示信息的部分,基于系统上下文信息。 例如,如果您当前的目录是 Node.js 项目,“nodejs” 组件会显示当前安装在您电脑上的 Node.js 的版本。 -**字段(Variable)**:更小的子模块,包含由组件提供的信息。 例如,“nodejs”组件里的“version”字段包含了现有 Node.js 的版本。 +**字段(Variable)**:组件中显示信息的部分。 例如,“nodejs”组件里的“version”字段包含了现有 Node.js 的版本。 依惯例,大多组件都有一个带有默认终端颜色的前缀(例如“nodejs”的 `via`),以及一个空格作为后缀。 ### 字符串 -In TOML syntax, [text values](https://toml.io/en/v1.0.0#string) are declared with `'`, `"`, `'''`, or `"""`. +在 TOML 语法中,[字符串](https://toml.io/en/v1.0.0#string) 以 `'`、`"`、`'''`、或 `"""` 来表示。 -下列 Starship 语法符号在格式字符串中具有特殊用途,必须转义才能以原字符显示: `$ [ ] ( )`。 +以下 Starship 语法符号在样式字符串中具有特殊用途,必须转义才能以原字符显示: `$ [ ] ( )`。 -| Symbol | Type | Notes | -| ------ | ------------------------- | ------------------------------------------------------ | -| `'` | literal string | less escaping | -| `"` | string | more escaping | -| `'''` | multi-line literal string | less escaping | -| `"""` | multi-line string | more escaping, newlines in declarations can be ignored | +| 符号 | 类型 | 备注 | +| ----- | ------- | --------- | +| `'` | 字面字符串 | 较少转义 | +| `"` | 字符串 | 较多转义 | +| `'''` | 多行字面字符串 | 较少转义 | +| `"""` | 多行字符串 | 较多转义,无视换行 | 例如: ```toml -# literal string +# 字面字符串 format = '☺\☻ ' -# regular string +# 常规字符串 format = "☺\\☻ " -# escaping Starship symbols +# 转义 Starship 符号 format = '\[\$\] ' ``` -When using line breaks, multi-line declarations can be used. For example, if you want to print a `$` symbol on a new line, the following values for `format` are equivalent: +需要换行时,请使用多行字符串。 例如,以下 `format` 字段的值都会下一行输出 `$` 符号: ```toml -# with literal string +# 使用字面字符串 format = ''' \$''' -# with multiline basic string +# 使用多行字符串 format = """ \\$""" -# with basic string +# 使用基本字符串 format = "\n\\$" ``` -In multiline basic strings, newlines can be used for formatting without being present in the value by escaping them. +使用多行字符串时,可以转义换行符以忽略换行,从而实现格式化。 ```toml format = """ @@ -128,19 +128,19 @@ line2 """ ``` -### 格式设定 +### 样式字符串 -组件会根据定义的格式输出它所有的字段。 大多数组件可以通过 `format` 项来配置它的显示格式。 格式设定内可以包含文本、字段以及文本组。 +组件将根据样式字符串输出其中字段。 大多数组件可以通过 `format` 项来配置它的显示格式。 格式设定内可以包含文本、字段以及文本组。 #### 字段 -一个字段由 `$` 和字段名依序组成。 字段名只能包含字母、数字以及 `_`。 +字段由 `$` 和名称组成。 名称仅支持字母、数字和 `_`。 例如: -- `'$version'` is a format string with a variable named `version`. -- `'$git_branch$git_commit'` is a format string with two variables named `git_branch` and `git_commit`. -- `'$git_branch $git_commit'` has the two variables separated with a space. +- 样式字符串 `'$version'` 仅包含字段 `version`。 +- 样式字符串 `'$git_branch$git_commit'` 包含两个字段,`git_branch` 和 `git_commit`。 +- 样式字符串 `'$git_branch $git_commit'` 包含两个以空格分隔的字段。 #### 文本组 @@ -181,7 +181,7 @@ Starship 中的大多数组件允许您为其设置显示样式。 显示样式 ### 错误匹配 -许多模块都有 detect_extensions, detect_files, 和 detect_folders 变量。 These take lists of strings to match or not match. "Negative" options, those which should not be matched, are indicated with a leading '!' character. The presence of _any_ negative indicator in the directory will result in the module not being matched. +许多组件都有 `detect_extensions`、`detect_files` 和 `detect_folders` 变量。 These take lists of strings to match or not match. "Negative" options, those which should not be matched, are indicated with a leading '!' character. The presence of _any_ negative indicator in the directory will result in the module not being matched. Extensions are matched against both the characters after the last dot in a filename, and the characters after the first dot in a filename. For example, `foo.bar.tar.gz` will be matched against `bar.tar.gz` and `gz` in the `detect_extensions` variable. Files whose name begins with a dot are not considered to have extensions at all. @@ -355,7 +355,7 @@ When using [saml2aws](https://github.com/Versent/saml2aws) the expiration inform | 选项 | 默认值 | 描述 | | ------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `format` | `'on [$symbol($profile )(\($region\) )(\[$duration\] )]($style)'` | 组件格式化模板。 | -| `symbol` | `'☁️ '` | 这个字段的内容会显示在当前 AWS 配置信息之前。 | +| `符号` | `'☁️ '` | 这个字段的内容会显示在当前 AWS 配置信息之前。 | | `region_aliases` | `{}` | 地区缩写列表,用来显示在 AWS 主机名之后。 | | `profile_aliases` | `{}` | Table of profile aliases to display in addition to the AWS name. | | `style` | `'bold yellow'` | 此组件的样式。 | @@ -370,7 +370,7 @@ When using [saml2aws](https://github.com/Versent/saml2aws) the expiration inform | region | `ap-northeast-1` | The current AWS region | | profile | `astronauts` | The current AWS profile | | duration | `2h27m20s` | The temporary credentials validity duration | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -429,7 +429,7 @@ The `azure` module shows the current Azure Subscription. This is based on showin | 字段 | 默认值 | 描述 | | ---------- | ---------------------------------------- | ------------------------------------------ | | `format` | `'on [$symbol($subscription)]($style) '` | The format for the Azure module to render. | -| `symbol` | `'ﴃ '` | The symbol used in the format. | +| `符号` | `'ﴃ '` | The symbol used in the format. | | `style` | `'blue bold'` | The style used in the format. | | `disabled` | `true` | Disables the `azure` module. | @@ -538,7 +538,7 @@ The `buf` module shows the currently installed version of [Buf](https://buf.buil | ------------------- | ----------------------------------------------- | ----------------------------------------------------- | | `format` | `'with [$symbol($version )]($style)'` | The format for the `buf` module. | | `version_format` | `'v${raw}'` | The version format. | -| `symbol` | `'🐃 '` | The symbol used before displaying the version of Buf. | +| `符号` | `'🐃 '` | The symbol used before displaying the version of Buf. | | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `['buf.yaml', 'buf.gen.yaml', 'buf.work.yaml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this modules. | @@ -550,7 +550,7 @@ The `buf` module shows the currently installed version of [Buf](https://buf.buil | 字段 | 示例 | 描述 | | --------- | -------- | -------------------- | | `version` | `v1.0.0` | The version of `buf` | -| `symbol` | | `symbol`对应值 | +| `符号` | | `symbol`对应值 | | `style`* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -577,7 +577,7 @@ The `bun` module shows the currently installed version of the [bun](https://bun. | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🍞 '` | A format string representing the symbol of Bun. | +| `符号` | `'🍞 '` | A format string representing the symbol of Bun. | | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -589,7 +589,7 @@ The `bun` module shows the currently installed version of the [bun](https://bun. | 字段 | 示例 | 描述 | | --------- | -------- | -------------------- | | version | `v0.1.4` | The version of `bun` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -613,7 +613,7 @@ The `c` module shows some information about your C compiler. By default the modu | ------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version(-$name) )]($style)'` | The format string for the module. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'C '` | The symbol used before displaying the compiler details | +| `符号` | `'C '` | The symbol used before displaying the compiler details | | `detect_extensions` | `['c', 'h']` | Which extensions should trigger this module. | | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -627,7 +627,7 @@ The `c` module shows some information about your C compiler. By default the modu | ------- | ------ | --------------------------- | | name | clang | The name of the compiler | | version | 13.0.0 | The version of the compiler | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style | | `style`对应值 | NB that `version` is not in the default format. @@ -681,9 +681,9 @@ By default it only changes color. If you also want to change its shape take a lo ### Variables -| 字段 | 示例 | 描述 | -| ------ | -- | -------------------------------------------------------------------------------------------------------- | -| symbol | | A mirror of either `success_symbol`, `error_symbol`, `vimcmd_symbol` or `vimcmd_replace_one_symbol` etc. | +| 字段 | 示例 | 描述 | +| -- | -- | -------------------------------------------------------------------------------------------------------- | +| 符号 | | A mirror of either `success_symbol`, `error_symbol`, `vimcmd_symbol` or `vimcmd_replace_one_symbol` etc. | ### Examples @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -729,7 +729,7 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak | ------------------- | -------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'△ '` | The symbol used before the version of cmake. | +| `符号` | `'△ '` | The symbol used before the version of cmake. | | `detect_extensions` | `[]` | Which extensions should trigger this module | | `detect_files` | `['CMakeLists.txt', 'CMakeCache.txt']` | Which filenames should trigger this module | | `detect_folders` | `[]` | Which folders should trigger this module | @@ -741,7 +741,7 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak | 字段 | 示例 | 描述 | | --------- | --------- | -------------------- | | version | `v3.17.3` | The version of cmake | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -757,7 +757,7 @@ The `cobol` module shows the currently installed version of COBOL. By default, t | 选项 | 默认值 | 描述 | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `symbol` | `'⚙️ '` | The symbol used before displaying the version of COBOL. | +| `符号` | `'⚙️ '` | The symbol used before displaying the version of COBOL. | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `style` | `'bold blue'` | 此组件的样式。 | @@ -771,7 +771,7 @@ The `cobol` module shows the currently installed version of COBOL. By default, t | 字段 | 示例 | 描述 | | --------- | ---------- | ---------------------- | | version | `v3.1.2.0` | The version of `cobol` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -835,7 +835,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e | 选项 | 默认值 | 描述 | | ------------------- | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | `truncation_length` | `1` | 如果这个 conda 环境是通过 `conda create -p [path]` 创建的,环境路径的目录深度应该被截断到此数量。 `0` 表示不用截断。 另请参阅 [`directory`](#directory) 组件。 | -| `symbol` | `'🅒 '` | 在环境名之前显示的符号。 | +| `符号` | `'🅒 '` | 在环境名之前显示的符号。 | | `style` | `'bold green'` | 此组件的样式。 | | `format` | `'via [$symbol$environment]($style) '` | 组件格式化模板。 | | `ignore_base` | `true` | Ignores `base` environment when activated. | @@ -846,7 +846,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e | 字段 | 示例 | 描述 | | ----------- | ------------ | ----------------------------- | | environment | `astronauts` | The current conda environment | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -868,7 +868,7 @@ The `container` module displays a symbol and container name, if inside a contain | 选项 | 默认值 | 描述 | | ---------- | ---------------------------------- | ----------------------------------------- | -| `symbol` | `'⬢'` | The symbol shown, when inside a container | +| `符号` | `'⬢'` | The symbol shown, when inside a container | | `style` | `'bold red dimmed'` | 此组件的样式。 | | `format` | `'[$symbol \[$name\]]($style) '` | 组件格式化模板。 | | `disabled` | `false` | Disables the `container` module. | @@ -878,7 +878,7 @@ The `container` module displays a symbol and container name, if inside a contain | 字段 | 示例 | 描述 | | --------- | ------------------- | ------------------------- | | name | `fedora-toolbox:35` | The name of the container | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -903,7 +903,7 @@ The `crystal` module shows the currently installed version of [Crystal](https:// | 选项 | 默认值 | 描述 | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `symbol` | `'🔮 '` | The symbol used before displaying the version of crystal. | +| `符号` | `'🔮 '` | The symbol used before displaying the version of crystal. | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `style` | `'bold red'` | 此组件的样式。 | @@ -917,7 +917,7 @@ The `crystal` module shows the currently installed version of [Crystal](https:// | 字段 | 示例 | 描述 | | --------- | --------- | ------------------------ | | version | `v0.32.1` | The version of `crystal` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -943,7 +943,7 @@ The `daml` module shows the currently used [Daml](https://www.digitalasset.com/d | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'Λ '` | A format string representing the symbol of Daml | +| `符号` | `'Λ '` | A format string representing the symbol of Daml | | `style` | `'bold cyan'` | 此组件的样式。 | | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `['daml.yaml']` | Which filenames should trigger this module. | @@ -955,7 +955,7 @@ The `daml` module shows the currently used [Daml](https://www.digitalasset.com/d | 字段 | 示例 | 描述 | | --------- | -------- | --------------------- | | version | `v2.2.0` | The version of `daml` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -983,7 +983,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d | ------------------- | ------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🎯 '` | A format string representing the symbol of Dart | +| `符号` | `'🎯 '` | A format string representing the symbol of Dart | | `detect_extensions` | `['dart']` | Which extensions should trigger this module. | | `detect_files` | `['pubspec.yaml', 'pubspec.yml', 'pubspec.lock']` | Which filenames should trigger this module. | | `detect_folders` | `['.dart_tool']` | Which folders should trigger this module. | @@ -995,7 +995,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d | 字段 | 示例 | 描述 | | --------- | -------- | --------------------- | | version | `v2.8.4` | The version of `dart` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -1021,7 +1021,7 @@ The `deno` module shows you your currently installed version of [Deno](https://d | ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦕 '` | A format string representing the symbol of Deno | +| `符号` | `'🦕 '` | A format string representing the symbol of Deno | | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -1033,7 +1033,7 @@ The `deno` module shows you your currently installed version of [Deno](https://d | 字段 | 示例 | 描述 | | --------- | -------- | --------------------- | | version | `v1.8.3` | The version of `deno` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | ### 示例 @@ -1135,7 +1135,7 @@ The `docker_context` module shows the currently active [Docker context](https:// | 选项 | 默认值 | 描述 | | ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `format` | `'via [$symbol$context]($style) '` | 组件格式化模板。 | -| `symbol` | `'🐳 '` | The symbol used before displaying the Docker context. | +| `符号` | `'🐳 '` | 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). | @@ -1148,7 +1148,7 @@ The `docker_context` module shows the currently active [Docker context](https:// | 字段 | 示例 | 描述 | | --------- | -------------- | -------------------------- | | context | `test_context` | The current docker context | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -1189,7 +1189,7 @@ The module will also show the Target Framework Moniker ( '` | The symbol used before displaying the version of PureScript. | +| `符号` | `'<=> '` | The symbol used before displaying the version of PureScript. | | `detect_extensions` | `['purs']` | Which extensions should trigger this module. | | `detect_files` | `['spago.dhall']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3172,7 +3175,7 @@ The `purescript` module shows the currently installed version of [PureScript](ht | 字段 | 示例 | 描述 | | --------- | -------- | --------------------------- | | version | `0.13.5` | The version of `purescript` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3210,7 +3213,7 @@ By default the module will be shown if any of the following conditions are met: | -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | | `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐍 '` | 用于表示Python的格式化字符串。 | +| `符号` | `'🐍 '` | 用于表示Python的格式化字符串。 | | `style` | `'yellow bold'` | 此组件的样式。 | | `pyenv_version_name` | `false` | 使用 pyenv 获取 Python 版本 | | `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used | @@ -3233,7 +3236,7 @@ The default values and order for `python_binary` was chosen to first identify th | 字段 | 示例 | 描述 | | ------------ | --------------- | ------------------------------------------ | | version | `'v3.8.1'` | `python`版本 | -| symbol | `'🐍 '` | `symbol`对应值 | +| 符号 | `'🐍 '` | `symbol`对应值 | | style | `'yellow bold'` | `style`对应值 | | pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | | virtualenv | `'venv'` | 当前`virtualenv`名称 | @@ -3293,7 +3296,7 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'📐'` | A format string representing the symbol of R. | +| `符号` | `'📐'` | A format string representing the symbol of R. | | `style` | `'blue bold'` | 此组件的样式。 | | `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Which extensions should trigger this module | | `detect_files` | `['.Rprofile']` | Which filenames should trigger this module | @@ -3305,7 +3308,7 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr | 字段 | 示例 | 描述 | | ------- | ------------- | ------------------ | | version | `v4.0.5` | The version of `R` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style | `'blue bold'` | `style`对应值 | ### 示例 @@ -3330,7 +3333,7 @@ The `raku` module shows the currently installed version of [Raku](https://www.ra | ------------------- | ------------------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version-$vm_version )]($style)'` | The format string for the module. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦋 '` | The symbol used before displaying the version of Raku | +| `符号` | `'🦋 '` | The symbol used before displaying the version of Raku | | `detect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Which extensions should trigger this module. | | `detect_files` | `['META6.json']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3343,7 +3346,7 @@ The `raku` module shows the currently installed version of [Raku](https://www.ra | ---------- | ------ | ------------------------------------ | | version | `v6.d` | The version of `raku` | | vm_version | `moar` | The version of VM `raku` is built on | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | ### 示例 @@ -3367,7 +3370,7 @@ By default the `red` module shows the currently installed version of [Red](https | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🔺 '` | A format string representing the symbol of Red. | +| `符号` | `'🔺 '` | A format string representing the symbol of Red. | | `detect_extensions` | `['red']` | Which extensions should trigger this module. | | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3379,7 +3382,7 @@ By default the `red` module shows the currently installed version of [Red](https | 字段 | 示例 | 描述 | | --------- | -------- | -------------------- | | version | `v2.5.1` | The version of `red` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3410,7 +3413,7 @@ Starship gets the current Ruby version by running `ruby -v`. | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | +| `符号` | `'💎 '` | A format string representing the symbol of Ruby. | | `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. | @@ -3423,7 +3426,7 @@ Starship gets the current Ruby version by running `ruby -v`. | 字段 | 示例 | 描述 | | --------- | -------- | --------------------- | | version | `v2.5.1` | The version of `ruby` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3450,7 +3453,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | +| `符号` | `'🦀 '` | A format string representing the symbol of Rust | | `detect_extensions` | `['rs']` | Which extensions should trigger this module. | | `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3464,7 +3467,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | version | `v1.43.0-nightly` | The version of `rustc` | | numver | `1.51.0` | The numeric component of the `rustc` version | | toolchain | `beta` | The toolchain version | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3495,7 +3498,7 @@ The `scala` module shows the currently installed version of [Scala](https://www. | `detect_extensions` | `['sbt', 'scala']` | Which extensions should trigger this module. | | `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Which filenames should trigger this module. | | `detect_folders` | `['.metals']` | Which folders should trigger this modules. | -| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. | +| `符号` | `'🆂 '` | A format string representing the symbol of Scala. | | `style` | `'red dimmed'` | 此组件的样式。 | | `disabled` | `false` | Disables the `scala` module. | @@ -3504,7 +3507,7 @@ The `scala` module shows the currently installed version of [Scala](https://www. | 字段 | 示例 | 描述 | | --------- | -------- | ---------------------- | | version | `2.13.5` | The version of `scala` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3579,7 +3582,7 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int | ----------- | ---------------------------- | ------------------------------------------------------------- | | `threshold` | `2` | Display threshold. | | `format` | `'[$symbol$shlvl]($style) '` | 组件格式化模板。 | -| `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. | +| `符号` | `'↕️ '` | The symbol used to represent the `SHLVL`. | | `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. | | `style` | `'bold yellow'` | 此组件的样式。 | | `disabled` | `true` | Disables the `shlvl` module. | @@ -3589,7 +3592,7 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int | 字段 | 示例 | 描述 | | --------- | --- | ---------------------------- | | shlvl | `3` | The current value of `SHLVL` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3614,7 +3617,7 @@ The `singularity` module shows the current [Singularity](https://sylabs.io/singu | 选项 | 默认值 | 描述 | | ---------- | -------------------------------- | ------------------------------------------------ | | `format` | `'[$symbol\[$env\]]($style) '` | 组件格式化模板。 | -| `symbol` | `''` | A format string displayed before the image name. | +| `符号` | `''` | A format string displayed before the image name. | | `style` | `'bold dimmed blue'` | 此组件的样式。 | | `disabled` | `false` | Disables the `singularity` module. | @@ -3623,7 +3626,7 @@ The `singularity` module shows the current [Singularity](https://sylabs.io/singu | 字段 | 示例 | 描述 | | --------- | ------------ | ----------------------------- | | env | `centos.img` | The current Singularity image | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3646,7 +3649,7 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat | 选项 | 默认值 | 描述 | | ------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | `truncation_length` | `1` | The number of directories the environment path should be truncated to. `0` 表示不用截断。 另请参阅 [`directory`](#directory) 组件。 | -| `symbol` | `'🅢 '` | 在环境名之前显示的符号。 | +| `符号` | `'🅢 '` | 在环境名之前显示的符号。 | | `style` | `'bold blue'` | 此组件的样式。 | | `format` | `'via [$symbol$environment]($style) '` | 组件格式化模板。 | | `disabled` | `false` | Disables the `spack` module. | @@ -3656,7 +3659,7 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat | 字段 | 示例 | 描述 | | ----------- | ------------ | ----------------------------- | | environment | `astronauts` | The current spack environment | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3685,7 +3688,7 @@ The `status` module displays the exit code of the previous command. If $success_ | 选项 | 默认值 | 描述 | | --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | | `format` | `'[$symbol$status]($style) '` | The format of the module | -| `symbol` | `'❌'` | The symbol displayed on program error | +| `符号` | `'❌'` | The symbol displayed on program error | | `success_symbol` | `''` | The symbol displayed on program success | | `not_executable_symbol` | `'🚫'` | The symbol displayed when file isn't executable | | `not_found_symbol` | `'🔍'` | The symbol displayed when the command can't be found | @@ -3712,7 +3715,7 @@ The `status` module displays the exit code of the previous command. If $success_ | signal_name | `KILL` | Name of the signal corresponding to the exit code, only if signalled | | maybe_int | `7` | Contains the exit code number when no meaning has been found | | pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3746,7 +3749,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module | 选项 | 默认值 | 描述 | | --------------- | ------------------------ | ------------------------------------------------------- | | `format` | `'[as $symbol]($style)'` | The format of the module | -| `symbol` | `'🧙 '` | The symbol displayed when credentials are cached | +| `符号` | `'🧙 '` | The symbol displayed when credentials are cached | | `style` | `'bold blue'` | 此组件的样式。 | | `allow_windows` | `false` | Since windows has no default sudo, default is disabled. | | `disabled` | `true` | Disables the `sudo` module. | @@ -3755,7 +3758,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module | 字段 | 示例 | 描述 | | --------- | -- | ----------- | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3793,7 +3796,7 @@ By default the `swift` module shows the currently installed version of [Swift](h | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐦 '` | A format string representing the symbol of Swift | +| `符号` | `'🐦 '` | A format string representing the symbol of Swift | | `detect_extensions` | `['swift']` | Which extensions should trigger this module. | | `detect_files` | `['Package.swift']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3805,7 +3808,7 @@ By default the `swift` module shows the currently installed version of [Swift](h | 字段 | 示例 | 描述 | | --------- | -------- | ---------------------- | | version | `v5.2.4` | The version of `swift` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3840,7 +3843,7 @@ By default the module will be shown if any of the following conditions are met: | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol$workspace]($style) '` | The format string for the module. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💠'` | A format string shown before the terraform workspace. | +| `符号` | `'💠'` | A format string shown before the terraform workspace. | | `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Which extensions should trigger this module. | | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `['.terraform']` | Which folders should trigger this module. | @@ -3853,7 +3856,7 @@ By default the module will be shown if any of the following conditions are met: | --------- | ---------- | ------------------------------- | | version | `v0.12.24` | The version of `terraform` | | workspace | `default` | The current Terraform workspace | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3981,7 +3984,7 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'⍱ '` | A format string representing the symbol of Vagrant. | +| `符号` | `'⍱ '` | A format string representing the symbol of Vagrant. | | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `['Vagrantfile']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -3993,7 +3996,7 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | 字段 | 示例 | 描述 | | --------- | ---------------- | ------------------------ | | version | `Vagrant 2.2.10` | The version of `Vagrant` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -4020,7 +4023,7 @@ The `vlang` module shows you your currently installed version of [V](https://vla | ------------------- | -------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'V '` | A format string representing the symbol of V | +| `符号` | `'V '` | A format string representing the symbol of V | | `detect_extensions` | `['v']` | Which extensions should trigger this module. | | `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | @@ -4032,7 +4035,7 @@ The `vlang` module shows you your currently installed version of [V](https://vla | 字段 | 示例 | 描述 | | --------- | ------ | ------------------ | | version | `v0.2` | The version of `v` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | ### 示例 @@ -4051,7 +4054,7 @@ The `vcsh` module displays the current active [VCSH](https://github.com/RichiH/v | 选项 | 默认值 | 描述 | | ---------- | -------------------------------- | ------------------------------------------------------ | -| `symbol` | `''` | The symbol used before displaying the repository name. | +| `符号` | `''` | The symbol used before displaying the repository name. | | `style` | `'bold yellow'` | 此组件的样式。 | | `format` | `'vcsh [$symbol$repo]($style) '` | 组件格式化模板。 | | `disabled` | `false` | Disables the `vcsh` module. | @@ -4061,7 +4064,7 @@ The `vcsh` module displays the current active [VCSH](https://github.com/RichiH/v | 字段 | 示例 | 描述 | | --------- | ------------------------------------------- | -------------------------- | | repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | `black bold dimmed` | `style`对应值 | *: This variable can only be used as a part of a style string @@ -4087,7 +4090,7 @@ By default the `zig` module shows the currently installed version of [Zig](https | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | 组件格式化模板。 | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. | +| `符号` | `'↯ '` | The symbol used before displaying the version of Zig. | | `style` | `'bold yellow'` | 此组件的样式。 | | `disabled` | `false` | Disables the `zig` module. | | `detect_extensions` | `['zig']` | Which extensions should trigger this module. | @@ -4099,7 +4102,7 @@ By default the `zig` module shows the currently installed version of [Zig](https | 字段 | 示例 | 描述 | | --------- | -------- | -------------------- | | version | `v0.6.0` | The version of `zig` | -| symbol | | `symbol`对应值 | +| 符号 | | `symbol`对应值 | | style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -4157,12 +4160,13 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `描述` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | -| `symbol` | `''` | The symbol used before displaying the command output. | +| `符号` | `''` | The symbol used before displaying the command output. | | `style` | `'bold green'` | 此组件的样式。 | | `format` | `'[$symbol($output )]($style)'` | 组件格式化模板。 | | `disabled` | `false` | Disables this `custom` module. | @@ -4175,7 +4179,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | 字段 | 描述 | | --------- | -------------------------------------- | | output | The output of shell command in `shell` | -| symbol | `symbol`对应值 | +| 符号 | `symbol`对应值 | | style\* | `style`对应值 | *: This variable can only be used as a part of a style string @@ -4215,19 +4219,19 @@ Automatic detection of shells and proper parameters addition are currently imple # ~/.config/starship.toml [custom.foo] -command = 'echo foo' # shows output of command -detect_files = ['foo'] # can specify filters but wildcards are not supported +command = 'echo foo' # 显示命令输出 +detect_files = ['foo'] # 支持过滤器,但不支持通配符 when = ''' test "$HOME" = "$PWD" ''' format = ' transcending [$output]($style)' [custom.time] command = 'time /T' -detect_extensions = ['pst'] # filters *.pst files +detect_extensions = ['pst'] # 识别 *.pst 文件 shell = ['pwsh.exe', '-NoProfile', '-Command', '-'] [custom.time-as-arg] command = 'time /T' -detect_extensions = ['pst'] # filters *.pst files +detect_extensions = ['pst'] # 识别 *.pst 文件 shell = ['pwsh.exe', '-NoProfile', '-Command'] use_stdin = false ``` diff --git a/docs/zh-CN/faq/README.md b/docs/zh-CN/faq/README.md index 37c6d8b4..ece4a97e 100644 --- a/docs/zh-CN/faq/README.md +++ b/docs/zh-CN/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings 它会输出日志,并且记录有输出的组件、运行时长超过 1 毫秒的组件。 -Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. +最后,如果发现了 bug,请使用 `bug-report` 命令创建 GitHub 议题。 ```sh starship bug-report diff --git a/docs/zh-CN/guide/README.md b/docs/zh-CN/guide/README.md index b9894749..1ddb8792 100644 --- a/docs/zh-CN/guide/README.md +++ b/docs/zh-CN/guide/README.md @@ -173,7 +173,7 @@ ### 步骤 1. 安装 Starship -从下面的列表中选择您的操作系统以查看安装指令: +请选择你的操作系统以查看合适的安装教程:

Android @@ -400,11 +400,11 @@ eval "$(starship init zsh)" ## 🤝 贡献 -我们期待着 **所有技能等级** 的参与者! 如果你想让自己参与项目的路径轻松一些,可以先试试某个 [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue)。 +我们欢迎 **任何水平** 的参与者! 如果想练手,可以试着解决某个标记为 [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) 的议题。 -如果你熟练掌握某个非英语语言,我们非常感谢任何帮助翻译与同步文档到其他语言的贡献。 如果你想要帮忙,可以在 [Starship Crowdin](https://translate.starship.rs/) 上参与。 +如果你精通非英语语言,请协助我们翻译并更新文档,非常感谢! 你可以在 [Starship Crowdin](https://translate.starship.rs/) 上参与翻译。 -如果你有兴趣贡献 Starship 这个项目,请先看看我们的 [贡献指南](https://github.com/starship/starship/blob/master/CONTRIBUTING.md)。 也欢迎加入我们的 [Discord 服务器](https://discord.gg/8Jzqu3T) 和大家打个招呼。 👋 +如果你想参与 Starship 项目,请查看我们的 [贡献指南](https://github.com/starship/starship/blob/master/CONTRIBUTING.md)。 也欢迎加入我们的 [Discord 服务器](https://discord.gg/8Jzqu3T) 和大家打个招呼。 👋 ## 💭 该项目受以下项目启发 @@ -422,7 +422,6 @@ eval "$(starship init zsh)" **支持者级别** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/zh-CN/installing/README.md b/docs/zh-CN/installing/README.md index c33cc030..37ebca04 100644 --- a/docs/zh-CN/installing/README.md +++ b/docs/zh-CN/installing/README.md @@ -1,13 +1,13 @@ # 高级安装 -安装Starship有以下两个步骤: +安装 Starship 需要两步: -1. 下载 **starship** 的可执行文件 -1. 修改 shell 的初始化脚本,让 starship 显示命令提示符 +1. 下载 **Starship** 的可执行文件 +1. 修改 shell 的初始化脚本,将 Starship 设置为命令提示符 大部分用户按照[主页](/guide/#🚀-installation)上的步骤安装即可, 但有一些特殊系统上的安装步骤不同。 -现有平台众多,README 中无法全部展示,所以这里是社区中对其他平台 的一些安装说明。 还没找到您的平台? 如果您找到它 ,请在这里添加它! +现有平台众多,README 中无法全部展示,所以这里是社区中对其他平台 的一些安装说明。 找不到你的平台? 如果你知道怎么安装,请添加到这里! ## [Chocolatey](https://chocolatey.org) @@ -55,9 +55,9 @@ emerge app-shells/starship nix-env -iA nixos.starship ``` -#### Declarative, single user, via [home-manager](https://github.com/nix-community/home-manager) +#### 声明式、单用户,使用 [home-manager](https://github.com/nix-community/home-manager) -在您的 `home.nix` 文件中启用 `programs.starship` 模块,并添加您的设置 +请将以下内容添加到 `home.nix` 文件中以启用 `programs.starship` 模块 ```nix { @@ -84,9 +84,9 @@ nix-env -iA nixos.starship home-manager switch ``` -#### Declarative, system-wide, with NixOS +#### 声明式,全局,使用 NixOS -在您的 `configuration.nix`中,将 `pkgs.starship` 添加到 `environment.systemPackages`,然后运行 +请将 `pkgs.starship` 添加至 `configuration.nix` 文件中的 `environment.systemPackages` 下,并运行 ```sh sudo nixos-rebuild switch diff --git a/docs/zh-CN/migrating-to-0.45.0/README.md b/docs/zh-CN/migrating-to-0.45.0/README.md index e83c3343..3db47744 100644 --- a/docs/zh-CN/migrating-to-0.45.0/README.md +++ b/docs/zh-CN/migrating-to-0.45.0/README.md @@ -80,7 +80,7 @@ format = "took [$duration]($style) " | Removed Property | Replacement | | ----------------------- | ---------------- | -| `symbol` | `success_symbol` | +| `符号` | `success_symbol` | | `use_symbol_for_status` | `error_symbol` | | `style_success` | `success_symbol` | | `style_failure` | `error_symbol` | diff --git a/docs/zh-CN/presets/bracketed-segments.md b/docs/zh-CN/presets/bracketed-segments.md index c5ef8be2..84388a32 100644 --- a/docs/zh-CN/presets/bracketed-segments.md +++ b/docs/zh-CN/presets/bracketed-segments.md @@ -9,7 +9,7 @@ ### 配置 ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/bracketed-segments.toml) diff --git a/docs/zh-CN/presets/nerd-font.md b/docs/zh-CN/presets/nerd-font.md index 10ace758..eb6b1440 100644 --- a/docs/zh-CN/presets/nerd-font.md +++ b/docs/zh-CN/presets/nerd-font.md @@ -13,7 +13,7 @@ ### 配置 ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/zh-CN/presets/no-empty-icons.md b/docs/zh-CN/presets/no-empty-icons.md index 1360d8ec..f858ee91 100644 --- a/docs/zh-CN/presets/no-empty-icons.md +++ b/docs/zh-CN/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### 配置 ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/no-empty-icons.toml) diff --git a/docs/zh-CN/presets/no-nerd-font.md b/docs/zh-CN/presets/no-nerd-font.md index 6469044c..c1ac1e14 100644 --- a/docs/zh-CN/presets/no-nerd-font.md +++ b/docs/zh-CN/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### 配置 ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/no-nerd-font.toml) diff --git a/docs/zh-CN/presets/no-runtimes.md b/docs/zh-CN/presets/no-runtimes.md index c737dbea..2e8da252 100644 --- a/docs/zh-CN/presets/no-runtimes.md +++ b/docs/zh-CN/presets/no-runtimes.md @@ -9,7 +9,7 @@ ### 配置 ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/no-runtime-versions.toml) diff --git a/docs/zh-CN/presets/pastel-powerline.md b/docs/zh-CN/presets/pastel-powerline.md index e5b29da2..ff0b51c4 100644 --- a/docs/zh-CN/presets/pastel-powerline.md +++ b/docs/zh-CN/presets/pastel-powerline.md @@ -13,7 +13,7 @@ ### 配置 ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/pastel-powerline.toml) diff --git a/docs/zh-CN/presets/plain-text.md b/docs/zh-CN/presets/plain-text.md index ee6bb495..4f594176 100644 --- a/docs/zh-CN/presets/plain-text.md +++ b/docs/zh-CN/presets/plain-text.md @@ -9,7 +9,7 @@ ### 配置 ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/plain-text-symbols.toml) diff --git a/docs/zh-CN/presets/pure-preset.md b/docs/zh-CN/presets/pure-preset.md index 3d58647a..9c3ed1bb 100644 --- a/docs/zh-CN/presets/pure-preset.md +++ b/docs/zh-CN/presets/pure-preset.md @@ -9,7 +9,7 @@ ### 配置 ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/pure-preset.toml) diff --git a/docs/zh-CN/presets/tokyo-night.md b/docs/zh-CN/presets/tokyo-night.md index af10d166..57f8b38e 100644 --- a/docs/zh-CN/presets/tokyo-night.md +++ b/docs/zh-CN/presets/tokyo-night.md @@ -13,7 +13,7 @@ ### 配置 ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [点击下载 TOML 文件](/presets/toml/tokyo-night.toml) diff --git a/docs/zh-TW/README.md b/docs/zh-TW/README.md index de50a99c..aec45db3 100644 --- a/docs/zh-TW/README.md +++ b/docs/zh-TW/README.md @@ -30,7 +30,7 @@ description: Starship 是適合任何 shell 的最小、極速、高度客製化 ### 先決要求 -- 安裝至少一個 [Nerd Font](https://www.nerdfonts.com/) 字體,並在終端中啟用。 +- 安裝 [Nerd Font](https://www.nerdfonts.com/) 字型,並在終端機中啟用。 ### 快速安裝 diff --git a/docs/zh-TW/config/README.md b/docs/zh-TW/config/README.md index 73569739..5ac5a37e 100644 --- a/docs/zh-TW/config/README.md +++ b/docs/zh-TW/config/README.md @@ -713,7 +713,7 @@ error_symbol = '[➜](bold red) ' # ~/.config/starship.toml [character] -vicmd_symbol = '[V](bold green) ' +vimcmd_symbol = '[V](bold green) ' ``` ## CMake @@ -2871,10 +2871,12 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ```toml # This is the default symbols table. [os.symbols] +Alpaquita = "🔔 " Alpine = "🏔️ " Amazon = "🙂 " Android = "🤖 " Arch = "🎗️ " +Artix = "🎗️ " CentOS = "💠 " Debian = "🌀 " DragonFly = "🐉 " @@ -2887,6 +2889,7 @@ Gentoo = "🗜️ " HardenedBSD = "🛡️ " Illumos = "🐦 " Linux = "🐧 " +Mabox = "📦 " Macos = "🍎 " Manjaro = "🥭 " Mariner = "🌊 " @@ -4157,8 +4160,9 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. | +| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. | | `shell` | | [See below](#custom-command-shell) | -| `說明` | `''` | The description of the module that is shown when running `starship explain`. | +| `description` | `''` | The description of the module that is shown when running `starship explain`. | | `detect_files` | `[]` | The files that will be searched in the working directory for a match. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/zh-TW/guide/README.md b/docs/zh-TW/guide/README.md index 915814f6..4d4e944f 100644 --- a/docs/zh-TW/guide/README.md +++ b/docs/zh-TW/guide/README.md @@ -422,7 +422,6 @@ Support this project by [becoming a sponsor](https://github.com/sponsors/starshi **Supporter Tier** -- [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)

diff --git a/docs/zh-TW/presets/bracketed-segments.md b/docs/zh-TW/presets/bracketed-segments.md index a3b82f3c..3c625d5d 100644 --- a/docs/zh-TW/presets/bracketed-segments.md +++ b/docs/zh-TW/presets/bracketed-segments.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset bracketed-segments > ~/.config/starship.toml +starship preset bracketed-segments -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/bracketed-segments.toml) diff --git a/docs/zh-TW/presets/nerd-font.md b/docs/zh-TW/presets/nerd-font.md index 56f54fd3..fc2a1229 100644 --- a/docs/zh-TW/presets/nerd-font.md +++ b/docs/zh-TW/presets/nerd-font.md @@ -13,7 +13,7 @@ This preset changes the symbols for each module to use Nerd Font symbols. ### 設定 ```sh -starship preset nerd-font-symbols > ~/.config/starship.toml +starship preset nerd-font-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/nerd-font-symbols.toml) diff --git a/docs/zh-TW/presets/no-empty-icons.md b/docs/zh-TW/presets/no-empty-icons.md index bec3e0d1..279306d4 100644 --- a/docs/zh-TW/presets/no-empty-icons.md +++ b/docs/zh-TW/presets/no-empty-icons.md @@ -9,7 +9,7 @@ If toolset files are identified the toolset icon is displayed. If the toolset is ### 設定 ```sh -starship preset no-empty-icons > ~/.config/starship.toml +starship preset no-empty-icons -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-empty-icons.toml) diff --git a/docs/zh-TW/presets/no-nerd-font.md b/docs/zh-TW/presets/no-nerd-font.md index dacac623..7f435765 100644 --- a/docs/zh-TW/presets/no-nerd-font.md +++ b/docs/zh-TW/presets/no-nerd-font.md @@ -11,7 +11,7 @@ This preset will become the default preset in a future release of starship. ### 設定 ```sh -starship preset no-nerd-font > ~/.config/starship.toml +starship preset no-nerd-font -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-nerd-font.toml) diff --git a/docs/zh-TW/presets/no-runtimes.md b/docs/zh-TW/presets/no-runtimes.md index f754ce39..701febb8 100644 --- a/docs/zh-TW/presets/no-runtimes.md +++ b/docs/zh-TW/presets/no-runtimes.md @@ -9,7 +9,7 @@ ### 設定 ```sh -starship preset no-runtime-versions > ~/.config/starship.toml +starship preset no-runtime-versions -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/no-runtime-versions.toml) diff --git a/docs/zh-TW/presets/pastel-powerline.md b/docs/zh-TW/presets/pastel-powerline.md index 043ecc18..e1e91f37 100644 --- a/docs/zh-TW/presets/pastel-powerline.md +++ b/docs/zh-TW/presets/pastel-powerline.md @@ -13,7 +13,7 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m ### 設定 ```sh -starship preset pastel-powerline > ~/.config/starship.toml +starship preset pastel-powerline -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pastel-powerline.toml) diff --git a/docs/zh-TW/presets/plain-text.md b/docs/zh-TW/presets/plain-text.md index 7c439562..fddb8528 100644 --- a/docs/zh-TW/presets/plain-text.md +++ b/docs/zh-TW/presets/plain-text.md @@ -9,7 +9,7 @@ This preset changes the symbols for each module into plain text. Great if you do ### 設定 ```sh -starship preset plain-text-symbols > ~/.config/starship.toml +starship preset plain-text-symbols -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/plain-text-symbols.toml) diff --git a/docs/zh-TW/presets/pure-preset.md b/docs/zh-TW/presets/pure-preset.md index d45f9a42..cf03bdd1 100644 --- a/docs/zh-TW/presets/pure-preset.md +++ b/docs/zh-TW/presets/pure-preset.md @@ -9,7 +9,7 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso ### 設定 ```sh -starship preset pure-preset > ~/.config/starship.toml +starship preset pure-preset -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/pure-preset.toml) diff --git a/docs/zh-TW/presets/tokyo-night.md b/docs/zh-TW/presets/tokyo-night.md index e2ecc99c..040f815d 100644 --- a/docs/zh-TW/presets/tokyo-night.md +++ b/docs/zh-TW/presets/tokyo-night.md @@ -13,7 +13,7 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t ### 設定 ```sh -starship preset tokyo-night > ~/.config/starship.toml +starship preset tokyo-night -o ~/.config/starship.toml ``` [Click to download TOML](/presets/toml/tokyo-night.toml)