diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index 51efe18e..5cb686dc 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Options -| Option | الافتراضي | الوصف | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | The symbol used before displaying the variable value. | -| `variable` | | 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 format for the module. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Disables the `env_var` module. | +| Option | الافتراضي | الوصف | +| ----------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | The symbol used before displaying the variable value. | +| `variable` | | 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 format for the module. | +| `الوصف` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Disables the `env_var` module. | ### Variables @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 | الافتراضي | الوصف | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `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']` | 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. | +| Option | الافتراضي | الوصف | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| Variable | مثال | الوصف | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | مثال | الوصف | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `الوصف` | `''` | 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/faq/README.md b/docs/ar-SA/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/ar-SA/faq/README.md +++ b/docs/ar-SA/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/ar-SA/guide/README.md b/docs/ar-SA/guide/README.md index c5c3e807..542988e2 100644 --- a/docs/ar-SA/guide/README.md +++ b/docs/ar-SA/guide/README.md @@ -169,7 +169,7 @@ ### المتطلبات الأساسية -- تثبيت [Nerd Font](https://www.nerdfonts.com/) وتمكينه في ال terminal الخاصة بك (على سبيل المثال، جرب الخط [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### الخطوة الأولى. تثبيت starship diff --git a/docs/ckb-IR/config/README.md b/docs/ckb-IR/config/README.md index ac669c12..f99e5cdf 100644 --- a/docs/ckb-IR/config/README.md +++ b/docs/ckb-IR/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2650,19 +2650,19 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `symbol` | `'❄️ '` | A format string representing the symbol of nix-shell. | | `style` | `'bold blue'` | The style for the module. | | `impure_msg` | `'impure'` | A format string shown when the shell is impure. | -| `pure_msg` | `'pure'` | A format string shown when the shell is pure. | +| `pure_msg` | `'بێخەوش'` | 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. | | `disabled` | `false` | Disables the `nix_shell` module. | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables -| گۆڕاو | نموونە | 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` | +| گۆڕاو | نموونە | Description | +| --------- | -------- | ------------------------------------ | +| state | `بێخەوش` | 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` | *: This variable can only be used as a part of a style string @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| گۆڕاو | نموونە | Description | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| گۆڕاو | نموونە | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/ckb-IR/faq/README.md b/docs/ckb-IR/faq/README.md index 1869269f..b86e8a5f 100644 --- a/docs/ckb-IR/faq/README.md +++ b/docs/ckb-IR/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/ckb-IR/guide/README.md b/docs/ckb-IR/guide/README.md index 469e323d..3401d1a1 100644 --- a/docs/ckb-IR/guide/README.md +++ b/docs/ckb-IR/guide/README.md @@ -165,7 +165,7 @@ ### پێشمەرجەکان -- فۆنتێکی [Nerd](https://www.nerdfonts.com/) دامەزرابێ و چالاککرابێ لە تێرمیناڵەکەتدا (بۆ نموونە، [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads) تاقی بکەرەوە). +- 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)). ### Step 1. Install Starship diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md index f4fa2f6e..940835fe 100644 --- a/docs/de-DE/config/README.md +++ b/docs/de-DE/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Protokollierung -Standardmäßig protokolliert Starship Warnungen und Fehler in einer Datei names `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, wobei der session key zu der Instanz deines Terminals korrespondiert. Das kann jedoch durch die Nutzung der `STARSHIP_CACHE` Umgebungsvariable verändert werden: +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. Das kann jedoch durch die Nutzung der `STARSHIP_CACHE` Umgebungsvariable verändert werden: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Optionen -| Option | Standartwert | Beschreibung | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------------------- | -| `symbol` | `""` | Das Symbol, das vor der Anzeige der Variable verwendet wird. | -| `variable` | | Die anzuzeigende Umgebungsvariable. | -| `default` | | Der Standardwert, der angezeigt wird, wenn die ausgewählte Variable nicht definiert ist. | -| `format` | `"with [$env_value]($style) "` | Das Format für das Modul. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Deaktiviert das `env_var`-Modul. | +| Option | Standartwert | Beschreibung | +| -------------- | ------------------------------ | ---------------------------------------------------------------------------------------- | +| `symbol` | `""` | Das Symbol, das vor der Anzeige der Variable verwendet wird. | +| `variable` | | Die anzuzeigende Umgebungsvariable. | +| `default` | | Der Standardwert, der angezeigt wird, wenn die ausgewählte Variable nicht definiert ist. | +| `format` | `"with [$env_value]($style) "` | Das Format für das Modul. | +| `beschreibung` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Deaktiviert das `env_var`-Modul. | ### Variables @@ -1586,9 +1586,9 @@ format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' very-long-project-name = 'vlpn' ``` -## Git Branch +## Git-Branch -The `git_branch` module shows the active branch of the repo in your current directory. +Das `git_branch`-Modul zeigt den aktiven Git-Branch des Repositories im aktuellen Verzeichnis an. ### Optionen @@ -1602,7 +1602,7 @@ The `git_branch` module shows the active branch of the repo in your current dire | `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. | | `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| `disabled` | `false` | Deaktiviert das `git_branch`-Modul. | ### Variables @@ -1665,7 +1665,7 @@ commit_hash_length = 4 tag_symbol = '🔖 ' ``` -## Git State +## Git-Zustand 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. @@ -1682,7 +1682,7 @@ The `git_state` module will show in directories which are part of a git reposito | `am_or_rebase` | `'AM/REBASE'` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. | | `style` | `'bold yellow'` | Stil für dieses Modul. | | `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Das Format für das Modul. | -| `disabled` | `false` | Disables the `git_state` module. | +| `disabled` | `false` | Deaktiviert das `git_state`-Modul. | ### Variables @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: @@ -1774,7 +1774,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | `deleted` | `'✘'` | The format of `deleted` | | `style` | `'bold red'` | Stil für dieses Modul. | | `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| `disabled` | `false` | Deaktiviert das `git_status`-Modul. | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Variables @@ -1873,7 +1873,7 @@ The `golang` module shows the currently installed version of [Go](https://golang | `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'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Deaktiviert das `golang`-Modul. | ### Variables @@ -2075,18 +2075,18 @@ format = 'via [⎈ $version](bold white) ' ## Hostname -The `hostname` module shows the system hostname. +Das `hostname`-Modul zeigt den Hostnamen des Systems an. ### Optionen | Option | Standartwert | Beschreibung | | ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `ssh_only` | `true` | Only show hostname when connected to an SSH session. | +| `ssh_only` | `true` | Zeigt den Hostnamen nur, wenn via SSH-Sitzung verbunden. | | `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 '` | Das Format für das Modul. | | `style` | `'bold dimmed green'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `hostname` module. | +| `disabled` | `false` | Deaktiviert das `hostname`-Modul. | ### Variables @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### Optionen -| Option | Standartwert | Beschreibung | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | Das Format für das Modul. | -| `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']` | 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'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `java` module. | +| Option | Standartwert | Beschreibung | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | Das Format für das Modul. | +| `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'` | Stil für dieses Modul. | +| `disabled` | `false` | Deaktiviert das `Java`-Modul. | ### Variables @@ -2173,15 +2173,15 @@ The `threshold` option is deprecated, but if you want to use it, the module will ### Optionen -| Option | Standartwert | Beschreibung | -| ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `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) '` | Das Format für das Modul. | -| `symbol` | `'✦'` | The string used to represent the `symbol` variable. | -| `style` | `'bold blue'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `jobs` module. | +| Option | Standartwert | Beschreibung | +| ------------------ | ----------------------------- | -------------------------------------------------------------------------------- | +| `threshold`* | `1` | Zeigt die Anzahl der Jobs wenn der angegebene Schwellenwert überschritten wurde. | +| `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) '` | Das Format für das Modul. | +| `symbol` | `'✦'` | The string used to represent the `symbol` variable. | +| `style` | `'bold blue'` | Stil für dieses Modul. | +| `disabled` | `false` | Deaktiviert das `jobs`-Modul. | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2299,7 +2299,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2317,7 +2317,7 @@ When the module is enabled it will always be active, unless any of `detect_exten | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this modules. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| `disabled` | `true` | Deaktiviert das `kubernetes`-Modul. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,23 +2372,23 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## Zeilenumbruch -The `line_break` module separates the prompt into two lines. +Das `line_break`-Modul unterteilt den Prompt in zwei Zeilen. ### Optionen -| Option | Standartwert | Beschreibung | -| ---------- | ------------ | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Option | Standartwert | Beschreibung | +| ---------- | ------------ | ---------------------------------------------------------------------- | +| `disabled` | `false` | Deaktiviert das `line_break`-Modul, wodurch der Prompt einzeilig wird. | ### Beispiel @@ -2473,27 +2473,27 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## Speicherauslastung -The `memory_usage` module shows current system memory and swap usage. +Das `memory_usage` Modul zeigt den aktuellen Systemspeicher und die swap-Nutzung an. -By default the swap usage is displayed if the total system swap is non-zero. +Standardmäßig wird die swap-Nutzung angezeigt, wenn der gesamte System-swap nicht Null ist. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: ### Optionen -| Option | Standartwert | Beschreibung | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Das Format für das Modul. | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | Stil für dieses Modul. | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Option | Standartwert | Beschreibung | +| ----------- | ----------------------------------------------- | --------------------------------------------------------------------- | +| `threshold` | `75` | Speicherauslastung ausblenden, wenn sie unter diesem Prozentsatz ist. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Das Format für das Modul. | +| `symbol` | `'🐏'` | Symbol das vor der Speicherauslastung angezeigt wird. | +| `style` | `'bold dimmed white'` | Stil für dieses Modul. | +| `disabled` | `true` | Deaktiviert das `memory_usage`-Modul. | ### Variables @@ -2609,7 +2609,7 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Option | Standartwert | Beschreibung | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul | | `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. | @@ -2638,9 +2638,9 @@ style = 'yellow' symbol = '🎣 ' ``` -## Nix-shell +## Nix-Shell -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. +The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. Das Modul wird angezeigt, wenn es sich in einer nix-Shell-Umgebung befindet. ### Optionen @@ -2652,7 +2652,7 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `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. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | Deaktiviert das `nix_shell`-Modul. | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables @@ -2701,7 +2701,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n | `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | | `detect_folders` | `['node_modules']` | Which folders should trigger this module. | | `style` | `'bold green'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `nodejs` module. | +| `disabled` | `false` | Deaktiviert das `nodejs`-Modul. | | `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 @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,9 +2940,9 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## Paketversion -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +Das `Package` Modul wird angezeigt, wenn das aktuelle Verzeichnis das Repository für ein Paket ist, und zeigt dessen aktuelle Version an. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2967,11 +2969,11 @@ The `package` module is shown when the current directory is the repository for a | Option | Standartwert | Beschreibung | | ----------------- | --------------------------------- | ------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | Das Format für das Modul. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | Symbol das vor der Paketversion angezeigt wird. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `style` | `'bold 208'` | Stil für dieses Modul. | | `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| `disabled` | `false` | Deaktiviert das `package`-Modul. | ### Variables @@ -3046,12 +3048,12 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐘 '` | The symbol used before displaying the version of PHP. | +| `symbol` | `'🐘 '` | Symbol das vor der PHP-Version angezeigt wird. | | `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'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | Deaktiviert das `php`-Modul. | ### Variables @@ -3210,13 +3212,13 @@ By default the module will be shown if any of the following conditions are met: | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `'🐍 '` | A format string representing the symbol of Python | | `style` | `'yellow bold'` | Stil für dieses Modul. | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | Verwende `pyenv` um die Python-Versionzu beziehen. | | `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_folders` | `[]` | Which folders should trigger this module | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | Deaktiviert das `python`-Modul. | ::: tip @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - The current directory contains a file with `.red` or `.reds` extension @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - Das aktuelle Verzeichnis enthält eine `Gemfile`-Datei - The current directory contains a `.ruby-version` file @@ -3414,7 +3416,7 @@ Starship gets the current Ruby version by running `ruby -v`. | `detect_folders` | `[]` | Which folders should trigger this module. | | `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | | `style` | `'bold red'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `ruby` module. | +| `disabled` | `false` | Deaktiviert das `ruby`-Modul. | ### Variables @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - Das aktuelle Verzeichnis enthält eine `Cargo.toml`-Datei - Das aktuelle Verzeichnis enthält eine Datei mit der `.rs`-Erweiterung @@ -3453,7 +3455,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold red'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | Deaktiviert das `rust`-Modul. | ### Variables @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Variable | Standartwert | Beschreibung | | --------- | ------------ | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | Spiegelt den Wert der Option `style`. | *: This variable can only be used as a part of a style string @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| Variable | Beispiel | Beschreibung | -| -------------- | -------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Spiegelt den Wert der Option `symbol` | -| style\* | | Spiegelt den Wert der Option `style` | +| Variable | Beispiel | Beschreibung | +| -------------- | -------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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 | | Spiegelt den Wert der Option `symbol` | +| style\* | | Spiegelt den Wert der Option `style` | *: This variable can only be used as a part of a style string @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension @@ -3843,7 +3845,7 @@ By default the module will be shown if any of the following conditions are met: | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `['.terraform']` | Which folders should trigger this module. | | `style` | `'bold 105'` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | Deaktiviert das `terraform` Modul. | ### Variables @@ -3878,25 +3880,25 @@ format = '[🏎💨 $workspace]($style) ' ## Uhrzeit -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +Das `time` Modul zeigt die aktuelle **lokale** Zeit an. Der `format` Wert wird von der crate [`chrono`](https://crates.io/crates/chrono) benutzt um die Zeit zu formatieren. Schau dir [die chrono strftime Dokumentation](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) an, um die möglichen Optionen zu sehen. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren. ::: ### Optionen -| Option | Standartwert | Beschreibung | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | The format string for the module. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Option | Standartwert | Beschreibung | +| ----------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | +| `format` | `'at [$time]($style) '` | The format string for the module. | +| `use_12hr` | `false` | Aktiviert 12-Stunden-Format | +| `time_format` | siehe unten | Das Format zum Anzeigen der Uhrzeit in [chrono-Formatierung](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html). | +| `style` | `'bold yellow'` | Stil für dieses Modul | +| `utc_time_offset` | `'local'` | Verwendetes Zeitzonen-Offset. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | +| `disabled` | `true` | Deaktiviert das `time`-Modul. | +| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. @@ -3904,7 +3906,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | Variable | Beispiel | Beschreibung | | --------- | ---------- | ------------------------------------ | -| time | `13:08:10` | The current time. | +| zeit | `13:08:10` | The current time. | | style\* | | Spiegelt den Wert der Option `style` | *: This variable can only be used as a part of a style string @@ -3924,7 +3926,7 @@ time_range = '10:00:00-14:00:00' ## Username -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +Das `username` Modul zeigt den Namen des aktiven Benutzers. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - The current user is root/admin - Der aktuelle Benutzer ist nicht der eingeloggte Benutzer @@ -3939,13 +3941,13 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` ### Optionen -| Option | Standartwert | Beschreibung | -| ------------- | ----------------------- | ------------------------------------------- | -| `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 '` | Das Format für das Modul. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| Option | Standartwert | Beschreibung | +| ------------- | ----------------------- | ---------------------------------------------- | +| `style_root` | `'bold red'` | The style used when the user is root/admin. | +| `style_user` | `'bold yellow'` | Stil wenn der Benutzer nicht unter root läuft. | +| `format` | `'[$user]($style) in '` | Das Format für das Modul. | +| `show_always` | `false` | Immer das `username` Modul anzeigen. | +| `disabled` | `false` | Deavktiviert das `username` Modul. | ### Variables @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: - The current directory contains a `.zig` file @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `beschreibung` | `''` | 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/faq/README.md b/docs/de-DE/faq/README.md index c2b31ee5..ce856da8 100644 --- a/docs/de-DE/faq/README.md +++ b/docs/de-DE/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/de-DE/guide/README.md b/docs/de-DE/guide/README.md index 5078c896..a87c9875 100644 --- a/docs/de-DE/guide/README.md +++ b/docs/de-DE/guide/README.md @@ -169,7 +169,7 @@ ### Voraussetzungen -- Eine [Nerd Schriftart](https://www.nerdfonts.com/) installiert und im Terminal aktiviert (zum Beispiel [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Schritt 1. Installiere Starship diff --git a/docs/es-ES/config/README.md b/docs/es-ES/config/README.md index 2975c3a0..6a97c697 100644 --- a/docs/es-ES/config/README.md +++ b/docs/es-ES/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Registros -Starship registra por defecto los mensajes de advertencia y error en un fichero con nombre `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, en el que la clave de sesión corresponde con una instancia de tu terminal. Esto, sin embargo, puede ser cambiado usando la variable de entorno `STARSHIP_CACHE`: +Por defecto starship registra advertencias y errores en un archivo llamado `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, donde la clave de sesión corresponde a una instancia de su terminal. Esto, sin embargo, puede ser cambiado usando la variable de entorno `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repos 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interactúa con las opciones de truncamiento estándar de una manera que puede sorprenderse primero: si no es cero, los componentes de la ruta que normalmente se truncarían se muestran con esa cantidad de caracteres. Por ejemplo, la ruta `/built/this/city/on/rock/and/roll`, que normalmente se mostraría como `rock/and/roll`, se mostraría como `/b/t/c/o/rock/and/roll` con `fish_style_pwd_dir_length = 1`--los componentes de ruta que normalmente se eliminarían se muestran con un solo carácter. Para `fish_style_pwd_dir_length = 2`, sería `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interactúa con las opciones de truncamiento estándar de una manera que puede sorprenderse primero: si no es cero, los componentes de la ruta que normalmente se truncarían se muestran con esa cantidad de caracteres. Por ejemplo, la ruta `/built/this/city/on/rock/and/roll`, que normalmente se mostraría como `rock/and/roll`, se mostraría como `/b/t/c/o/rock/and/roll` con `fish_style_pwd_dir_length = 1`--los componentes de ruta que normalmente se eliminarían, se muestran con un solo carácter. Para `fish_style_pwd_dir_length = 2`, sería `/bu/th/ci/on/rock/and/roll`. @@ -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` | `""` | The description of the module that is shown when running `starship explain`. | +| `description` | `""` | La descripción del módulo que se muestra al ejecutar `starship explain`. | | `disabled` | `false` | Deshabilita el módulo `env_var`. | ### Variables @@ -1483,20 +1483,20 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | El formato del módulo. 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'` | El estilo del módulo. | -| `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. | +| Opción | Predeterminado | Descripción | +| ------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | El formato del módulo. 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'` | El estilo del módulo. | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | El símbolo usado para indicar que un nombre de rama fue truncado. You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| branch | `trunk` | The active Fossil branch | +| rama | `trunk` | The active Fossil branch | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -1515,30 +1515,30 @@ truncation_symbol = '' ## Google Cloud (`gcloud`) -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. +El módulo `gcloud` muestra la configuración actual para el CLI de [`gcloud`](https://cloud.google.com/sdk/gcloud). Esto se basa en el archivo `~/.config/gcloud/active_config`, el archivo `~/.config/gcloud/configurations/config_{CONFIG NAME}` y la variable de entorno `CLOUDSDK_CONFIG`. ### Opciones -| Opción | Predeterminado | Descripción | -| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | El formato del módulo. | -| `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'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Opción | Predeterminado | Descripción | +| ----------------- | ---------------------------------------------------------- | ------------------------------------------------------------ | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | El formato del módulo. | +| `symbol` | `'☁️ '` | El símbolo usado antes de mostrar el perfil actual de GCP. | +| `region_aliases` | `{}` | Tabla de alias de región a mostrar además del nombre GCP. | +| `project_aliases` | `{}` | Tabla de alias del proyecto a mostrar además del nombre GCP. | +| `style` | `'bold blue'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `gcloud`. | ### Variables -| Variable | Ejemplo | Descripción | -| --------- | ------------- | ------------------------------------------------------------------ | -| 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 | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| --------- | ------------- | ----------------------------------------------------------------------------- | +| region | `us-central1` | La actual región GCP | +| cuenta | `foo` | El perfil actual de GCP | +| dominio | `ejemplo.com` | El dominio actual del perfil GCP | +| proyecto | | El proyecto GCP actual | +| activo | `default` | El nombre de configuración activo escrito en `~/.config/gcloud/active_config` | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -1586,33 +1586,33 @@ format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' very-long-project-name = 'vlpn' ``` -## Git Branch +## Rama Git -The `git_branch` module shows the active branch of the repo in your current directory. +El módulo `git_branch` muestra la rama activa del repositorio en tu directorio actual. ### Opciones -| Opción | Predeterminado | Descripción | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | El formato del módulo. Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | El estilo del módulo. | -| `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Opción | Predeterminado | Descripción | +| -------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `always_show_remote` | `false` | Muestra el nombre de la rama de seguimiento remoto, incluso si es igual al nombre de la rama local. | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | El formato del módulo. Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | Una cadena de formato que representa el símbolo de la rama git. | +| `style` | `'bold purple'` | El estilo del módulo. | +| `truncation_length` | `2^63 - 1` | Trunca el nombre de la rama a `N` grafemas. | +| `truncation_symbol` | `'…'` | El símbolo usado para indicar que un nombre de rama fue truncado. You can use `''` for no symbol. | +| `only_attached` | `false` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" | +| `ignore_branches` | `[]` | Una lista de nombres a evitar ser visualizados. Useful for 'master' or 'main'. | +| `disabled` | `false` | Deshabilita el módulo `git_branch`. | ### Variables -| Variable | Ejemplo | Descripción | -| ------------- | -------- | ------------------------------------------------------------------------------------------------------ | -| 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 | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| ------------- | --------- | -------------------------------------------------------------------------------------------------------------- | +| rama | `maestro` | El nombre de la rama actual, vuelve a `HEAD` si no hay ninguna rama actual (por ejemplo, git detached `HEAD`). | +| remote_name | `origen` | El nombre remoto. | +| remote_branch | `maestro` | El nombre de la rama rastreada en `remote_name`. | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -1630,27 +1630,27 @@ ignore_branches = ['master', 'main'] ## Git commit -The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. +El módulo `git_commit` muestra el hash de la confirmación actual y también la etiqueta (si existe) del repositorio en su directorio actual. ### Opciones -| Opción | Predeterminado | Descripción | -| -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | -| `format` | `'[\($hash$tag\)]($style) '` | El formato del módulo. | -| `style` | `'bold green'` | El estilo del módulo. | -| `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. | -| `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| Opción | Predeterminado | Descripción | +| -------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `commit_hash_length` | `7` | La longitud del hash de la confirmación de git mostrado. | +| `format` | `'[\($hash$tag\)]($style) '` | El formato del módulo. | +| `style` | `'bold green'` | El estilo del módulo. | +| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" | +| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. | +| `tag_max_candidates` | `0` | How many commits to consider for tag display. El valor por defecto sólo permite coincidencias exactas. | +| `tag_symbol` | `' 🏷 '` | Símbolo de etiqueta prefijando la información mostrada | +| `disabled` | `false` | Deshabilita el módulo `git_commit`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------------- | -| hash | `b703eb3` | The current git commit hash | -| tag | `v1.0.0` | The tag name if showing tag info is enabled. | +| hash | `b703eb3` | El hash actual de la confirmación de git | +| etiqueta | `v1.0.0` | The tag name if showing tag info is enabled. | | style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -1667,30 +1667,30 @@ tag_symbol = '🔖 ' ## Git State -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. +El módulo `git_state` se mostrará en directorios que son parte de un repositorio git, y donde hay una operación en curso, tales como: _REBASING_, _BISECTING_, etc. Si hay información de progreso (por ejemplo, REBASING 3/10), esa información será mostrada también. ### Opciones -| Opción | Predeterminado | Descripción | -| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. | -| `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. | -| `revert` | `'REVERTING'` | A format string displayed when a `revert` is in progress. | -| `cherry_pick` | `'CHERRY-PICKING'` | A format string displayed when a `cherry-pick` is in progress. | -| `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'` | El estilo del módulo. | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | El formato del módulo. | -| `disabled` | `false` | Disables the `git_state` module. | +| Opción | Predeterminado | Descripción | +| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `rebase` | `'REBASING'` | Una cadena de formato que se muestra cuando un `rebase` está en progreso. | +| `fusionar` | `'FUSIONANDO'` | Una cadena de formato que se muestra cuando un `merge` está en progreso. | +| `revertir` | `'REVERTING'` | Una cadena de formato mostrada cuando un `revert` está en progreso. | +| `cherry_pick` | `'CHERRY-PICKING'` | Una cadena de formato que se muestra cuando un `cherry-pick` está en progreso. | +| `bisect` | `'BISECTING'` | Una cadena de formato que se muestra cuando un `bisect` está en progreso. | +| `am` | `'AM'` | Una cadena de formato que se muestra cuando un `apply-mailbox` (`git am`) está en progeso. | +| `am_or_rebase` | `'AM/REBASE'` | Una cadena de formato que se muestra cuando un ambiguo `apply-mailbox` o `rebase` está en progreso. | +| `style` | `'bold yellow'` | El estilo del módulo. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | El formato del módulo. | +| `disabled` | `false` | Deshabilita el módulo `git_state`. | ### Variables | Variable | Ejemplo | Descripción | | ---------------- | ---------- | ------------------------------------- | | state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | +| progress_current | `1` | El progreso de la operación actual | +| progress_total | `2` | El progreso total de la operación | | style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -1705,34 +1705,34 @@ format = '[\($state( $progress_current of $progress_total)\)]($style) ' cherry_pick = '[🍒 PICKING](bold red)' ``` -## Git Metrics +## Métricas de Git -The `git_metrics` module will show the number of added and deleted lines in the current git repository. +El módulo `git_metrics` mostrará el número de líneas añadidas y eliminadas en el repositorio git actual. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| -------------------- | ------------------------------------------------------------ | ------------------------------------- | -| `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) )'` | El formato del módulo. | -| `disabled` | `true` | Disables the `git_metrics` module. | +| Opción | Predeterminado | Descripción | +| -------------------- | ------------------------------------------------------------ | -------------------------------------------------- | +| `added_style` | `'bold green'` | El estilo para el recuento añadido. | +| `deleted_style` | `'bold red'` | El estilo para el recuento eliminado. | +| `only_nonzero_diffs` | `true` | Mostrar sólo el estado de los elementos cambiados. | +| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | El formato del módulo. | +| `disabled` | `true` | Deshabilita el módulo `git_metrics`. | ### Variables -| Variable | Ejemplo | Descripción | -| ----------------- | ------- | ------------------------------------------- | -| 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` | +| Variable | Ejemplo | Descripción | +| ----------------- | ------- | --------------------------------------------- | +| añadido | `1` | El número actual de líneas añadidas | +| borrado | `2` | El número actual de líneas eliminadas | +| added_style\* | | Refleja el valor de la opción `added_style` | +| deleted_style\* | | Refleja el valor de la opción `deleted_style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -1748,66 +1748,66 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git status -The `git_status` module shows symbols representing the state of the repo in your current directory. +El módulo `git_status` muestra símbolos que representan el estado del repositorio en su directorio actual. ::: tip -The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths. +El módulo Git Status es muy lento en los directorios de Windows (por ejemplo bajo `/mnt/c/`) en un entorno WSL. Puedes desactivar el módulo o utilizar la opción `windows_starship` para usar un ejecutable de la Starship nativa de Windows para calcular `git_status` para esas rutas. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | -| `ahead` | `'⇡'` | The format of `ahead` | -| `behind` | `'⇣'` | The format of `behind` | -| `diverged` | `'⇕'` | The format of `diverged` | -| `up_to_date` | `''` | The format of `up_to_date` | -| `untracked` | `'?'` | The format of `untracked` | -| `stashed` | `'$'` | The format of `stashed` | -| `modified` | `'!'` | The format of `modified` | -| `staged` | `'+'` | The format of `staged` | -| `renamed` | `'»'` | The format of `renamed` | -| `deleted` | `'✘'` | The format of `deleted` | -| `style` | `'bold red'` | El estilo del módulo. | -| `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. | +| Opción | Predeterminado | Descripción | +| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | El formato predeterminado para `git_status` | +| `conflicted` | `'='` | Esta rama tiene conflictos de fusión. | +| `ahead` | `'⇡'` | El formato de `ahead` | +| `behind` | `'⇣'` | El formato de `behind` | +| `diverged` | `'⇕'` | El formato de `diverged` | +| `up_to_date` | `''` | El formato de `up_to_date` | +| `sin seguimiento` | `'?'` | El formato de `untracked` | +| `stashed` | `'$'` | El formato de `stashed` | +| `modificado` | `'!'` | El formato de `modified` | +| `staged` | `'+'` | El formato de `staged` | +| `renamed` | `'»'` | El formato de `renamed` | +| `borrado` | `'✘'` | El formato de `deleted` | +| `style` | `'bold red'` | El estilo del módulo. | +| `ignore_submodules` | `false` | Ignorar cambios a los submódulos. | +| `disabled` | `false` | Deshabilita el módulo `git_status`. | +| `windows_starship` | | Utiliza esta ruta (Linux) a un ejecutable de Starship de Windows para renderizar `git_status` cuando está en las rutas de Windows en WSL. | ### Variables -The following variables can be used in `format`: +Las siguientes variables se pueden utilizar en `format`: -| Variable | Descripción | -| -------------- | ------------------------------------------------------------------------------------------------------------- | -| `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. | -| `conflicted` | Displays `conflicted` when this branch has merge conflicts. | -| `untracked` | Displays `untracked` when there are untracked files in the working directory. | -| `stashed` | Displays `stashed` when a stash exists for the local repository. | -| `modified` | Displays `modified` when there are file modifications in the working directory. | -| `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\* | Refleja el valor de la opción `style` | +| Variable | Descripción | +| ----------------- | ------------------------------------------------------------------------------------------------------------------------ | +| `all_status` | Atajo para `$conflicted$stashed$deleted$renamed$modified$staged$untracked` | +| `ahead_behind` | Muestra la cadena de formato de `diverged` `ahead` o `behind` o `up_to_date` basado en el estado actual del repositorio. | +| `conflicted` | Muestra `conflicted` cuando esta rama tiene conflictos de fusión. | +| `sin seguimiento` | Muestra `untracked` cuando hay archivos sin rastrear en el directorio de trabajo. | +| `stashed` | Muestra `stashed` cuando existe un archivo en el área de preparación para el repositorio local. | +| `modificado` | Muestra `modified` cuando hay modificaciones de archivo en el directorio de trabajo. | +| `staged` | Muestra `staged` cuando se ha añadido un nuevo archivo al área de preparación. | +| `renamed` | Muestra `renamed` cuando un archivo renombrado ha sido añadido al área de preparación. | +| `borrado` | Muestra `deleted` cuando un archivo ha sido añadido al área de preparación. | +| style\* | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo -The following variables can be used in `diverged`: +Las siguientes variables pueden ser usadas en `diverged`: -| Variable | Descripción | -| -------------- | ---------------------------------------------- | -| `ahead_count` | Number of commits ahead of the tracking branch | -| `behind_count` | Number of commits behind the tracking branch | +| Variable | Descripción | +| -------------- | -------------------------------------------------------------- | +| `ahead_count` | Número de confirmaciones por delante de la rama de seguimiento | +| `behind_count` | Número de confirmaciones detrás de la rama de seguimiento | -The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: +Las siguientes variales pueden ser usadas en `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` y `deleted`: -| Variable | Descripción | -| -------- | ------------------------ | -| `count` | Show the number of files | +| Variable | Descripción | +| -------- | ----------------------------- | +| `count` | Mostrar el número de archivos | ### Ejemplo @@ -1828,7 +1828,7 @@ renamed = '👅' deleted = '🗑' ``` -Show ahead/behind count of the branch being tracked +Muestra el conteo delante/detrás de la rama que está siendo rastreada ```toml # ~/.config/starship.toml @@ -1839,7 +1839,7 @@ diverged = '⇕⇡${ahead_count}⇣${behind_count}' behind = '⇣${count}' ``` -Use Windows Starship executable on Windows paths in WSL +Usar el ejecutable de Starship de Windows en las rutas de Windows en WSL ```toml # ~/.config/starship.toml @@ -1850,7 +1850,7 @@ 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/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `golang` muestra la versión instalada de [Go](https://golang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `go.mod` - El directorio actual contiene un archivo `go.sum` @@ -1868,18 +1868,18 @@ The `golang` module shows the currently installed version of [Go](https://golang | ------------------- | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐹 '` | A format string representing the symbol of Go. | +| `symbol` | `'🐹 '` | Una cadena de formato que representa el símbolo de Go. | | `detect_extensions` | `['go']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `['Godeps']` | Qué carpetas deberían activar este módulo. | | `style` | `'bold cyan'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Deshabilita el módulo de `golang`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------- | -| version | `v1.12.1` | The version of `go` | +| version | `v1.12.1` | La versión de `go` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -1902,7 +1902,7 @@ The `guix_shell` module shows the [guix-shell](https://guix.gnu.org/manual/devel | Opción | Predeterminado | Descripción | | ---------- | -------------------------- | ------------------------------------------------------ | -| `format` | `'via [$symbol]($style) '` | El formato del módulo. | +| `format` | `'vía [$symbol]($style) '` | El formato del módulo. | | `symbol` | `"🐃 "` | A format string representing the symbol of guix-shell. | | `style` | `"yellow bold"` | El estilo del módulo. | | `disabled` | `false` | Disables the `guix_shell` module. | @@ -1948,14 +1948,14 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `["gradle"]` | Qué carpetas deberían activar este módulo. | | `style` | `"bold bright-cyan"` | El estilo del módulo. | -| `disabled` | `false` | Disables the `gradle` module. | -| `recursive` | `false` | Enables recursive finding for the `gradle` directory. | +| `disabled` | `false` | Deshabilita el módulo `gradle`. | +| `recursivo` | `false` | Enables recursive finding for the `gradle` directory. | ### Variables | Variable | Ejemplo | Descripción | | -------- | -------- | -------------------------------------- | -| version | `v7.5.1` | The version of `gradle` | +| version | `v7.5.1` | La versión de `gradle` | | symbol | | Refleja el valor de la opción `symbol` | | style* | | Refleja el valor de la opción `style` | @@ -1963,7 +1963,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c ## Haskell -The `haskell` module finds the current selected GHC version and/or the selected Stack snapshot. +El módulo `haskell` encuentra la versión GHC seleccionada y/o la instantánea de la pila seleccionada. Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: @@ -1972,25 +1972,25 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ------------------------------------ | ---------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | -| `symbol` | `'λ '` | A format string representing the symbol of Haskell | -| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Qué extensiones deberían activar este módulo. | -| `detect_files` | `['stack.yaml', 'cabal.project']` | Qué nombres de archivo deberían activar este módulo. | -| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | -| `style` | `'bold purple'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `haskell` module. | +| Opción | Predeterminado | Descripción | +| ------------------- | ------------------------------------ | ---------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | +| `symbol` | `'λ '` | Una cadena de formato que representa el símbolo de Haskell | +| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Qué extensiones deberían activar este módulo. | +| `detect_files` | `['stack.yaml', 'cabal.project']` | Qué nombres de archivo deberían activar este módulo. | +| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | +| `style` | `'bold purple'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `haskell`. | ### Variables -| Variable | Ejemplo | Descripción | -| -------------- | ----------- | --------------------------------------------------------------------------------------- | -| 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 | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| -------------- | ----------- | ------------------------------------------------------------------------------------ | +| version | | `ghc_version` o `snapshot` dependiendo de si el proyecto actual es un proyecto Stack | +| snapshot | `lts-18.12` | Instantánea de Stack seleccionada actualmente | +| ghc\_version | `9.2.1` | Versión GHC instalada actualmente | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -2011,15 +2011,15 @@ The `haxe` module shows the currently installed version of [Haxe](https://haxe.o | `detect_extensions` | `["hx", "hxml"]` | Qué extensiones deberían activar este módulo. | | `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[".haxelib", "haxe_libraries"]` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `"⌘ "` | A format string representing the symbol of Helm. | +| `symbol` | `"⌘ "` | Una cadena de formato que representa el símbolo de Helm. | | `style` | `"bold fg:202"` | El estilo del módulo. | -| `disabled` | `false` | Disables the `haxe` module. | +| `disabled` | `false` | Deshabilita el módulo `haxe`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v4.2.5` | The version of `haxe` | +| version | `v4.2.5` | La versión de `haxe` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2036,7 +2036,7 @@ format = "via [⌘ $version](bold fg:202) " ## Helm -The `helm` module shows the currently installed version of [Helm](https://helm.sh/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `helm` muestra la versión instalada de [Helm](https://helm.sh/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un fichero `helmfile.yaml` - El directorio actual contiene un archivo `Chart.yaml` @@ -2050,15 +2050,15 @@ The `helm` module shows the currently installed version of [Helm](https://helm.s | `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `'⎈ '` | A format string representing the symbol of Helm. | +| `symbol` | `'⎈ '` | Una cadena de formato que representa el símbolo de Helm. | | `style` | `'bold white'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `helm` module. | +| `disabled` | `false` | Deshabilita el módulo `helm`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v3.1.1` | The version of `helm` | +| version | `v3.1.1` | La versión de `helm` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2075,26 +2075,26 @@ format = 'via [⎈ $version](bold white) ' ## Hostname -The `hostname` module shows the system hostname. +El módulo `hostname` muestra el nombre de host del sistema. ### Opciones -| Opción | Predeterminado | Descripción | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | El formato del módulo. | -| `style` | `'bold dimmed green'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `hostname` module. | +| Opción | Predeterminado | Descripción | +| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | Mostrar sólo el nombre de host cuando esté conectado a una sesión SSH. | +| `ssh_symbol` | `'🌐 '` | Una cadena de formato que representa el símbolo cuando se conecta a la sesión SSH. | +| `trim_at` | `'.'` | Cadena en la que el nombre del host se corta, después de la primera coincidencia. `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | El formato del módulo. | +| `style` | `'negrita oscurecida verde'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `hostname`. | ### Variables -| Variable | Ejemplo | Descripción | -| ---------- | ---------- | ----------------------------------------------------- | -| hostname | `computer` | The hostname of the computer | -| style\* | | Refleja el valor de la opción `style` | -| ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | +| Variable | Ejemplo | Descripción | +| --------------- | ------------- | -------------------------------------------------------------- | +| nombre del host | `computadora` | El nombre de host de la computadora | +| style\* | | Refleja el valor de la opción `style` | +| ssh_symbol | `'🌏 '` | El símbolo a representar cuando está conectado a la sesión SSH | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -2112,29 +2112,29 @@ disabled = false ## Java -The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `java` muestra la versión instalada de [Java](https://www.oracle.com/java/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - El directorio actual contiene un archivo con la extensión `.java`, `.class`, `.gradle` o `.jar`, `.clj` o `.cljc` ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | El formato del módulo. | -| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Qué extensiones deberían activar este módulo. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | Qué nombres de archivo deberían activar este módulo. | -| `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `java` module. | +| Opción | Predeterminado | Descripción | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | El formato del módulo. | +| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Qué extensiones deberían activar este módulo. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Qué nombres de archivo deberían activar este módulo. | +| `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | +| `symbol` | `'☕ '` | Una cadena de formato que representa el símbolo de Java | +| `style` | `'red dimmed'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `java`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| version | `v14` | The version of `java` | +| version | `v14` | La versión de `java` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2149,11 +2149,11 @@ The `java` module shows the currently installed version of [Java](https://www.or symbol = '🌟 ' ``` -## Jobs +## Trabajos -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +El módulo `jobs` muestra el número actual de tareas en ejecución. El módulo se mostrará sólo si hay tareas en segundo plano ejecutándose. El módulo mostrará el número de tareas ejecutados si hay al menos 2 tareas, o más del valor de configuración de `number_threshold`, si existe. El módulo mostrará un símbolo si hay al menos 1 tarea, o más del valor de configuración de `symbol_threshold`, si existe. Puedes establecer ambos valores a 0 para _siempre_ mostrar el símbolo y el número de tareas, incluso si hay 0 tareas en ejecución. -The default functionality is: +La funcionalidad por defecto es: - 0 tareas -> No se muestra nada. - 1 tarea -> `symbol` se muestra. @@ -2161,35 +2161,35 @@ The default functionality is: ::: warning -This module is not supported on tcsh and nu. +Este módulo no está soportado por tcsh y nu. ::: ::: warning -The `threshold` option is deprecated, but if you want to use it, the module will show the number of jobs running if there is more than 1 job, or more than the `threshold` config value, if it exists. If `threshold` is set to 0, then the module will also show when there are 0 jobs running. +La opción `threshold` está obsoleta, pero si deseas usarla, el módulo mostrará el número de tareas en ejecución si hay más de 1 tarea, o más que el valor de configuración `threshold`, si existe. Si `threshold` se establece en 0, entonces el módulo también se mostrará cuando haya 0 tareas en ejecución. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `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) '` | El formato del módulo. | -| `symbol` | `'✦'` | The string used to represent the `symbol` variable. | -| `style` | `'bold blue'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `jobs` module. | +| Opción | Predeterminado | Descripción | +| ------------------ | ----------------------------- | ---------------------------------------------------------------------------------- | +| `threshold`* | `1` | Muestra el número de tareas si se exceden. | +| `symbol_threshold` | `1` | Muestra `symbol` si el conteo de tareas es al menos `symbol_threshold`. | +| `number_threshold` | `2` | Muestra el número de tareas si el conteo de tareas es al menos `symbol_threshold`. | +| `format` | `'[$symbol$number]($style) '` | El formato del módulo. | +| `symbol` | `'✦'` | La cadena utilizada para representar la variable `symbol`. | +| `style` | `'bold blue'` | El estilo del módulo. | +| `disabled` | `false` | Desactiva el módulo `jobs`. | -*: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. +*: Esta opción está desaprobada, por favor utiliza las opciones `number_threshold` y `symbol_threshold` en su lugar. ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| number | `1` | The number of jobs | +| número | `1` | El número de tareas | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2208,7 +2208,7 @@ symbol_threshold = 0 ## Julia -The `julia` module shows the currently installed version of [Julia](https://julialang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `julia` muestra la versión instalada de [Julia](https://julialang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `Project.toml` - El directorio actual contiene un archivo `Manifest.toml` @@ -2223,15 +2223,15 @@ The `julia` module shows the currently installed version of [Julia](https://juli | `detect_extensions` | `['jl']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Project.toml', 'Manifest.toml']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `'ஃ '` | A format string representing the symbol of Julia. | +| `symbol` | `'ஃ '` | Una cadena de formato que representa el símbolo de Julia. | | `style` | `'bold purple'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `julia` module. | +| `disabled` | `false` | Deshabilita el módulo `julia`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v1.4.0` | The version of `julia` | +| version | `v1.4.0` | La versión de `julia` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2248,7 +2248,7 @@ symbol = '∴ ' ## Kotlin -The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `kotlin` muestra la versión instalada de [Kotlin](https://kotlinlang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `.kt` o un `.kts` @@ -2261,16 +2261,16 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko | `detect_extensions` | `['kt', 'kts']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `'🅺 '` | A format string representing the symbol of Kotlin. | +| `symbol` | `'🅺 '` | Una cadena de formato que representa el símbolo de Kotlin. | | `style` | `'bold blue'` | El estilo del módulo. | -| `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `kotlin` module. | +| `kotlin_binary` | `'kotlin'` | Configura el binario kotlin que Starship ejecuta al obtener la versión. | +| `disabled` | `false` | Deshabilita el módulo `kotlin`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------- | -| version | `v1.4.21` | The version of `kotlin` | +| version | `v1.4.21` | La versión de `kotlin` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2295,11 +2295,11 @@ kotlin_binary = 'kotlinc' ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Muestra el nombre actual del [contexto de Kubernetes](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) y, si se establece, el espacio de nombres, el usuario y el clúster del archivo kubeconfig. El espacio de nombres necesita establecerse en el archivo kubeconfig, esto puede hacerse mediante `kubectl config set-context starship-context --namespace astronaut`. Del mismo modo, el usuario y clúster pueden establecerse con `kubectl config set-context starship-context --user starship-user` y `kubectl config set-context starship-context --cluster starship-cluster`. Si se establece la variable de entorno `$KUBECONFIG`, el módulo usará eso si no usará el `~/.kube/config`. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2307,28 +2307,28 @@ When the module is enabled it will always be active, unless any of `detect_exten ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | -| `symbol` | `'☸ '` | A format string representing the symbol displayed before the Cluster. | -| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | El formato del módulo. | -| `style` | `'cyan bold'` | El estilo del módulo. | -| `context_aliases` | `{}` | Table of context aliases to display. | -| `user_aliases` | `{}` | Table of user aliases to display. | -| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. | -| `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | -| `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| Opción | Predeterminado | Descripción | +| ------------------- | ---------------------------------------------------- | --------------------------------------------------------------------------- | +| `symbol` | `'☸ '` | Una cadena de formato que representa el símbolo mostrado antes del Cluster. | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | El formato del módulo. | +| `style` | `'cyan bold'` | El estilo del módulo. | +| `context_aliases` | `{}` | Tabla de alias de contexto a mostrar. | +| `user_aliases` | `{}` | Table of user aliases to display. | +| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. | +| `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | +| `detect_folders` | `[]` | Qué carpetas deberían activar estos módulos. | +| `disabled` | `true` | Desactiva el módulo `kubernetes`. | ### Variables -| Variable | Ejemplo | Descripción | -| --------- | -------------------- | ---------------------------------------- | -| contexto | `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 | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| --------- | -------------------- | ----------------------------------------------------------- | +| contexto | `starship-context` | El nombre del contexto actual de kubernetes | +| namespace | `starship-namespace` | Si se establece, el espacio de nombres actual de kubernetes | +| usuario | `starship-user` | Si se establece, el espacio de nombres actual de kubernetes | +| cluster | `starship-cluster` | Si se establece, el clúster actual de kubernetes | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2363,32 +2363,32 @@ detect_files = ['k8s'] Additional to simple aliasing, `context_aliases` and `user_aliases` also supports extended matching and renaming using regular expressions. -The regular expression must match on the entire kube context, capture groups can be referenced using `$name` and `$N` in the replacement. This is more explained in the [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace) documentation. +La expresión regular debe coincidir en todo el contexto de kube. los grupos de captura pueden ser referenciados usando `$name` y `$N` en el reemplazo. Esto está más explicado en la documentación del [crate regex](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace). -Long and automatically generated cluster names can be identified and shortened using regular expressions: +Los nombres de cluster generados de forma larga y automática pueden ser identificados y abreviados usando expresiones regulares: ```toml [kubernetes.context_aliases] # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## Salto de línea -The `line_break` module separates the prompt into two lines. +El módulo `line_break` separa el prompt en dos líneas. ### Opciones -| Opción | Predeterminado | Descripción | -| ---------- | -------------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Opción | Predeterminado | Descripción | +| ---------- | -------------- | ------------------------------------------------------------------------------ | +| `disabled` | `false` | Deshabilita el módulo `line_break`, haciendo que el prompt sea una sola línea. | ### Ejemplo @@ -2399,24 +2399,24 @@ The `line_break` module separates the prompt into two lines. disabled = true ``` -## Local IP +## IP local -The `localip` module shows the IPv4 address of the primary network interface. +El módulo `localip` muestra la dirección IPv4 de la interfaz de red principal. ### Opciones -| Opción | Predeterminado | Descripción | -| ---------- | ------------------------- | ------------------------------------------------------ | -| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `'[$localipv4]($style) '` | El formato del módulo. | -| `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `true` | Disables the `localip` module. | +| Opción | Predeterminado | Descripción | +| ---------- | ------------------------- | ----------------------------------------------------------------------- | +| `ssh_only` | `true` | Solo muestra la direccion IP cuando se está conectado a una sesión SSH. | +| `format` | `'[$localipv4]($style) '` | El formato del módulo. | +| `style` | `'bold yellow'` | El estilo del módulo. | +| `disabled` | `true` | Deshabilita el módulo `localip`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------------ | ------------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | +| localipv4 | 192.168.1.13 | Contiene la dirección IPv4 primaria | | style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -2434,7 +2434,7 @@ disabled = false ## Lua -The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `lua` muestra la versión instalada de [Lua](http://www.lua.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `.lua-version` - El directorio actual contiene un directorio `lua` @@ -2446,19 +2446,19 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🌙 '` | A format string representing the symbol of Lua. | +| `symbol` | `'🌙 '` | Una cadena de formato que representa el símbolo de Lua. | | `detect_extensions` | `['lua']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['.lua-version']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `['lua']` | Qué carpetas deberían activar este módulo. | | `style` | `'bold blue'` | El estilo del módulo. | -| `lua_binary` | `'lua'` | Configures the lua binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `lua` module. | +| `lua_binary` | `'lua'` | Configura el binario lua que Starship ejecuta al obtener la versión. | +| `disabled` | `false` | Deshabilita el módulo `lua`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v5.4.0` | The version of `lua` | +| version | `v5.4.0` | La versión de `lua` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2473,40 +2473,40 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## Uso de la memoria -The `memory_usage` module shows current system memory and swap usage. +El módulo `memory_usage` muestra la memoria del sistema actual y el uso de la memoria de intercambio. -By default the swap usage is displayed if the total system swap is non-zero. +Por defecto, el uso de la memoria de intercambio se muestra si no es cero. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | El formato del módulo. | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | El estilo del módulo. | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Opción | Predeterminado | Descripción | +| ----------- | ----------------------------------------------- | ------------------------------------------------------------- | +| `threshold` | `75` | Ocultar el uso de memoria a menos que supere este porcentaje. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | El formato del módulo. | +| `symbol` | `'🐏'` | El símbolo usado antes de mostrar el uso de memoria. | +| `style` | `'bold dimmed white'` | El estilo del módulo. | +| `disabled` | `true` | Desactiva el módulo `memory_usage`. | ### Variables -| Variable | Ejemplo | Descripción | -| ---------------- | ------------- | ------------------------------------------------------------------ | -| 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 | `🐏` | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| ---------------- | ------------- | ---------------------------------------------------------------------------------- | +| ram | `31GiB/65GiB` | La memoria RAM usada/total del sistema actual. | +| ram_pct | `48%` | El porcentaje de la memoria actual del sistema. | +| swap\*\* | `1GiB/4GiB` | El tamaño de la memoria de intercambio del archivo de memoria del sistema actual. | +| swap_pct\*\* | `77%` | El porcentaje de memoria de intercambio del archivo de memoria del sistema actual. | +| symbol | `🐏` | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `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 +*: Está variable solo puede utilizarse como parte de una cadena de estilo *\*: La información del archivo SWAP solo se muestra si se detecta en el sistema actual ### Ejemplo @@ -2535,13 +2535,13 @@ By default the Meson project name is displayed, if `$MESON_DEVENV` is set. | `format` | `'via [$symbol$project]($style) '` | El formato del módulo. | | `symbol` | `'⬢ '` | The symbol used before displaying the project name. | | `style` | `'blue bold'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `meson` module. | +| `disabled` | `false` | Deshabilita el módulo `meson`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ---------- | -------------------------------------- | -| project | `starship` | The current Meson project name | +| proyecto | `starship` | El nombre actual del proyecto Meson | | symbol | `🐏` | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2559,27 +2559,27 @@ symbol = ' ' style = 'bold dimmed green' ``` -## Mercurial Branch +## Rama Mercurial The `hg_branch` module shows the active branch and topic of the repo in your current directory. ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | -| `symbol` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `style` | `'bold purple'` | El estilo del módulo. | -| `format` | `'on [$symbol$branch(:$topic)]($style) '` | El formato del módulo. | -| `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. | +| Opción | Predeterminado | Descripción | +| ------------------- | ----------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `symbol` | `' '` | El símbolo usado antes del marcador hg o nombre de la rama del repositorio en su directorio actual. | +| `style` | `'bold purple'` | El estilo del módulo. | +| `format` | `'on [$symbol$branch(:$topic)]($style) '` | El formato del módulo. | +| `truncation_length` | `2^63 - 1` | Truncates the hg branch / topic name to `N` graphemes | +| `truncation_symbol` | `'…'` | El símbolo usado para indicar que un nombre de rama fue truncado. | +| `disabled` | `true` | Deshabilita el módulo `hg_branch`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------- | -| branch | `master` | The active mercurial branch | -| topic | `feature` | The active mercurial topic | +| rama | `maestro` | La rama mercurial activa | +| tema | `función` | The active mercurial topic | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2598,7 +2598,7 @@ truncation_symbol = '' ## Nim -The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `nim` muestra la versión instalada de [Nim](https://nim-lang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `nim.cfg` - El directorio actual contiene un archivo con la extensión `.nim` @@ -2609,20 +2609,20 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Opción | Predeterminado | Descripción | | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'👑 '` | The symbol used before displaying the version of Nim. | +| `symbol` | `'👑 '` | El símbolo usado antes de mostrar la versión de Nim. | | `detect_extensions` | `['nim', 'nims', 'nimble']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['nim.cfg']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `nim` module. | +| `disabled` | `false` | Deshabilita el módulo `nim`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v1.2.0` | The version of `nimc` | +| version | `v1.2.0` | La versión de `nimc` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2640,27 +2640,27 @@ symbol = '🎣 ' ## Nix-shell -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. +El módulo `nix_shell` muestra el entorno [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html). El módulo se mostrará dentro de un entorno nix-shell. ### Opciones -| Opción | Predeterminado | Descripción | -| ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | -| `format` | `'via [$symbol$state( \($name\))]($style) '` | El formato del módulo. | -| `symbol` | `'❄️ '` | A format string representing the symbol of nix-shell. | -| `style` | `'bold blue'` | El estilo del módulo. | -| `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. | -| `disabled` | `false` | Disables the `nix_shell` module. | -| `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | +| Opción | Predeterminado | Descripción | +| ------------- | ---------------------------------------------- | -------------------------------------------------------------------------------- | +| `format` | `'via [$symbol$state( \($name\))]($style) '` | El formato del módulo. | +| `symbol` | `'❄️ '` | Una cadena de formato que representa el símbolo de nix-shell. | +| `style` | `'bold blue'` | El estilo del módulo. | +| `impure_msg` | `'impure'` | Una cadena de formato que se muestra cuando el intérprete de comandos es impuro. | +| `pure_msg` | `'pure'` | Una cadena de formato que se muestra cuando el intérprete de comandos es puro. | +| `unknown_msg` | `''` | A format string shown when it is unknown if the shell is pure/impure. | +| `disabled` | `false` | Desactiva el módulo `nix_shell`. | +| `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| state | `pure` | The state of the nix-shell | -| name | `lorri` | The name of the nix-shell | +| state | `pure` | El estado de nix-shell | +| name | `lorri` | El nombre de nix-shell | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2681,7 +2681,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) ' ## Node.js -The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `nodejs` muestra la versión instalada de [Node.js](https://nodejs.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `package.json` - El directorio actual contiene un archivo `.node-version` @@ -2692,23 +2692,23 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | -| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string representing the symbol of Node.js. | -| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Qué extensiones deberían activar este módulo. | -| `detect_files` | `['package.json', '.node-version']` | Qué nombres de archivo deberían activar este módulo. | -| `detect_folders` | `['node_modules']` | Qué carpetas deberían activar este módulo. | -| `style` | `'bold green'` | El estilo del módulo. | -| `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. | +| Opción | Predeterminado | Descripción | +| ------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | +| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | +| `symbol` | `' '` | Una cadena de formato que representa el símbolo de Node.js. | +| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Qué extensiones deberían activar este módulo. | +| `detect_files` | `['package.json', '.node-version']` | Qué nombres de archivo deberían activar este módulo. | +| `detect_folders` | `['node_modules']` | Qué carpetas deberían activar este módulo. | +| `style` | `'bold green'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `nodejs`. | +| `not_capable_style` | `bold red` | El estilo para el módulo cuando una propiedad de motores en package.json no coincide con la versión de Node.js. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ---------- | -------------------------------------- | -| version | `v13.12.0` | The version of `node` | +| version | `v13.12.0` | La versión de `node` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2723,9 +2723,9 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n format = 'via [🤖 $version](bold green) ' ``` -## OCaml +## OCamlz -The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `ocaml` muestra la versión instalada de [OCaml](https://ocaml.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo con extensión `.opam` o directorio `_opam` - El directorio actual contiene un directorio `esy.lock` @@ -2740,24 +2740,24 @@ The `ocaml` module shows the currently installed version of [OCaml](https://ocam | ------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | La cadena de formato para el módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `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. | +| `symbol` | `'🐫 '` | El símbolo usado antes de mostrar la versión de OCaml. | +| `global_switch_indicator` | `''` | La cadena de formato usada para representar el interruptor global de OPAM. | +| `local_switch_indicator` | `'*'` | La cadena de formato usada para representar el interruptor local de OPAM. | | `detect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `['_opam', 'esy.lock']` | Qué carpetas deberían activar este módulo. | | `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `ocaml` module. | +| `disabled` | `false` | Deshabilita el módulo `ocaml`. | ### Variables -| Variable | Ejemplo | Descripción | -| ---------------- | ------------ | ----------------------------------------------------------------- | -| 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 | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| ---------------- | ------------ | --------------------------------------------------------------------------- | +| version | `v4.10.0` | La versión de `ocaml` | +| switch_name | `my-project` | El interruptor OPAM activo | +| switch_indicator | | Refleja el valor de `indicator` para el interruptor OPAM activo actualmente | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -2785,13 +2785,13 @@ The `opa` module shows the currently installed version of the OPA tool. By defau | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold blue'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `opa` module. | +| `disabled` | `false` | Deshabilita el módulo `opa`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------- | -| version | `v0.44.0` | The version of `opa` | +| version | `v0.44.0` | La versión de `opa` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2808,23 +2808,23 @@ format = 'via [⛑️ $version](bold red) ' ## OpenStack -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. +El módulo `openstack` muestra la nube actual y el proyecto OpenStack. El módulo solo está activo cuando la variable de entorno `OS_CLOUD` está definida, en cuyo caso leerá el archivo `clouds.yaml` desde cualquiera de las [ubicaciones por defecto](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files). para obtener el proyecto actual en uso. ### Opciones -| Opción | Predeterminado | Descripción | -| ---------- | ----------------------------------------------- | -------------------------------------------------------------- | -| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | El formato del módulo. | -| `symbol` | `'☁️ '` | The symbol used before displaying the current OpenStack cloud. | -| `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `openstack` module. | +| Opción | Predeterminado | Descripción | +| ---------- | ----------------------------------------------- | ----------------------------------------------------------- | +| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | El formato del módulo. | +| `symbol` | `'☁️ '` | El símbolo usado antes de mostrar la nube OpenStack actual. | +| `style` | `'bold yellow'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo `openstack`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| cloud | `corp` | The current OpenStack cloud | -| project | `dev` | The current OpenStack project | +| nube | `corp` | La nube OpenStack actual | +| proyecto | `dev` | El actual proyecto OpenStack | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2841,7 +2841,7 @@ style = 'bold yellow' symbol = '☁️ ' ``` -## OS +## SO The `os` module shows the current operating system. OS information is detected via the [os_info](https://lib.rs/crates/os_info) crate. @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: @@ -2863,8 +2863,8 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | ---------- | --------------------- | ------------------------------------------------------ | | `format` | `"[$symbol]($style)"` | El formato del módulo. | | `style` | `"bold white"` | El estilo del módulo. | -| `disabled` | `true` | Disables the `os` module. | -| `symbols` | | A table that maps each operating system to its symbol. | +| `disabled` | `true` | Deshabilita el módulo `os`. | +| `símbolos` | | A table that maps each operating system to its symbol. | `symbols` allows you to define arbitrary symbols to display for each operating system type. Operating system types not defined by your configuration use the default symbols table below. All operating systems currently supported by the module are listed below. If you would like an operating system to be added, feel free to open a [feature request](https://github.com/starship/starship/issues/new/choose). @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2914,10 +2916,10 @@ Windows = "🪟 " | Variable | Ejemplo | Descripción | | --------- | ------------ | ------------------------------------------------------------------ | | 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 | +| name | `Arch Linux` | El nombre actual del sistema operativo | +| tipo | `Arch` | El tipo actual de sistema operativo | | codename | | The current operating system codename, if applicable | -| edition | | The current operating system edition, if applicable | +| edición | | The current operating system edition, if applicable | | version | | The current operating system version, if applicable | | style\* | | Refleja el valor de la opción `style` | @@ -2940,7 +2942,7 @@ Arch = "Arch is the best! " ## Package Version -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +El módulo `package` se muestra cuando el directorio actual es el repositorio de un paquete, y muestra su versión actual. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – La versión del paquete `npm` se extrae del `package.json` presente en el directorio actual - [**Cargo**](https://doc.rust-lang.org/cargo/) – La versión del paquete `cargo` se extrae del `Cargo.toml` presente en el directorio actual @@ -2967,17 +2969,17 @@ The `package` module is shown when the current directory is the repository for a | Opción | Predeterminado | Descripción | | ----------------- | --------------------------------- | --------------------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | El formato del módulo. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | El símbolo usado antes de mostrar la versión del paquete. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | | `style` | `'bold 208'` | El estilo del módulo. | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| `display_private` | `false` | Activar la visualización de la versión para los paquetes marcados como privados. | +| `disabled` | `false` | Desactiva el módulo `package`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v1.0.0` | The version of your package | +| version | `v1.0.0` | La versión de su paquete | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -2994,7 +2996,7 @@ format = 'via [🎁 $version](208 bold) ' ## Perl -The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `perl` muestra la versión instalada de [Perl](https://www.perl.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `Makefile.PL` o `Build.PL` - El directorio actual contiene un archivo `cpanfile` o `cpanfile.snapshot` @@ -3008,18 +3010,18 @@ The `perl` module shows the currently installed version of [Perl](https://www.pe | ------------------- | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | La cadena de formato para el módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐪 '` | The symbol used before displaying the version of Perl | +| `symbol` | `'🐪 '` | El símbolo usado antes de mostrar la versión de Perl | | `detect_extensions` | `['pl', 'pm', 'pod']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold 149'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `perl` module. | +| `disabled` | `false` | Deshabilita el módulo `perl`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | --------- | -------------------------------------- | -| version | `v5.26.1` | The version of `perl` | +| version | `v5.26.1` | La versión de `perl` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3034,7 +3036,7 @@ format = 'via [🦪 $version]($style) ' ## PHP -The `php` module shows the currently installed version of [PHP](https://www.php.net/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `php` muestra la versión instalada de [PHP](https://www.php.net/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `composer.json` - El directorio actual contiene un archivo `.php-version` @@ -3046,18 +3048,18 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐘 '` | The symbol used before displaying the version of PHP. | +| `symbol` | `'🐘 '` | El símbolo usado antes de mostrar la versión de PHP. | | `detect_extensions` | `['php']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['composer.json', '.php-version']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'147 bold'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | Deshabilita el módulo `php`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v7.3.8` | The version of `php` | +| version | `v7.3.8` | La versión de `php` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3072,7 +3074,7 @@ The `php` module shows the currently installed version of [PHP](https://www.php. format = 'via [🔹 $version](147 bold) ' ``` -## Pijul Channel +## Canal Pijul The `pijul_channel` module shows the active channel of the repo in your current directory. @@ -3084,16 +3086,16 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | El estilo del módulo. | | `format` | `'on [$symbol$channel]($style) '` | El formato del módulo. | | `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. | +| `truncation_symbol` | `'…'` | El símbolo usado para indicar que un nombre de rama fue truncado. | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi -The `pulumi` module shows the current username, selected [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/), and version. +El módulo `pulumi` muestra el nombre de usuario actual, [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/)seleccionado y la versión. ::: tip -By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms). If you still want to enable it, [follow the example shown below](#with-pulumi-version). +Por defecto la versión de Pulumi no se muestra, ya que toma un orden de magnitud más largo para cargar que la mayoría de los plugins (~70ms). Si aún deseas activarlo, [sigue el ejemplo que se muestra a continuación](#with-pulumi-version). ::: @@ -3106,20 +3108,20 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes | Opción | Predeterminado | Descripción | | ---------------- | -------------------------------------------- | --------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($username@)$stack]($style) '` | La cadena de formato para el módulo. | +| `format` | `'vía [$symbol($username@)$stack]($style) '` | La cadena de formato para el módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string shown before the Pulumi stack. | +| `symbol` | `' '` | Una cadena de formato que se muestra antes de la pila de Pulumi. | | `style` | `'bold 5'` | El estilo del módulo. | | `search_upwards` | `true` | Enable discovery of pulumi config files in parent directories. | -| `disabled` | `false` | Disables the `pulumi` module. | +| `disabled` | `false` | Deshabilita el módulo `pulumi`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ---------- | -------------------------------------- | -| version | `v0.12.24` | The version of `pulumi` | -| stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | +| version | `v0.12.24` | La versión de `pulumi` | +| stack | `dev` | La pila actual de Pulumi | +| username | `alice` | El usuario actual de Pulumi | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3147,7 +3149,7 @@ format = '[$symbol$stack]($style) ' ## PureScript -The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `purescript` muestra la versión instalada de [PureScript](https://www.purescript.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `spago.dhall` - El directorio actual contiene un archivo con la extensión `.purs` @@ -3158,18 +3160,18 @@ The `purescript` module shows the currently installed version of [PureScript](ht | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'<=> '` | The symbol used before displaying the version of PureScript. | +| `symbol` | `'<=> '` | El símbolo usado antes de mostrar la versión de PureScript. | | `detect_extensions` | `['purs']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['spago.dhall']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold white'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `purescript` module. | +| `disabled` | `false` | Desactiva el módulo `purescript`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `0.13.5` | The version of `purescript` | +| version | `0.13.5` | La versión de `purescript` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3186,9 +3188,9 @@ format = 'via [$symbol$version](bold white)' ## Python -The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated. +El módulo `python` muestra la versión instalada de [Python](https://www.python.org/) y el entorno virtual actual [Python](https://docs.python.org/tutorial/venv.html) si uno está activado. -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`. +Si `pyenv_version_name` se establece en `true`, mostrará el nombre de la versión de pyenv. De lo contrario, se mostrará el número de versión de `python --version`. Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: @@ -3208,33 +3210,33 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes | -------------------- | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐍 '` | A format string representing the symbol of Python | +| `symbol` | `'🐍 '` | Una cadena de formato que representa el símbolo de Python | | `style` | `'yellow bold'` | El estilo del módulo. | -| `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. | +| `pyenv_version_name` | `false` | Usar pyenv para obtener la versión de Python | +| `pyenv_prefix` | `pyenv` | Prefijo antes de mostrar la versión de pyenv sólo se utiliza si se utiliza pyenv | +| `python_binary` | `['python', 'python3', 'python2']` | Configura los binarios de python que Starship debería ejecutar al obtener la versión. | | `detect_extensions` | `['py']` | Qué extensiones deben activar este módulo | | `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Qué nombres de archivo deben activar este módulo | | `detect_folders` | `[]` | Qué carpetas deben activar este módulo | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | Deshabilita el módulo `python`. | ::: tip -The `python_binary` variable accepts either a string or a list of strings. Starship will try executing each binary until it gets a result. Note you can only change the binary that Starship executes to get the version of Python not the arguments that are used. +La variable `python_binary` acepta una cadena o una lista de cadenas. La Starship intentará ejecutar cada binario hasta que obtenga un resultado. Ten en cuenta que sólo puedes cambiar el binario que Starship ejecuta para obtener la versión de Python no los argumentos que se utilizan. -The default values and order for `python_binary` was chosen to first identify the Python version in a virtualenv/conda environments (which currently still add a `python`, no matter if it points to `python3` or `python2`). This has the side effect that if you still have a system Python 2 installed, it may be picked up before any Python 3 (at least on Linux Distros that always symlink `/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `'python3'` will hide any Python version 2, see example below. +Los valores por defecto y el orden para `python_binary` fue elegido para identificar primero la versión de Python en un entorno virtualenv/conda (que actualmente añade un `python`, no importa si apunta a `python3` o `python2`). Esto tiene el efecto secundario que si todavía tienes un sistema de Python 2 instalado, puede ser recogido antes de cualquier Python 3 (al menos en las Distros de Linux que siempre enlazan `/usr/bin/python` a Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `'python3'` will hide any Python version 2, see example below. ::: ### Variables -| Variable | Ejemplo | Descripción | -| ------------ | --------------- | ------------------------------------------ | -| version | `'v3.8.1'` | The version of `python` | -| symbol | `'🐍 '` | Refleja el valor de la opción `symbol` | -| style | `'yellow bold'` | Refleja el valor de la opción `style` | -| pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | -| virtualenv | `'venv'` | The current `virtualenv` name | +| Variable | Ejemplo | Descripción | +| ------------ | --------------- | -------------------------------------------- | +| version | `'v3.8.1'` | La versión de `python` | +| symbol | `'🐍 '` | Refleja el valor de la opción `symbol` | +| style | `'yellow bold'` | Refleja el valor de la opción `style` | +| pyenv_prefix | `'pyenv '` | Refleja el valor de la opción `pyenv_prefix` | +| virtualenv | `'venv'` | El nombre actual del `virtualenv` | ### Ejemplo @@ -3250,7 +3252,7 @@ pyenv_version_name = true # ~/.config/starship.toml [python] -# Only use the `python3` binary to get the version. +# Solo usa el binario `python3` para obtener la versión. python_binary = 'python3' ``` @@ -3258,7 +3260,7 @@ python_binary = 'python3' # ~/.config/starship.toml [python] -# Don't trigger for files with the py extension +# No se dispara con archivos con extensión py detect_extensions = [] ``` @@ -3266,16 +3268,16 @@ detect_extensions = [] # ~/.config/starship.toml [python] -# Display the version of python from inside a local venv. +# Muestra la versión de python desde dentro de un entorno virtual local. # -# Note this will only work when the venv is inside the project and it will only -# work in the directory that contains the venv dir but maybe this is ok? +# Ten en cuenta que esto solo funcionará cuando el venv esté dentro del proyecto y sólo +# funcionará en el directorio que contiene el directorio venv dir pero ¿tal vez esté bien? python_binary = ['./venv/bin/python', 'python', 'python3', 'python2'] ``` ## R -The `rlang` module shows the currently installed version of [R](https://www.r-project.org/). The module will be shown if any of the following conditions are met: +El módulo `rlang` muestra la versión instalada de [R](https://www.r-project.org/). El módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo con la extensión `.R`. - El directorio actual contiene un archivo con la extensión `.Rd`. @@ -3291,18 +3293,18 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'📐'` | A format string representing the symbol of R. | +| `symbol` | `'📐'` | Una cadena de formato que representa el símbolo de R. | | `style` | `'blue bold'` | El estilo del módulo. | | `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Qué extensiones deben activar este módulo | | `detect_files` | `['.Rprofile']` | Qué nombres de archivo deben activar este módulo | | `detect_folders` | `['.Rproj.user']` | Qué carpetas deben activar este módulo | -| `disabled` | `false` | Disables the `r` module. | +| `disabled` | `false` | Deshabilita el módulo `r`. | ### Variables | Variable | Ejemplo | Descripción | | -------- | ------------- | -------------------------------------- | -| version | `v4.0.5` | The version of `R` | +| version | `v4.0.5` | La versión de `R` | | symbol | | Refleja el valor de la opción `symbol` | | style | `'blue bold'` | Refleja el valor de la opción `style` | @@ -3317,7 +3319,7 @@ format = 'with [📐 $version](blue bold) ' ## Raku -The `raku` module shows the currently installed version of [Raku](https://www.raku.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `raku` muestra la versión instalada de [Raku](https://www.raku.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `META6.json` - El directorio actual contiene un `.p6`, `.pm6`, `.raku`, `.rakumod` o `.pod6` @@ -3328,21 +3330,21 @@ The `raku` module shows the currently installed version of [Raku](https://www.ra | ------------------- | ------------------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version-$vm_version )]($style)'` | La cadena de formato para el módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦋 '` | The symbol used before displaying the version of Raku | +| `symbol` | `'🦋 '` | El símbolo usado antes de mostrar la versión de Raku | | `detect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['META6.json']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold 149'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `raku` module. | +| `disabled` | `false` | Deshabilita el módulo `raku`. | ### Variables -| Variable | Ejemplo | Descripción | -| ---------- | ------- | -------------------------------------- | -| version | `v6.d` | The version of `raku` | -| vm_version | `moar` | The version of VM `raku` is built on | -| symbol | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| ---------- | ------- | ---------------------------------------------------------- | +| version | `v6.d` | La versión de `raku` | +| vm_version | `moar` | La versión de la máquina virtual `raku` está construida en | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | ### Ejemplo @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +Por defecto, el módulo `red` muestra la versión actualmente instalada de [Red](https://www.red-lang.org/). El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El directorio actual contiene un archivo con extensión `.red` o `.Red` @@ -3365,18 +3367,18 @@ By default the `red` module shows the currently installed version of [Red](https | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🔺 '` | A format string representing the symbol of Red. | +| `symbol` | `'🔺 '` | Una cadena de formato que representa el símbolo de Red. | | `detect_extensions` | `['red']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'red bold'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `red` module. | +| `disabled` | `false` | Deshabilita el módulo `red`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v2.5.1` | The version of `red` | +| version | `v2.5.1` | La versión de `red` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3393,14 +3395,14 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +Por defecto, el módulo `ruby` muestra la versión actualmente instalada de [Ruby](https://www.ruby-lang.org/). El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El directorio actual contiene un archivo `Gemfile` - El directorio actual contiene un archivo `.ruby-version` - El directorio actual contiene un archivo `.rb` - Las variables de entorno `RUBY_VERSION` o `RBENV_VERSION` están configuradas -Starship gets the current Ruby version by running `ruby -v`. +Starship obtiene la versión actual de Ruby ejecutando `ruby -v`. ### Opciones @@ -3408,19 +3410,19 @@ Starship gets the current Ruby version by running `ruby -v`. | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | +| `symbol` | `'💎 '` | Una cadena de formato que representa el símbolo de Ruby. | | `detect_extensions` | `['rb']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Gemfile', '.ruby-version']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | -| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | +| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Qué variables de entorno deben activar este módulo. | | `style` | `'bold red'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `ruby` module. | +| `disabled` | `false` | Deshabilita el módulo `ruby`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v2.5.1` | The version of `ruby` | +| version | `v2.5.1` | La versión de `ruby` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +Por defecto, el módulo `rust` muestra la versión instalada de [Rust](https://www.rust-lang.org/). El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El directorio actual contiene un archivo `Cargo.toml` - El directorio actual contiene un archivo con la extensión `.rs` @@ -3448,20 +3450,20 @@ By default the `rust` module shows the currently installed version of [Rust](htt | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | +| `symbol` | `'🦀 '` | Una cadena de formato que representa el símbolo de Rust | | `detect_extensions` | `['rs']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Cargo.toml']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold red'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | Deshabilita el módulo `rust`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ----------------- | -------------------------------------------- | -| 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 | +| version | `v1.43.0-nightly` | La versión de `rustc` | +| numver | `1.51.0` | El componente numérico de la versión `rustc` | +| toolchain | `beta` | La versión de toolchain | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3478,7 +3480,7 @@ format = 'via [⚙️ $version](red bold)' ## Scala -The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `scala` muestra la versión actualmente instalada de [Scala](https://www.scala-lang.org/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `build.sbt`, `.scalaenv` o `.sbtenv` - El directorio actual contiene un archivo con la extensión `.scala` o `.sbt` @@ -3493,15 +3495,15 @@ The `scala` module shows the currently installed version of [Scala](https://www. | `detect_extensions` | `['sbt', 'scala']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `['.metals']` | Qué carpetas deberían activar estos módulos. | -| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. | +| `symbol` | `'🆂 '` | Una cadena de formato que representa el símbolo de Scala. | | `style` | `'red dimmed'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `scala` module. | +| `disabled` | `false` | Deshabilita el módulo `scala`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `2.13.5` | The version of `scala` | +| version | `2.13.5` | La versión de `scala` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3518,39 +3520,39 @@ symbol = '🌟 ' ## Shell -The `shell` module shows an indicator for currently used shell. +El módulo `shell` muestra un indicador para el intérprete de comandos actualmente utilizado. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ---------------------- | ------------------------- | ------------------------------------------------------------ | -| `bash_indicator` | `'bsh'` | A format string used to represent bash. | -| `fish_indicator` | `'fsh'` | A format string used to represent fish. | -| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. | -| `powershell_indicator` | `'psh'` | A format string used to represent powershell. | -| `ion_indicator` | `'ion'` | A format string used to represent ion. | -| `elvish_indicator` | `'esh'` | A format string used to represent elvish. | -| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. | -| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. | -| `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) '` | El formato del módulo. | -| `style` | `'white bold'` | El estilo del módulo. | -| `disabled` | `true` | Disables the `shell` module. | +| Opción | Predeterminado | Descripción | +| ---------------------- | ------------------------- | ----------------------------------------------------------------------- | +| `bash_indicator` | `'bsh'` | Una cadena de formato usada para representar bash. | +| `fish_indicator` | `'fsh'` | Una cadena de formato usada para representar fish. | +| `zsh_indicator` | `'zsh'` | Una cadena de formato usada para representar zsh. | +| `powershell_indicator` | `'psh'` | Una cadena de formato usada para representar powershell. | +| `ion_indicator` | `'ion'` | Una cadena de formato usada para representar ion. | +| `elvish_indicator` | `'esh'` | Una cadena de formato usada para representar elvish. | +| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. | +| `xonsh_indicator` | `'xsh'` | Una cadena de formato usada para representar xonsh. | +| `cmd_indicator` | `'cmd'` | Una cadena de formato usada para representar cmd. | +| `nu_indicator` | `'nu'` | Una cadena de formato usada para representar nu. | +| `unknown_indicator` | `''` | El valor por defecto que se mostrará cuando se desconoce el intérprete. | +| `format` | `'[$indicator]($style) '` | El formato del módulo. | +| `style` | `'white bold'` | El estilo del módulo. | +| `disabled` | `true` | Deshabilita el módulo `shell`. | ### Variables -| Variable | Predeterminado | Descripción | -| --------- | -------------- | ---------------------------------------------------------- | -| indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| Variable | Predeterminado | Descripción | +| --------- | -------------- | ------------------------------------------------------------------------------------- | +| indicador | | Refleja el valor de `indicator` para el intérprete de comandos actualmente utilizado. | +| style\* | | Refleja el valor de la opción `style`. | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -3573,20 +3575,20 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int ### Opciones -| Opción | Predeterminado | Descripción | -| ----------- | ---------------------------- | ------------------------------------------------------------- | -| `threshold` | `2` | Display threshold. | -| `format` | `'[$symbol$shlvl]($style) '` | El formato del módulo. | -| `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. | -| `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. | -| `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `true` | Disables the `shlvl` module. | +| Opción | Predeterminado | Descripción | +| ----------- | ---------------------------- | ----------------------------------------------------------------- | +| `threshold` | `2` | Mostrar el umbral. | +| `format` | `'[$symbol$shlvl]($style) '` | El formato del módulo. | +| `symbol` | `'↕️ '` | El símbolo utilizado para representar el `SHLVL`. | +| `repetir` | `false` | Hace que el `symbol` se repita con la cantidad actual de `SHLVL`. | +| `style` | `'bold yellow'` | El estilo del módulo. | +| `disabled` | `true` | Deshabilita el módulo `shlvl`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| shlvl | `3` | The current value of `SHLVL` | +| shlvl | `3` | El valor actual de `SHLVL` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3605,22 +3607,22 @@ threshold = 3 ## Singularity -The `singularity` module shows the current [Singularity](https://sylabs.io/singularity/) image, if inside a container and `$SINGULARITY_NAME` is set. +El módulo `singularity` muestra la imagen de [singularity](https://sylabs.io/singularity/) actual, si se encuentra dentro de un contenedor y `$SINGULARITY_NAME` está establecido. ### Opciones -| Opción | Predeterminado | Descripción | -| ---------- | -------------------------------- | ------------------------------------------------ | -| `format` | `'[$symbol\[$env\]]($style) '` | El formato del módulo. | -| `symbol` | `''` | A format string displayed before the image name. | -| `style` | `'bold dimmed blue'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `singularity` module. | +| Opción | Predeterminado | Descripción | +| ---------- | -------------------------------- | ------------------------------------------------------------------- | +| `format` | `'[$symbol\[$env\]]($style) '` | El formato del módulo. | +| `symbol` | `''` | Una cadena de formato que se muestra antes del nombre de la imagen. | +| `style` | `'bold dimmed blue'` | El estilo del módulo. | +| `disabled` | `false` | Deshabilita el módulo de `singularity`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------------ | -------------------------------------- | -| env | `centos.img` | The current Singularity image | +| env | `centos.img` | La imagen de Singularity actual | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3637,23 +3639,23 @@ format = '[📦 \[$env\]]($style) ' ## Spack -The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/latest/) environment, if `$SPACK_ENV` is set. +El módulo `spack` muestra el entorno actual [Spack](https://spack.readthedocs.io/en/latest/), si `$SPACK_ENV` está configurado. ### Opciones | Opción | Predeterminado | Descripción | | ------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `truncation_length` | `1` | The number of directories the environment path should be truncated to. `0` significa sin truncamiento. Vea también el módulo [`directory`](#directory). | +| `truncation_length` | `1` | El número de directorios a los que se debe truncar la ruta de entorno. `0` significa sin truncamiento. Vea también el módulo [`directory`](#directory). | | `symbol` | `'🅢 '` | El símbolo usado antes del nombre del entorno. | | `style` | `'bold blue'` | El estilo del módulo. | | `format` | `'via [$symbol$environment]($style) '` | El formato del módulo. | -| `disabled` | `false` | Disables the `spack` module. | +| `disabled` | `false` | Deshabilita el módulo `spack`. | ### Variables | Variable | Ejemplo | Descripción | | ----------- | ------------ | -------------------------------------- | -| environment | `astronauts` | The current spack environment | +| environment | `astronauts` | El entorno de spack actual | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3668,50 +3670,50 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat format = '[$symbol$environment](dimmed blue) ' ``` -## Status +## Estado -The `status` module displays the exit code of the previous command. If $success_symbol is empty (default), the module will be shown only if the exit code is not `0`. The status code will cast to a signed 32-bit integer. +El módulo `status` muestra el código de salida del comando anterior. Si $success_symbol está vacío (por defecto), el módulo solo se mostrará si el código de salida no es `0`. El código de estado se convertirá a un entero con signo de 32 bits. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `format` | `'[$symbol$status]($style) '` | The format of the module | -| `symbol` | `'❌'` | 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 | -| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) | -| `signal_symbol` | `'⚡'` | The symbol displayed on any signal | -| `style` | `'bold red'` | El estilo del módulo. | -| `recognize_signal_code` | `true` | Enable signal mapping from exit code | -| `map_symbol` | `false` | Enable symbols mapping from exit code | -| `pipestatus` | `false` | Enable pipestatus reporting | -| `pipestatus_separator` | | | The symbol used to separate pipestatus segments (supports formatting) | -| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline | -| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments | -| `disabled` | `true` | Disables the `status` module. | +| Opción | Predeterminado | Descripción | +| --------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | +| `format` | `'[$symbol$status]($style) '` | El formato del módulo | +| `symbol` | `'❌'` | El símbolo mostrado en el error del programa | +| `success_symbol` | `''` | El símbolo mostrado en el éxito del programa | +| `not_executable_symbol` | `'🚫'` | El símbolo mostrado cuando el archivo no es ejecutable | +| `not_found_symbol` | `'🔍'` | El símbolo mostrado cuando no se encuentra el comando | +| `sigint_symbol` | `'🧱'` | El símbolo mostrado en SIGINT (Ctrl + c) | +| `signal_symbol` | `'⚡'` | El símbolo mostrado en cualquier señal | +| `style` | `'bold red'` | El estilo del módulo. | +| `recognize_signal_code` | `true` | Habilita el mapeo de señales desde el código de salida | +| `map_symbol` | `false` | Habilita el mapeo de símbolos desde el código de salida | +| `pipestatus` | `false` | Habilita el reporte de pipstatus | +| `pipestatus_separator` | | | El símbolo usado para separar segmentos de pipestatus (soporta formato) | +| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | El formato del módulo cuando el comando es un pipeline | +| `pipestatus_segment_format` | | Cuando se especifica, reemplaza `formato` al formatear segmentos de pipestatus | +| `disabled` | `true` | Deshabilita el módulo `status`. | ### Variables -| Variable | Ejemplo | Descripción | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | El código de salida del último comando | +| hex_status | `0x7F` | El código de salida del último comando en hexadecimal | +| int | `127` | El código de salida del último comando | +| common_meaning | `ERROR` | Comprobación del código si no es una señal | +| signal_number | `9` | Número de señal correspondiente al código de salida, sólo si está señalizado | +| signal_name | `KILL` | Nombre de la señal correspondiente al código de salida, sólo si está señalizada | +| maybe_int | `7` | Contiene el número de código de salida cuando no se ha encontrado ningún significado | +| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -3731,23 +3733,23 @@ disabled = false ## Sudo -The `sudo` module displays if sudo credentials are currently cached. The module will only be shown if credentials are cached. +El módulo `sudo` muestra si las credenciales de sudo están actualmente en caché. El módulo solo se mostrará si las credenciales están guardadas en caché. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| --------------- | ------------------------ | ------------------------------------------------------- | -| `format` | `'[as $symbol]($style)'` | The format of the module | -| `symbol` | `'🧙 '` | The symbol displayed when credentials are cached | -| `style` | `'bold blue'` | El estilo del módulo. | -| `allow_windows` | `false` | Since windows has no default sudo, default is disabled. | -| `disabled` | `true` | Disables the `sudo` module. | +| Opción | Predeterminado | Descripción | +| --------------- | ------------------------ | -------------------------------------------------------------------------------- | +| `format` | `'[as $symbol]($style)'` | El formato del módulo | +| `symbol` | `'🧙 '` | El símbolo mostrado cuando las credenciales se almacenan en caché | +| `style` | `'bold blue'` | El estilo del módulo. | +| `allow_windows` | `false` | Como Windows no tiene sudo por defecto, el valor por defecto está deshabilitado. | +| `disabled` | `true` | Deshabilita el módulo `sudo`. | ### Variables @@ -3770,7 +3772,7 @@ disabled = false ``` ```toml -# On windows +# En Windows # $HOME\.starship\config.toml [sudo] @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +Por defecto, el módulo `swift` muestra la versión instalada de [Swift](https://swift.org/). El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El directorio actual contiene un archivo `Package.swift` - El directorio actual contiene un archivo con la extensión `.swift` @@ -3791,18 +3793,18 @@ By default the `swift` module shows the currently installed version of [Swift](h | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐦 '` | A format string representing the symbol of Swift | +| `symbol` | `'🐦 '` | Una cadena de formato que representa el símbolo de Swift | | `detect_extensions` | `['swift']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Package.swift']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'bold 202'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `swift` module. | +| `disabled` | `false` | Deshabilita el módulo `swift`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v5.2.4` | The version of `swift` | +| version | `v5.2.4` | La versión de `swift` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -3819,11 +3821,11 @@ format = 'via [🏎 $version](red bold)' ## Terraform -The `terraform` module shows the currently selected [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) and version. +El módulo `Terraform` muestra el [espacio de trabajo de Terraform](https://www.terraform.io/docs/language/state/workspaces.html) y la versión seleccionados actualmente. ::: tip -By default the Terraform version is not shown, since this is slow for current versions of Terraform when a lot of plugins are in use. If you still want to enable it, [follow the example shown below](#with-terraform-version). +Por defecto no se muestra la versión de Terraform, ya que esto es lento para las versiones actuales de Terraform cuando hay muchos plugins en uso. Si aún deseas activarlo, [sigue el ejemplo que se muestra a continuación](#with-terraform-version). ::: @@ -3838,21 +3840,21 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol$workspace]($style) '` | La cadena de formato para el módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💠'` | A format string shown before the terraform workspace. | +| `symbol` | `'💠'` | Una cadena de formato que se muestra antes del espacio de trabajo terraform. | | `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `['.terraform']` | Qué carpetas deberían activar este módulo. | | `style` | `'bold 105'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | Deshabilita el módulo `terraform`. | ### Variables -| Variable | Ejemplo | Descripción | -| --------- | ---------- | -------------------------------------- | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `default` | The current Terraform workspace | -| symbol | | Refleja el valor de la opción `symbol` | -| style\* | | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| --------------- | ---------- | ----------------------------------------- | +| version | `v0.12.24` | La versión de `terraform` | +| área de trabajo | `default` | El espacio de trabajo actual de Terraform | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -3878,33 +3880,33 @@ format = '[🏎💨 $workspace]($style) ' ## Time -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +El módulo `time` muestra la hora **local** actual. El valor de configuración de `format` es usado por el crate de [`chrono`](https://crates.io/crates/chrono) para controlar cómo se muestra la hora. Echa un vistazo a [los documentos de chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) para ver qué opciones están disponibles. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo está deshabilitado por defecto. Para activarlo, establece `disabled` como `false` en tu archivo de configuración. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | La cadena de formato para el módulo. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Opción | Predeterminado | Descripción | +| ----------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | La cadena de formato para el módulo. | +| `use_12hr` | `false` | Habilita el formato de 12 horas | +| `time_format` | see below | La [cadena de formato de chrono](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) utilizada para dar formato a la hora. | +| `style` | `'bold yellow'` | El estilo para el módulo de time | +| `utc_time_offset` | `'local'` | Establece el desplazamiento UTC a utilizar. Rango de -24 < x < 24. Permite a los flotantes acomodar los desplazamientos de zona horaria de 30/45 minutos. | +| `disabled` | `true` | Deshabilita el módulo `time`. | +| `time_range` | `'-'` | Establece el intervalo de tiempo durante el cual se mostrará el módulo. Las horas deben especificarse en formato de 24 horas | -If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. +If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. De lo contrario, el valor predeterminado es `'%T'`. Configurar manualmente `time_format` sobrescribirá la configuración `use_12hr`. ### Variables | Variable | Ejemplo | Descripción | | --------- | ---------- | ------------------------------------- | -| time | `13:08:10` | The current time. | +| tiempo | `13:08:10` | La hora actual. | | style\* | | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -3924,7 +3926,7 @@ time_range = '10:00:00-14:00:00' ## Username -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +El módulo `username` muestra el nombre de usuario activo. El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El usuario actual es root/admin - El usuario actual no es el mismo que el que está conectado @@ -3933,26 +3935,26 @@ The `username` module shows active user's username. The module will be shown if ::: tip -SSH connection is detected by checking environment variables `SSH_CONNECTION`, `SSH_CLIENT`, and `SSH_TTY`. If your SSH host does not set up these variables, one workaround is to set one of them with a dummy value. +La conexión SSH se detecta comprobando las variables de entorno `SSH_CONNECTION`, `SSH_CLIENT`, y `SSH_TTY`. Si tu host SSH no configura estas variables, una solución es establecer una de ellas con un valor tonto. ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ------------- | ----------------------- | ------------------------------------------- | -| `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 '` | El formato del módulo. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| Opción | Predeterminado | Descripción | +| ------------- | ----------------------- | ------------------------------------------------ | +| `style_root` | `'bold red'` | El estilo usado cuando el usuario es root/admin. | +| `style_user` | `'bold yellow'` | El estilo usado para usuarios no root. | +| `format` | `'[$user]($style) in '` | El formato del módulo. | +| `show_always` | `false` | Siempre muestra el módulo `username`. | +| `disabled` | `false` | Deshabilita el módulo `username`. | ### Variables -| Variable | Ejemplo | Descripción | -| -------- | ------------ | ------------------------------------------------------------------------------------------- | -| `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. | +| Variable | Ejemplo | Descripción | +| --------- | ------------ | --------------------------------------------------------------------------------------------------- | +| `style` | `'red bold'` | Refleja el valor de la opción `style_root` cuando root inició sesión y `style_user` por otra parte. | +| `usuario` | `'matchai'` | El ID de usuario conectado actualmente. | ### Ejemplo @@ -3969,7 +3971,7 @@ show_always = true ## Vagrant -The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `vagrant` muestra la versión instalada de [Vagrant](https://www.vagrantup.com/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo `Vagrantfile` @@ -3979,18 +3981,18 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'⍱ '` | A format string representing the symbol of Vagrant. | +| `symbol` | `'⍱ '` | Una cadena de formato que representa el símbolo de Vagrant. | | `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['Vagrantfile']` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'cyan bold'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `vagrant` module. | +| `disabled` | `false` | Deshabilita el módulo `vagrant`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ---------------- | -------------------------------------- | -| version | `Vagrant 2.2.10` | The version of `Vagrant` | +| version | `Vagrant 2.2.10` | La versión de `Vagrant` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -4007,7 +4009,7 @@ format = 'via [⍱ $version](bold white) ' ## V -The `vlang` module shows you your currently installed version of [V](https://vlang.io/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: +El módulo `vlang` te muestra la versión instalada de [V](https://vlang.io/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones: - El directorio actual contiene un archivo con la extensión `.v` - El directorio actual contiene un archivo `v.mod`, `vpkg.json` o `.vpkg-lock.json` @@ -4018,18 +4020,18 @@ The `vlang` module shows you your currently installed version of [V](https://vla | ------------------- | -------------------------------------------- | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'V '` | A format string representing the symbol of V | +| `symbol` | `'V '` | Una cadena de formato que representa el símbolo de V | | `detect_extensions` | `['v']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | | `style` | `'blue bold'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `vlang` module. | +| `disabled` | `false` | Deshabilita el módulo `vlang`. | ### Variables | Variable | Ejemplo | Descripción | | --------- | ------- | -------------------------------------- | -| version | `v0.2` | The version of `v` | +| version | `v0.2` | La versión de `v` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -4043,24 +4045,24 @@ format = 'via [V $version](blue bold) ' ## VCSH -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. +El módulo `vcsh` muestra el repositorio activo [VCSH](https://github.com/RichiH/vcsh) actual. El módulo sólo se mostrará si un repositorio está actualmente en uso. ### Opciones -| Opción | Predeterminado | Descripción | -| ---------- | -------------------------------- | ------------------------------------------------------ | -| `symbol` | `''` | The symbol used before displaying the repository name. | -| `style` | `'bold yellow'` | El estilo del módulo. | -| `format` | `'vcsh [$symbol$repo]($style) '` | El formato del módulo. | -| `disabled` | `false` | Disables the `vcsh` module. | +| Opción | Predeterminado | Descripción | +| ---------- | -------------------------------- | ------------------------------------------------------------ | +| `symbol` | `''` | El símbolo usado antes de mostrar el nombre del repositorio. | +| `style` | `'bold yellow'` | El estilo del módulo. | +| `format` | `'vcsh [$symbol$repo]($style) '` | El formato del módulo. | +| `disabled` | `false` | Deshabilita el módulo `vcsh`. | ### Variables -| Variable | Ejemplo | Descripción | -| --------- | ------------------------------------------- | -------------------------------------- | -| repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | -| symbol | | Refleja el valor de la opción `symbol` | -| style\* | `black bold dimmed` | Refleja el valor de la opción `style` | +| Variable | Ejemplo | Descripción | +| --------- | ----------------------------------------------------------- | -------------------------------------- | +| repo | `dotfiles` si está en un repositorio VCSH nombrado dotfiles | El nombre del repositorio activo | +| symbol | | Refleja el valor de la opción `symbol` | +| style\* | `black bold dimmed` | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). El módulo se mostrará si se cumplen alguna de las siguientes condiciones: - El directorio actual contiene un archivo `.zig` @@ -4085,9 +4087,9 @@ By default the the `zig` module shows the currently installed version of [Zig](h | ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. | | `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. | +| `symbol` | `'↯ '` | El símbolo usado antes de mostrar la versión de Zig. | | `style` | `'bold yellow'` | El estilo del módulo. | -| `disabled` | `false` | Disables the `zig` module. | +| `disabled` | `false` | Deshabilita el módulo `zig`. | | `detect_extensions` | `['zig']` | Qué extensiones deberían activar este módulo. | | `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. | | `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. | @@ -4096,7 +4098,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | Variable | Ejemplo | Descripción | | --------- | -------- | -------------------------------------- | -| version | `v0.6.0` | The version of `zig` | +| version | `v0.6.0` | La versión de `zig` | | symbol | | Refleja el valor de la opción `symbol` | | style\* | | Refleja el valor de la opción `style` | @@ -4111,11 +4113,11 @@ By default the the `zig` module shows the currently installed version of [Zig](h symbol = '⚡️ ' ``` -## Custom commands +## Comandos personalizados -The `custom` modules show the output of some arbitrary commands. +Los módulos `personalizados` muestran la salida de algunos comandos arbitrarios. -These modules will be shown if any of the following conditions are met: +Estos módulos se mostrarán si se cumple alguna de las siguientes condiciones: - El directorio actual contiene un archivo cuyo nombre está en `detect_files` - El directorio actual contiene un directorio cuyo nombre está en `detect_folders` @@ -4125,85 +4127,85 @@ These modules will be shown if any of the following conditions are met: ::: tip -Multiple custom modules can be defined by using a `.`. +Múltiples módulos personalizados pueden definirse usando un `.` (un punto). ::: ::: tip -The order in which custom modules are shown can be individually set by including `${custom.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`). By default, the `custom` module will simply show all custom modules in the order they were defined. +El orden en el que se muestran los módulos personalizados se puede establecer individualmente incluyendo `${custom.foo}` en el `format` de nivel superior (ya que incluye un punto, necesita usar `${...}`). Por defecto, el módulo `personalizado` simplemente mostrará todos los módulos personalizados en el orden en que fueron definidos. ::: ::: tip -[Issue #1252](https://github.com/starship/starship/discussions/1252) contains examples of custom modules. If you have an interesting example not covered there, feel free to share it there! +[El problema #1252](https://github.com/starship/starship/discussions/1252) contiene ejemplos de módulos personalizados. ¡Si tienes un ejemplo interesante no cubierto, siéntete libre de compartirlo ahí! ::: -::: warning Command output is printed unescaped to the prompt +::: warning la salida de comandos se imprime sin escapar al prompt -Whatever output the command generates is printed unmodified in the prompt. This means if the output contains special sequences that are interpreted by your shell they will be expanded when displayed. These special sequences are shell specific, e.g. you can write a command module that writes bash sequences, e.g. `\h`, but this module will not work in a fish or zsh shell. +Cualquiera que sea la salida que genere el comando se imprime sin modificar en el prompt. Esto significa que si la salida contiene secuencias especiales que son interpretadas por el intérprete, se expandirán cuando se muestre. Estas secuencias especiales son específicas del intérprete, por ejemplo, puedes escribir un módulo de comando que escribe secuencias de bash, por ejemplo, `\h`, pero este módulo no funcionará en el intérprete fish o zsh. -Format strings can also contain shell specific prompt sequences, e.g. [Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html), [Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html). +Las cadenas de formato también pueden contener secuencias específicas del intérprete, por ejemplo, [Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html), [Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html). ::: ### Opciones -| Opción | Predeterminado | Descripción | -| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `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` | | [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'` | El estilo del módulo. | -| `format` | `'[$symbol($output )]($style)'` | El formato del módulo. | -| `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. | -| `ignore_timeout` | `false` | Ignore global `command_timeout` setting and keep running external commands, no matter how long they take. | +| 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. | ### Variables -| Variable | Descripción | -| --------- | -------------------------------------- | -| output | The output of shell command in `shell` | -| symbol | Refleja el valor de la opción `symbol` | -| style\* | Refleja el valor de la opción `style` | +| Variable | Descripción | +| --------- | ----------------------------------------------------------- | +| salida | La salida del comando del intérprete de comandos en `shell` | +| symbol | Refleja el valor de la opción `symbol` | +| style\* | Refleja el valor de la opción `style` | *: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo #### Comando personalizado del intérprete de comandos -`shell` accepts a non-empty list of strings, where: +`shell` acepta una lista no vacía de cadenas, donde: - La primera cadena es la ruta al intérprete de comandos a usar para ejecutar el comando. - Otros argumentos siguientes son pasados al intérprete de comandos. If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows. -The `command` will be passed in on stdin. +El `comando` será pasado en stdin. -If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g. +Si no se da el `shell` o solo contiene un elemento y Starship detecta PowerShell los siguientes argumentos se añadirán automáticamente: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. Este comportamiento puede evitarse pasando explícitamente argumentos al intérprete de comandos, p.ej. ```toml shell = ['pwsh', '-Command', '-'] ``` -::: warning Make sure your custom shell configuration exits gracefully +::: warning Asegúrate de que tu configuración personalizada de shell salga con éxito -If you set a custom command, make sure that the default Shell used by starship will properly execute the command with a graceful exit (via the `shell` option). +Si estableces un comando personalizado, asegúrate de que el intérprete de comandos por defecto usado por Starship ejecutará correctamente el comando con una salida elegante (a través de la opción `shell`). -For example, PowerShell requires the `-Command` parameter to execute a one liner. Omitting this parameter might throw starship into a recursive loop where the shell might try to load a full profile environment with starship itself again and hence re-execute the custom command, getting into a never ending loop. +Por ejemplo, PowerShell requiere el parámetro `-Command` para ejecutar una sola línea. Omitir este parámetro puede arrojar a Starship a un bucle recursivo donde el intérprete de comandos podría intentar cargar un entorno de perfil completo con Starship en sí misma y volver a ejecutar el comando personalizado, entrando en un bucle infinito. -Parameters similar to `-NoProfile` in PowerShell are recommended for other shells as well to avoid extra loading time of a custom profile on every starship invocation. +Se recomiendan parámetros similares a `-NoProfile` en PowerShell para otros intérprete de comandos también para evitar tiempo extra de carga de un perfil personalizado en cada invocación de Starship. -Automatic detection of shells and proper parameters addition are currently implemented, but it's possible that not all shells are covered. [Please open an issue](https://github.com/starship/starship/issues/new/choose) with shell details and starship configuration if you hit such scenario. +La detección automática de intérpretes de comandos y la adición adecuada de parámetros están actualmente implementados, pero es posible que no todos los intérpretes de comandos estén cubiertos. Por favor, [abre un problema](https://github.com/starship/starship/issues/new/choose) con los detalles del intérprete de comandos y la configuración de Starship si te encuentras en tal escenario. ::: diff --git a/docs/es-ES/faq/README.md b/docs/es-ES/faq/README.md index 8fba5be7..e536bfb0 100644 --- a/docs/es-ES/faq/README.md +++ b/docs/es-ES/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings Esto producirá el registro de rastreo y un desglose de todos los módulos que tomaron más de 1 ms para ejecutarse o producir alguna salida. -Finalmente, si encuentras un error puedes usar el comando `bug-report` para crear un issue en Github. +Finalmente si encuentras un error puedes usar el comando `bug-report` para crear un issue en GitHub. ```sh starship bug-report diff --git a/docs/es-ES/guide/README.md b/docs/es-ES/guide/README.md index 45e455e7..2fe1d5b5 100644 --- a/docs/es-ES/guide/README.md +++ b/docs/es-ES/guide/README.md @@ -169,7 +169,7 @@ ### Prerequisitos -- 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)). +- 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)). ### Paso 1. Instalar Starship diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md index c293080c..6278cf88 100644 --- a/docs/fr-FR/config/README.md +++ b/docs/fr-FR/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Journalisation -Par défaut, Starship enregistre les avertissements et les erreurs dans un fichier nommé `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, où la clé de session correspond à une instance de votre terminal. Ceci peut cependant être modifié en utilisant la variable d'environnement `STARSHIP_CACHE`: +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. Ceci peut cependant être modifié en utilisant la variable d'environnement `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ Par exemple, `~/Dev/Nix/nixpkgs/pkgs` où `nixpkgs` est la racine du repo, et l' 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_leng` interagit avec les options de troncature d'une manière qui peut être surprenante au début : si elle n'est pas nulle, les composantes du chemin qui seraient normalement tronquées sont affichées à la place avec autant de caractères. Par exemple, le chemin `/built/this/city/on/rock/and/roll`, qui devrait normalement être affiché comme `rock/and/roll`, sera affiché sous la forme de `/b/t/c/o/rock/and/roll` avec `fish_style_pwd_dir_length = 1`--les composants de chemin qui seraient normalement supprimés sont affichés avec un caractère unique. Pour `fish_style_pwd_dir_length = 2`, ce serait `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_leng` interagit avec les options de troncature d'une manière qui peut être surprenante au début : si elle n'est pas nulle, les composantes du chemin qui seraient normalement tronquées sont affichées à la place avec autant de caractères. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. Pour `fish_style_pwd_dir_length = 2`, ce serait `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Options -| Option | Défaut | Description | -| ------------- | ------------------------------ | ----------------------------------------------------------------------------------- | -| `symbole` | `""` | Le symbole utilisé avant d'afficher la valeur de la variable. | -| `variable` | | La variable d'environnement à afficher. | -| `default` | | La valeur par défaut à afficher lorsque la variable sélectionnée n'est pas définie. | -| `format` | `"with [$env_value]($style) "` | Format du module. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Désactive le module `env_var`. | +| Option | Défaut | Description | +| ------------- | ------------------------------ | ------------------------------------------------------------------------------------ | +| `symbole` | `""` | Le symbole utilisé avant d'afficher la valeur de la variable. | +| `variable` | | La variable d'environnement à afficher. | +| `default` | | La valeur par défaut à afficher lorsque la variable sélectionnée n'est pas définie. | +| `format` | `"with [$env_value]($style) "` | Format du module. | +| `description` | `""` | La description du module qui est affichée lors de l’exécution de `starship explain`. | +| `disabled` | `false` | Désactive le module `env_var`. | ### Variables @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### Options -| Option | Défaut | Description | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | Format du module. Use `'$branch'` to refer to the current branch name. | -| `symbole` | `' '` | The symbol used before the branch name of the check-out in your current directory. | -| `style` | `'bold purple'` | Le style pour le module. | -| `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. | +| Option | Défaut | Description | +| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | Format du module. Use `'$branch'` to refer to the current branch name. | +| `symbole` | `' '` | The symbol used before the branch name of the check-out in your current directory. | +| `style` | `'bold purple'` | Le style pour le module. | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | Le symbole utilisé pour indiquer qu'un nom de branche a été tronqué. You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Variables @@ -1515,30 +1515,30 @@ truncation_symbol = '' ## Google Cloud (`gcloud`) -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. +Le module `gcloud` affiche la version de la commande [`gcloud`](https://cloud.google.com/sdk/gcloud) installée. Ceci est basé sur les fichiers `~/.config/gcloud/active_config` et `~/.config/gcloud/configurations/config_{CONFIG NAME}` et la variable d'environnement `CLOUDSDK_CONFIG`. ### Options -| Option | Défaut | Description | -| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Format du module. | -| `symbole` | `'☁️ '` | 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'` | Le style pour le module. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Option | Défaut | Description | +| ----------------- | ---------------------------------------------------------- | ----------------------------------------------------------- | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Format du module. | +| `symbole` | `'☁️ '` | Le symbole affiché avant le profil GCP actuel. | +| `region_aliases` | `{}` | Table des alias de région à afficher en plus du nom du GCP. | +| `project_aliases` | `{}` | Table des alias de projet à afficher en plus du nom du GCP. | +| `style` | `'bold blue'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `gcloud`. | ### Variables -| Variable | Exemple | 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` | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| --------- | ------------- | ----------------------------------------------------------------------------- | +| region | `us-central1` | La région GCP actuelle | +| account | `foo` | Le profil GCP actuel | +| domain | `exemple.com` | Le domaine du profil GCP actuel | +| project | | Le projet GCP actuel | +| active | `default` | Le nom de la configuration active écrit dans `~/.config/gcloud/active_config` | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -1586,33 +1586,33 @@ format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' very-long-project-name = 'vlpn' ``` -## Git Branch +## Branche Git -The `git_branch` module shows the active branch of the repo in your current directory. +Le module `git_branch` affiche la branche active du dépôt dans le dossier courant. ### Options -| Option | Défaut | 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) '` | Format du module. Use `'$branch'` to refer to the current branch name. | -| `symbole` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | Le style pour le module. | -| `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Option | Défaut | Description | +| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `always_show_remote` | `false` | Affiche le nom de la branche suivie distante, même si elle est égale au nom de la branche locale. | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | Format du module. Use `'$branch'` to refer to the current branch name. | +| `symbole` | `' '` | Une chaîne de format représentant le symbole de la branche git. | +| `style` | `'bold purple'` | Le style pour le module. | +| `truncation_length` | `2^63 - 1` | Tronque une branche git à `N` graphèmes. | +| `truncation_symbol` | `'…'` | Le symbole utilisé pour indiquer qu'un nom de branche a été tronqué. You can use `''` for no symbol. | +| `only_attached` | `false` | Ne montrer le nom de la branche que si elle n'est pas dans un état `HEAD` détachée. | +| `ignore_branches` | `[]` | Une liste de noms à ne pas afficher. Useful for 'master' or 'main'. | +| `disabled` | `false` | Désactive le module `git_branch`. | ### Variables -| Variable | Exemple | 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`. | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| ------------- | -------- | -------------------------------------------------------------------------------------------------------------------- | +| branch | `master` | Le nom de la branche actuelle, par défaut à `HEAD` s'il n'y a pas de branche actuelle (par exemple `HEAD` détachée). | +| remote_name | `origin` | Le nom du dépôt distant. | +| remote_branch | `master` | Le nom de la branche suivie sur `remote_name`. | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -1630,26 +1630,26 @@ ignore_branches = ['master', 'main'] ## Commit Git -The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. +Le module `git_commit` affiche le hash du commit courant et l’étiquette (s’il y en a) du dépôt dans le dossier courant. ### Options | Option | Défaut | Description | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | La longueur du hash affiché du commit git. | | `format` | `'[\($hash$tag\)]($style) '` | Format du module. | | `style` | `'bold green'` | Le style pour le module. | -| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state | -| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. | +| `only_detached` | `true` | Ne montrer le hash du commit qu'en mode `HEAD` détachée. | +| `tag_disabled` | `true` | Désactive l'affichage des informations du tag dans le module `git_commit`. | | `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. | -| `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `tag_symbol` | `' 🏷 '` | Symbole préfixant les informations affichées concernant le tag | +| `disabled` | `false` | Désactive le module `git_commit`. | ### Variables | Variable | Exemple | Description | | --------- | --------- | -------------------------------------------- | -| hash | `b703eb3` | The current git commit hash | +| hash | `b703eb3` | Le hash du commit git actuel | | tag | `v1.0.0` | The tag name if showing tag info is enabled. | | style\* | | Reflète la valeur de l'option `style` | @@ -1665,32 +1665,32 @@ commit_hash_length = 4 tag_symbol = '🔖 ' ``` -## Git State +## État Git -The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too. +Le module `git_state` s'affichera dans les répertoires qui font partie d'un dépôt git, dans lesquels une opération est en cours, comme : _REBASING_, _BISECTING_, etc. S'il y a des informations de progression (par exemple, REBASING 3/10), ces informations seront également affichées. ### Options -| Option | Défaut | 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. | -| `revert` | `'REVERTING'` | A format string displayed when a `revert` is in progress. | -| `cherry_pick` | `'CHERRY-PICKING'` | A format string displayed when a `cherry-pick` is in progress. | -| `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'` | Le style pour le module. | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Format du module. | -| `disabled` | `false` | Disables the `git_state` module. | +| Option | Défaut | Description | +| -------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `rebase` | `'REBASING'` | Une chaîne de format affichée lorsqu'un `rebase` est en cours. | +| `merge` | `'MERGING'` | Une chaîne de format affichée quand un `merge` est en cours. | +| `revert` | `'REVERTING'` | Une chaîne de format affichée quand un `revert` est en cours. | +| `cherry_pick` | `'CHERRY-PICKING'` | Une chaîne de format affichée quand un `cherry-pick` est en cours. | +| `bisect` | `'BISECTING'` | Une chaîne de format affichée quand un `bisect` est en cours. | +| `am` | `'AM'` | Une chaîne de format affichée lorsqu'un `apply-mailbox` (`git am`) est en cours. | +| `am_or_rebase` | `'AM/REBASE'` | Une chaîne de format affichée lorsqu'une `apply-mailbox` ou un `rebase` est en cours sans pouvoir les différencier. | +| `style` | `'bold yellow'` | Le style pour le module. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Format du module. | +| `disabled` | `false` | Désactive le module `git_state`. | ### Variables | Variable | Exemple | Description | | ---------------- | ---------- | ------------------------------------- | -| state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | +| state | `REBASING` | L'état actuel du dépôt | +| progress_current | `1` | Progression de l'opération en cours | +| progress_total | `2` | Progression maximale de l'opération | | style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -1705,34 +1705,34 @@ format = '[\($state( $progress_current of $progress_total)\)]($style) ' cherry_pick = '[🍒 PICKING](bold red)' ``` -## Git Metrics +## Métriques Git -The `git_metrics` module will show the number of added and deleted lines in the current git repository. +Le module `git_metrics` affiche le nombre de lignes ajoutées et supprimées dans le dépôt Git courant. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: ### Options -| Option | Défaut | 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) )'` | Format du module. | -| `disabled` | `true` | Disables the `git_metrics` module. | +| Option | Défaut | Description | +| -------------------- | ------------------------------------------------------------ | ----------------------------------------------------- | +| `added_style` | `'bold green'` | Le style pour le compte des ajouts. | +| `deleted_style` | `'bold red'` | Le style pour le compte des suppressions. | +| `only_nonzero_diffs` | `true` | Afficher le statut seulement pour les items modifiés. | +| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | Format du module. | +| `disabled` | `true` | Désactive le module `git_metrics`. | ### Variables -| Variable | Exemple | 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` | +| Variable | Exemple | Description | +| ----------------- | ------- | --------------------------------------------- | +| added | `1` | Le nombre de lignes ajoutées | +| deleted | `2` | Le nombre de lignes supprimées | +| added_style\* | | Possède la valeur de l’option `added_style` | +| deleted_style\* | | Possède la valeur de l’option `deleted_style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -1748,66 +1748,66 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Statut Git -The `git_status` module shows symbols representing the state of the repo in your current directory. +Le module `git_status` affiche des symboles représentant l’état du dépôt dans le dossier courant. ::: tip -The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths. +Le module Statut Git est très lent dans les dossiers Windows (par exemple sous `/mnt/c/`) dans un environnement WSL. Vous pouvez désactiver le module ou utiliser l’option `windows_starship` pour utiliser un exécutable Starship natif pour calculer le `git_status` pour ces chemins. ::: ### Options -| Option | Défaut | Description | -| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | -| `ahead` | `'⇡'` | The format of `ahead` | -| `behind` | `'⇣'` | The format of `behind` | -| `diverged` | `'⇕'` | The format of `diverged` | -| `up_to_date` | `''` | The format of `up_to_date` | -| `untracked` | `'?'` | The format of `untracked` | -| `stashed` | `'$'` | The format of `stashed` | -| `modified` | `'!'` | The format of `modified` | -| `staged` | `'+'` | The format of `staged` | -| `renamed` | `'»'` | The format of `renamed` | -| `deleted` | `'✘'` | The format of `deleted` | -| `style` | `'bold red'` | Le style pour le module. | -| `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. | +| Option | Défaut | Description | +| ------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | Le format par défaut du module `git_status` | +| `conflicted` | `'='` | Cette branche a des conflits de fusion. | +| `ahead` | `'⇡'` | Le format de `ahead` | +| `behind` | `'⇣'` | Le format de `behind` | +| `diverged` | `'⇕'` | Le format de `diverged` | +| `up_to_date` | `''` | The format de `up_to_date` | +| `untracked` | `'?'` | Le format de `untracked` | +| `stashed` | `'$'` | Le format de `stashed` | +| `modified` | `'!'` | Le format de `modified` | +| `staged` | `'+'` | Le format de `staged` | +| `renamed` | `'»'` | Le format de `renamed` | +| `deleted` | `'✘'` | Le format de `deleted` | +| `style` | `'bold red'` | Le style pour le module. | +| `ignore_submodules` | `false` | Ignorer les changements des sous-modules. | +| `disabled` | `false` | Désactive le module `git_status`. | +| `windows_starship` | | Utiliser ce chemin (Linux) vers un exécutable Starship Windows pour afficher le `git_status` pour les chemins Windows dans WSL. | ### Variables -The following variables can be used in `format`: +Les variables suivantes peuvent être utilisées pour la valeur de `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. | -| `conflicted` | Displays `conflicted` when this branch has merge conflicts. | -| `untracked` | Displays `untracked` when there are untracked files in the working directory. | -| `stashed` | Displays `stashed` when a stash exists for the local repository. | -| `modified` | Displays `modified` when there are file modifications in the working directory. | -| `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\* | Reflète la valeur de l'option `style` | +| Variable | Description | +| -------------- | --------------------------------------------------------------------------------------------------------------------- | +| `all_status` | Raccourci pour `$conflicted$stashed$deleted$renamed$modified$staged$untracked` | +| `ahead_behind` | Affiche la chaine de formatage `diverged`, `ahead`, `behind` ou `up_to_date` en se basant sur l’état actuel du dépôt. | +| `conflicted` | Affiche `conflicted` lorsque la branche courante a des conflits de fusion. | +| `untracked` | Affiche `untracked` lorsqu'il y a des fichiers non suivis dans le répertoire de travail. | +| `stashed` | Affiche `stashed` lorsqu'une remise existe pour le dépôt local. | +| `modified` | Affiche `modified` lorsqu'il y a des fichiers modifiés dans le répertoire de travail. | +| `staged` | Affiche `staged` lorsqu'un nouveau fichier a été ajouté à la zone de validation. | +| `renamed` | Affiche `renamed` lorsqu'un fichier renommé a été ajouté à la zone de validation. | +| `deleted` | Affiche `deleted` lorsque la suppression d'un fichier a été ajoutée à la zone de validation. | +| style\* | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style -The following variables can be used in `diverged`: +Les variables suivantes peuvent être utilisées pour la valeur de `diverged`: -| Variable | Description | -| -------------- | ---------------------------------------------- | -| `ahead_count` | Number of commits ahead of the tracking branch | -| `behind_count` | Number of commits behind the tracking branch | +| Variable | Description | +| -------------- | ------------------------------------------------- | +| `ahead_count` | Nombre de commits en avance sur la branche suivie | +| `behind_count` | Nombre de commits en retard sur la branche suivie | -The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: +Les variables suivantes peuvent êtres utilisées dans `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` et `deleted`: -| Variable | Description | -| -------- | ------------------------ | -| `count` | Show the number of files | +| Variable | Description | +| -------- | --------------------------------------- | +| `count` | Affiche le nombre de fichiers concernés | ### Exemple @@ -1828,7 +1828,7 @@ renamed = '👅' deleted = '🗑' ``` -Show ahead/behind count of the branch being tracked +Afficher le nombre de commits en avance/en retard par rapport à la branche suivie ```toml # ~/.config/starship.toml @@ -1839,7 +1839,7 @@ diverged = '⇕⇡${ahead_count}⇣${behind_count}' behind = '⇣${count}' ``` -Use Windows Starship executable on Windows paths in WSL +Utiliser un exécutable Starship Windows pour les chemins Windows dans WSL ```toml # ~/.config/starship.toml @@ -1850,7 +1850,7 @@ 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/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `golang` affiche la version de [Go](https://golang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `go.mod` - Le dossier courant contient un fichier `go.sum` @@ -1868,18 +1868,18 @@ The `golang` module shows the currently installed version of [Go](https://golang | ------------------------------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐹 '` | A format string representing the symbol of Go. | +| `symbole` | `'🐹 '` | Une chaîne de caractères représentant le symbole de Go. | | `detect_extensionsdetect_extensions` | `['go']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Les fichiers qui activent ce module. | | `detect_folders` | `['Godeps']` | Les dossiers qui activent ce module. | | `style` | `'bold cyan'` | Le style pour le module. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Désactive le module `golang`. | ### Variables | Variable | Exemple | Description | | --------- | --------- | -------------------------------------- | -| version | `v1.12.1` | The version of `go` | +| version | `v1.12.1` | La version de `go` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -1963,7 +1963,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c ## Haskell -The `haskell` module finds the current selected GHC version and/or the selected Stack snapshot. +Le module `haskell` affiche la version de GHC et/ou l’instantané Stack sélectionnée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: @@ -1972,25 +1972,25 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie: ### Options -| Option | Défaut | Description | -| ------------------------------------ | ------------------------------------ | -------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | Format du module. | -| `symbole` | `'λ '` | A format string representing the symbol of Haskell | -| `detect_extensionsdetect_extensions` | `['hs', 'cabal', 'hs-boot']` | Les extensions qui déclenchent ce module. | -| `detect_files` | `['stack.yaml', 'cabal.project']` | Les fichiers qui activent ce module. | -| `detect_folders` | `[]` | Les dossiers qui activent ce module. | -| `style` | `'bold purple'` | Le style pour le module. | -| `disabled` | `false` | Disables the `haskell` module. | +| Option | Défaut | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Format du module. | +| `symbole` | `'λ '` | Une chaîne de format représentant le symbole de Haskell | +| `detect_extensionsdetect_extensions` | `['hs', 'cabal', 'hs-boot']` | Les extensions qui déclenchent ce module. | +| `detect_files` | `['stack.yaml', 'cabal.project']` | Les fichiers qui activent ce module. | +| `detect_folders` | `[]` | Les dossiers qui activent ce module. | +| `style` | `'bold purple'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `haskell`. | ### Variables -| Variable | Exemple | 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 | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| -------------- | ----------- | -------------------------------------------------------------------------------------------- | +| version | | `ghc_version` ou `snapshot` en fonction de si le dossier courant est un project Stack ou pas | +| snapshot | `lts-18.12` | L’instantané de Stack sélectionné | +| ghc\_version | `9.2.1` | Version de GHC installée | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -2011,7 +2011,7 @@ The `haxe` module shows the currently installed version of [Haxe](https://haxe.o | `detect_extensionsdetect_extensions` | `["hx", "hxml"]` | Les extensions qui déclenchent ce module. | | `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Les fichiers qui activent ce module. | | `detect_folders` | `[".haxelib", "haxe_libraries"]` | Quels dossiers devraient activer ce module. | -| `symbole` | `"⌘ "` | A format string representing the symbol of Helm. | +| `symbole` | `"⌘ "` | Une chaîne de format représentant le symbole de Helm. | | `style` | `"bold fg:202"` | Le style pour le module. | | `disabled` | `false` | Disables the `haxe` module. | @@ -2036,7 +2036,7 @@ format = "via [⌘ $version](bold fg:202) " ## Helm -The `helm` module shows the currently installed version of [Helm](https://helm.sh/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `helm` affiche la version de [Helm](https://helm.sh/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `helmfile.yaml` - Le dossier courant contient un fichier `Chart.yaml` @@ -2050,15 +2050,15 @@ The `helm` module shows the currently installed version of [Helm](https://helm.s | `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. | | `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | -| `symbole` | `'⎈ '` | A format string representing the symbol of Helm. | +| `symbole` | `'⎈ '` | Une chaîne de format représentant le symbole de Helm. | | `style` | `'bold white'` | Le style pour le module. | -| `disabled` | `false` | Disables the `helm` module. | +| `disabled` | `false` | Désactive le module `helm`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v3.1.1` | The version of `helm` | +| version | `v3.1.1` | La version de `helm` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2075,24 +2075,24 @@ format = 'via [⎈ $version](bold white) ' ## Nom d'hôte -The `hostname` module shows the system hostname. +Le module `hostname` affiche le nom d’hôte du système system. ### Options -| Option | Défaut | 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 '` | Format du module. | -| `style` | `'bold dimmed green'` | Le style pour le module. | -| `disabled` | `false` | Disables the `hostname` module. | +| Option | Défaut | Description | +| ------------ | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | Afficher uniquement le nom d'hôte lorsque vous êtes connecté à une session SSH. | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | Chaîne à laquelle le nom d'hôte est coupé, après la première correspondance. `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | Format du module. | +| `style` | `'bold dimmed green'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `hostname`. | ### Variables | Variable | Exemple | Description | | ---------- | ---------- | ----------------------------------------------------- | -| hostname | `computer` | The hostname of the computer | +| nom d'hôte | `computer` | Le nom d’hôte de l’ordinateur | | style\* | | Reflète la valeur de l'option `style` | | ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | @@ -2112,29 +2112,29 @@ disabled = false ## Java -The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `java` affiche la version de [Java](https://www.oracle.com/java/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - Le dossier courant contient un fichier avec l’extension `.java`, `.class`, `.gradle`, `.jar`, `.clj` ou `.cljc` ### Options -| Option | Défaut | Description | -| ------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | -| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. | -| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `detect_extensionsdetect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Les extensions qui déclenchent ce module. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | Les fichiers qui activent ce module. | -| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | -| `symbole` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | Le style pour le module. | -| `disabled` | `false` | Disables the `java` module. | +| Option | Défaut | Description | +| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | +| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. | +| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | +| `detect_extensionsdetect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Les extensions qui déclenchent ce module. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Les fichiers qui activent ce module. | +| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | +| `symbole` | `'☕ '` | Une chaîne de caractères représentant le symbole de Java | +| `style` | `'red dimmed'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `java`. | ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| version | `v14` | The version of `java` | +| version | `v14` | La version de `java` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2151,9 +2151,9 @@ symbol = '🌟 ' ## Jobs -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +Le module `jobs` affiche le nombre de tâches en cours. Le module ne sera affiché que s'il y a des tâches de fond. Le module affichera le nombre de tâches en cours d’exécution s’il y en a au moins 2, ou plus que la valeur `threshold`, si elle existe. Le monde affichera un symbole s’il y a au moins 1 tâche, ou plus que la valeur de `symbol_threshold`, si elle existe. Vous pouvez définir les deux valeurs à 0 pour _toujours_ montrer le symbole et le nombre de tâches, même s’il n’y a aucune tâche en cours d’exécution. -The default functionality is: +Le fonctionnement par défaut est: - 0 tâche -> Rien n’est affiché. - 1 tâche -> `symbol` est affiché. @@ -2161,35 +2161,35 @@ The default functionality is: ::: warning -This module is not supported on tcsh and nu. +Ce module n'est pas pris en charge sur tcsh et nu. ::: ::: warning -The `threshold` option is deprecated, but if you want to use it, the module will show the number of jobs running if there is more than 1 job, or more than the `threshold` config value, if it exists. If `threshold` is set to 0, then the module will also show when there are 0 jobs running. +L’option `threshold` est dépréciée, mais si vous voulez l’utiliser, le module affichera le nombre de tâches en cours s’il y a plus d'une tâche, ou plus que la valeur de `threshold`, si elle existe. Si `threshold` est définie à 0, alors le module s'affichera également lorsqu'il n'y a pas de tâches de fond en cours. ::: ### Options -| Option | Défaut | 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) '` | Format du module. | -| `symbole` | `'✦'` | The string used to represent the `symbol` variable. | -| `style` | `'bold blue'` | Le style pour le module. | -| `disabled` | `false` | Disables the `jobs` module. | +| Option | Défaut | Description | +| ------------------ | ----------------------------- | ------------------------------------------------------------------------- | +| `threshold`* | `1` | Afficher le nombre de jobs si dépassé. | +| `symbol_threshold` | `1` | Affiche `symbol` si le nombre de tâches vaut au moins `symbol_threshold`. | +| `number_threshold` | `2` | Affiche le nombre de tâches s’il y en a au moins `number_threshold`. | +| `format` | `'[$symbol$number]($style) '` | Format du module. | +| `symbole` | `'✦'` | La chaine utilisée pour représenter la variable `symbole`. | +| `style` | `'bold blue'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `jobs`. | -*: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. +*: Cette option is dépréciée, utilisez les options `number_threshold` et `symbol_threshold` à la place. ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| number | `1` | The number of jobs | +| number | `1` | Le nombre de tâches | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2208,7 +2208,7 @@ symbol_threshold = 0 ## Julia -The `julia` module shows the currently installed version of [Julia](https://julialang.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `julia` affiche la version de [Julia](https://julialang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `Project.toml` - Le dossier courant contient un fichier `Manifest.toml` @@ -2223,15 +2223,15 @@ The `julia` module shows the currently installed version of [Julia](https://juli | `detect_extensionsdetect_extensions` | `['jl']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Project.toml', 'Manifest.toml']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | -| `symbole` | `'ஃ '` | A format string representing the symbol of Julia. | +| `symbole` | `'ஃ '` | Une chaîne de caractères représentant le symbole de Julia. | | `style` | `'bold purple'` | Le style pour le module. | -| `disabled` | `false` | Disables the `julia` module. | +| `disabled` | `false` | Désactive le module `Julia`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v1.4.0` | The version of `julia` | +| version | `v1.4.0` | La version de `julia` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2248,7 +2248,7 @@ symbol = '∴ ' ## Kotlin -The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `kotlin` affiche la version de [Kotlin](https://kotlinlang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `.kt` ou `.kts` @@ -2261,16 +2261,16 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko | `detect_extensionsdetect_extensions` | `['kt', 'kts']` | Les extensions qui déclenchent ce module. | | `detect_files` | `[]` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | -| `symbole` | `'🅺 '` | A format string representing the symbol of Kotlin. | +| `symbole` | `'🅺 '` | Une chaîne de caractères représentant le symbole de Kotlin. | | `style` | `'bold blue'` | Le style pour le module. | -| `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `kotlin` module. | +| `kotlin_binary` | `'kotlin'` | Configure le binaire kotlin que Starship exécute lors de l'obtention de la version. | +| `disabled` | `false` | Désactive le module `kotlin`. | ### Variables | Variable | Exemple | Description | | --------- | --------- | -------------------------------------- | -| version | `v1.4.21` | The version of `kotlin` | +| version | `v1.4.21` | La version de `kotlin` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2295,11 +2295,11 @@ kotlin_binary = 'kotlinc' ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Afficher le nom du [contexte Kubernetes](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) courant, et, si défini, l’espace de nom, l’utilisateur, et le cluster depuis le fichier kubeconfig. L'espace de noms doit être défini dans le fichier kubeconfig, ce qui peut être fait via `kubectl config set-context starship-cluster --namespace astronaut`. De même, l'utilisateur et l'instance peuvent être définies avec `kubectl config set-context starship-context --user starship-user` et `kubectl config set-context starship-context --cluster starship-cluster`. Si la variable d'environnement `$KUBECONFIG` est définie, le module l'utilisera, sinon il utilisera le fichier `~/.kube/config`. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2307,28 +2307,28 @@ When the module is enabled it will always be active, unless any of `detect_exten ### Options -| Option | Défaut | Description | -| ------------------------------------ | ---------------------------------------------------- | --------------------------------------------------------------------- | -| `symbole` | `'☸ '` | A format string representing the symbol displayed before the Cluster. | -| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Format du module. | -| `style` | `'cyan bold'` | Le style pour le module. | -| `context_aliases` | `{}` | Table of context aliases to display. | -| `user_aliases` | `{}` | Table of user aliases to display. | -| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. | -| `detect_files` | `[]` | Les fichiers qui activent ce module. | -| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| Option | Défaut | Description | +| ------------------------------------ | ---------------------------------------------------- | ---------------------------------------------------------------------- | +| `symbole` | `'☸ '` | Une chaîne de format représentant le symbole affiché avant le Cluster. | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Format du module. | +| `style` | `'cyan bold'` | Le style pour le module. | +| `context_aliases` | `{}` | Tableau des alias de contexte à afficher. | +| `user_aliases` | `{}` | Table of user aliases to display. | +| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. | +| `detect_files` | `[]` | Les fichiers qui activent ce module. | +| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. | +| `disabled` | `true` | Désactiver le module `kubernetes`. | ### Variables -| Variable | Exemple | 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 | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| --------- | -------------------- | ------------------------------------------------ | +| context | `starship-context` | Le nom du contexte de kubernetes actuel | +| namespace | `starship-namespace` | Si défini, l'espace de noms de kubernetes actuel | +| user | `starship-user` | Si défini, l’utilisateur de kubernetes actuel | +| cluster | `starship-cluster` | Si défini, le cluster de kubernetes actuel | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2363,32 +2363,32 @@ detect_files = ['k8s'] Additional to simple aliasing, `context_aliases` and `user_aliases` also supports extended matching and renaming using regular expressions. -The regular expression must match on the entire kube context, capture groups can be referenced using `$name` and `$N` in the replacement. This is more explained in the [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace) documentation. +L’expression rationnelle doit correspondre au contexte kube entier, et des groupes de capture peuvent être référencés en utilisant `$name` et `$N` dans la valeur de remplacement. Ceci est expliqué plus en détails dans la documentation de [la crate regex](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace). -Long and automatically generated cluster names can be identified and shortened using regular expressions: +Les noms de cluster long ou générés automatiquement peuvent être identifiés et raccourcis en utilisant des expressions rationnelles: ```toml [kubernetes.context_aliases] # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## Saut de ligne -The `line_break` module separates the prompt into two lines. +Le module `line_break` sépare l'invite en deux lignes. ### Options -| Option | Défaut | Description | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Option | Défaut | Description | +| ---------- | ------- | ----------------------------------------------------------------------- | +| `disabled` | `false` | Désactive le module `line_break`, mettant l'invite sur une seule ligne. | ### Exemple @@ -2399,24 +2399,24 @@ The `line_break` module separates the prompt into two lines. disabled = true ``` -## Local IP +## IP locale -The `localip` module shows the IPv4 address of the primary network interface. +Le module `localip` affiche l’adresse IPv4 de l’interface réseau principale. ### Options -| Option | Défaut | Description | -| ---------- | ------------------------- | ------------------------------------------------------ | -| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `'[$localipv4]($style) '` | Format du module. | -| `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `true` | Disables the `localip` module. | +| Option | Défaut | Description | +| ---------- | ------------------------- | ----------------------------------------------------------------- | +| `ssh_only` | `true` | Afficher uniquenement l’adresse IP si connecté à une session SSH. | +| `format` | `'[$localipv4]($style) '` | Format du module. | +| `style` | `'bold yellow'` | Le style pour le module. | +| `disabled` | `true` | Désactive le module `localip`. | ### Variables | Variable | Exemple | Description | | --------- | ------------ | ------------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | +| localipv4 | 192.168.1.13 | Contient l’adresse IPv4 principale | | style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -2434,7 +2434,7 @@ disabled = false ## Lua -The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `lua` affiche la version de [Lua](http://www.lua.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `.lua-version` - Le dossier courant contient un dossier `lua` @@ -2446,19 +2446,19 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🌙 '` | A format string representing the symbol of Lua. | +| `symbole` | `'🌙 '` | Une chaîne de caractères représentant le symbole de Lua. | | `detect_extensionsdetect_extensions` | `['lua']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['.lua-version']` | Les fichiers qui activent ce module. | | `detect_folders` | `['lua']` | Les dossiers qui activent ce module. | | `style` | `'bold blue'` | Le style pour le module. | -| `lua_binary` | `'lua'` | Configures the lua binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `lua` module. | +| `lua_binary` | `'lua'` | Configure le binaire lua que Starship exécute lors de l'obtention de la version. | +| `disabled` | `false` | Désactive le module `lua`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v5.4.0` | The version of `lua` | +| version | `v5.4.0` | La version de `lua` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2473,40 +2473,40 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## Utilisation mémoire -The `memory_usage` module shows current system memory and swap usage. +Le module `memory_usage` affiche la mémoire système actuelle et l'utilisation de swap. -By default the swap usage is displayed if the total system swap is non-zero. +Par défaut, l'utilisation du swap est affichée si le swap total du système n'est pas nul. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: ### Options -| Option | Défaut | Description | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Format du module. | -| `symbole` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | Le style pour le module. | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Option | Défaut | Description | +| ----------- | ----------------------------------------------- | ------------------------------------------------------------------------------ | +| `threshold` | `75` | Masquer l'utilisation de la mémoire à moins qu'elle ne dépasse ce pourcentage. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Format du module. | +| `symbole` | `'🐏'` | Le symbole utilisé avant d'afficher l'utilisation de la mémoire. | +| `style` | `'bold dimmed white'` | Le style pour le module. | +| `disabled` | `true` | Désactiver le module `memory_usage`. | ### Variables -| Variable | Exemple | 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. | -| symbole | `🐏` | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| ---------------- | ------------- | ------------------------------------------------------------------------------- | +| ram | `31GiB/65GiB` | La mémoire système utilisée/totale . | +| ram_pct | `48%` | Le pourcentage de la mémoire du système actuel. | +| swap\*\* | `1GiB/4GiB` | La taille de la mémoire swap du fichier de mémoire swap du système courant. | +| swap_pct\*\* | `77%` | Le poucentage de la mémoire swap du fichier de mémoire swap du système courant. | +| symbole | `🐏` | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `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 +*: Cette variable peut uniquement être utilisée dans une chaine de style *\*: Les informations sur le fichier SWAP est uniquement affichée si détectée sur le système courant ### Exemple @@ -2559,26 +2559,26 @@ symbol = ' ' style = 'bold dimmed green' ``` -## Mercurial Branch +## Branche Mercurial The `hg_branch` module shows the active branch and topic of the repo in your current directory. ### Options -| Option | Défaut | Description | -| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | -| `symbole` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `style` | `'bold purple'` | Le style pour le module. | -| `format` | `'on [$symbol$branch(:$topic)]($style) '` | Format du module. | -| `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. | +| Option | Défaut | Description | +| ------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `symbole` | `' '` | Le symbole utilisé avant le marque-page hg ou le nom de la branche du dépôt dans votre répertoire courant. | +| `style` | `'bold purple'` | Le style pour le module. | +| `format` | `'on [$symbol$branch(:$topic)]($style) '` | Format du module. | +| `truncation_length` | `2^63 - 1` | Truncates the hg branch / topic name to `N` graphemes | +| `truncation_symbol` | `'…'` | Le symbole utilisé pour indiquer qu'un nom de branche a été tronqué. | +| `disabled` | `true` | Désactive le module `hg_branch`. | ### Variables | Variable | Exemple | Description | | --------- | --------- | -------------------------------------- | -| branch | `master` | The active mercurial branch | +| branch | `master` | La branche mercuriale active | | topic | `feature` | The active mercurial topic | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2598,7 +2598,7 @@ truncation_symbol = '' ## Nim -The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `nim` affiche la version de [Nim](https://nim-lang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `nim.cfg` - Le dossier courant contient un fichier avec l’extension `.nim` @@ -2609,20 +2609,20 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Option | Défaut | Description | | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | Format du module | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'👑 '` | The symbol used before displaying the version of Nim. | +| `symbole` | `'👑 '` | Le symbole utilisé avant d'afficher la version de Nim. | | `detect_extensionsdetect_extensions` | `['nim', 'nims', 'nimble']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['nim.cfg']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `false` | Disables the `nim` module. | +| `disabled` | `false` | Désactive le module `nim`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v1.2.0` | The version of `nimc` | +| version | `v1.2.0` | La version de `nim` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2640,27 +2640,27 @@ symbol = '🎣 ' ## Nix-shell -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. +Le module `nix_shell` affiche la version de l’environnement [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html). Ce module s’affichera quand vous serez à l’intérieur d’un environnement nix-shell. ### Options | Option | Défaut | Description | | ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | | `format` | `'via [$symbol$state( \($name\))]($style) '` | Format du module. | -| `symbole` | `'❄️ '` | A format string representing the symbol of nix-shell. | +| `symbole` | `'❄️ '` | Une chaîne de format représentant le symbole de nix-shell. | | `style` | `'bold blue'` | Le style pour le module. | -| `impure_msg` | `'impure'` | A format string shown when the shell is impure. | -| `pure_msg` | `'pure'` | A format string shown when the shell is pure. | +| `impure_msg` | `'impure'` | Une chaîne de format affichée lorsque le shell est impur. | +| `pure_msg` | `'pure'` | Une chaîne de format affichée lorsque le shell est pur. | | `unknown_msg` | `''` | A format string shown when it is unknown if the shell is pure/impure. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | Désactive le module `nix_shell`. | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| state | `pure` | The state of the nix-shell | -| name | `lorri` | The name of the nix-shell | +| state | `pure` | L’état du nix-shell | +| name | `lorri` | Le nom du nix-shell | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2681,7 +2681,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) ' ## Node.js -The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `nodejs` affiche la version de [Node.js](https://nodejs.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `package.json` - Le dossier courant contient un fichier `.node-version` @@ -2692,23 +2692,23 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n ### Options -| Option | Défaut | Description | -| ------------------------------------ | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | Format du module. | -| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `' '` | A format string representing the symbol of Node.js. | -| `detect_extensionsdetect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Les extensions qui déclenchent ce module. | -| `detect_files` | `['package.json', '.node-version']` | Les fichiers qui activent ce module. | -| `detect_folders` | `['node_modules']` | Les dossiers qui activent ce module. | -| `style` | `'bold green'` | Le style pour le module. | -| `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. | +| Option | Défaut | Description | +| ------------------------------------ | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Format du module. | +| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | +| `symbole` | `' '` | Une chaîne de caractères représentant le symbole de Node.js. | +| `detect_extensionsdetect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Les extensions qui déclenchent ce module. | +| `detect_files` | `['package.json', '.node-version']` | Les fichiers qui activent ce module. | +| `detect_folders` | `['node_modules']` | Les dossiers qui activent ce module. | +| `style` | `'bold green'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `nodejs`. | +| `not_capable_style` | `bold red` | Le style du module quand une propriété engines dans le package.json ne correspond pas à la version Node.js. | ### Variables | Variable | Exemple | Description | | --------- | ---------- | -------------------------------------- | -| version | `v13.12.0` | The version of `node` | +| version | `v13.12.0` | La version de `node` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2725,7 +2725,7 @@ format = 'via [🤖 $version](bold green) ' ## OCaml -The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `ocaml` affiche la version de [OCaml](https://ocaml.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier avec l’extension `.opam` ou un dossier `_opam` - Le répertoire courant contient un répertoire `esy.lock` @@ -2740,20 +2740,20 @@ The `ocaml` module shows the currently installed version of [OCaml](https://ocam | ------------------------------------ | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | La chaîne de format pour le module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐫 '` | 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. | +| `symbole` | `'🐫 '` | Le symbole utilisé avant d'afficher la version de OCaml. | +| `global_switch_indicator` | `''` | La chaîne de caractères utilisée pour représenter le commutateur OPAM global. | +| `local_switch_indicator` | `'*'` | La chaîne de caractères utilisée pour représenter le commutateur OPAM local. | | `detect_extensionsdetect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Les fichiers qui activent ce module. | | `detect_folders` | `['_opam', 'esy.lock']` | Les dossiers qui activent ce module. | | `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `false` | Disables the `ocaml` module. | +| `disabled` | `false` | Désactive le module `ocaml`. | ### Variables | Variable | Exemple | Description | | ---------------- | ------------ | ----------------------------------------------------------------- | -| version | `v4.10.0` | The version of `ocaml` | +| version | `v4.10.0` | La version de `ocaml` | | switch_name | `my-project` | The active OPAM switch | | switch_indicator | | Mirrors the value of `indicator` for currently active OPAM switch | | symbole | | Reflète la valeur de l'option `symbol` | @@ -2815,16 +2815,16 @@ The `openstack` module shows the current OpenStack cloud and project. The module | Option | Défaut | Description | | ---------- | ----------------------------------------------- | -------------------------------------------------------------- | | `format` | `'on [$symbol$cloud(\($project\))]($style) '` | Format du module. | -| `symbole` | `'☁️ '` | The symbol used before displaying the current OpenStack cloud. | +| `symbole` | `'☁️ '` | Le symbole utilisé avant d'afficher le cloud OpenStack actuel. | | `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `false` | Disables the `openstack` module. | +| `disabled` | `false` | Désactive le module `openstack`. | ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| cloud | `corp` | The current OpenStack cloud | -| project | `dev` | The current OpenStack project | +| cloud | `corp` | Le cloud OpenStack courant | +| project | `dev` | Le projet OpenStack courant | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,7 +2940,7 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## Version du paquet The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. @@ -2967,17 +2969,17 @@ The `package` module is shown when the current directory is the repository for a | Option | Défaut | Description | | ----------------- | --------------------------------- | ------------------------------------------------------------------------------------------ | | `format` | `'is [$symbol$version]($style) '` | Format du module. | -| `symbole` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbole` | `'📦 '` | Le symbole utilisé avant d'afficher la version du paquet. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | | `style` | `'bold 208'` | Le style pour le module. | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| `display_private` | `false` | Active l’affichage des versions des paquets marqués comme privés. | +| `disabled` | `false` | Désactive le module `package`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v1.0.0` | The version of your package | +| version | `v1.0.0` | La version de votre package | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -2994,7 +2996,7 @@ format = 'via [🎁 $version](208 bold) ' ## Perl -The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `perl` affiche la version de [Perl](https://www.perl.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `Makefile.PL` ou `Build.PL` - Le dossier courant contient un fichier `cpanfile` ou `cpanfile.snapshot` @@ -3008,18 +3010,18 @@ The `perl` module shows the currently installed version of [Perl](https://www.pe | ------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | La chaîne de format pour le module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐪 '` | The symbol used before displaying the version of Perl | +| `symbole` | `'🐪 '` | Le symbole utilisé avant d'afficher la version de Perl | | `detect_extensionsdetect_extensions` | `['pl', 'pm', 'pod']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'bold 149'` | Le style pour le module. | -| `disabled` | `false` | Disables the `perl` module. | +| `disabled` | `false` | Désactive le module `perl`. | ### Variables | Variable | Exemple | Description | | --------- | --------- | -------------------------------------- | -| version | `v5.26.1` | The version of `perl` | +| version | `v5.26.1` | La version de `perl` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3034,7 +3036,7 @@ format = 'via [🦪 $version]($style) ' ## PHP -The `php` module shows the currently installed version of [PHP](https://www.php.net/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `php` affiche la version de [PHP](https://www.php.net/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `composer.json` - Le dossier courant contient un fichier `.php-version` @@ -3046,18 +3048,18 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐘 '` | The symbol used before displaying the version of PHP. | +| `symbole` | `'🐘 '` | Le symbole utilisé avant d'afficher la version de PHP. | | `detect_extensionsdetect_extensions` | `['php']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['composer.json', '.php-version']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'147 bold'` | Le style pour le module. | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | Désactive le module `php`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v7.3.8` | The version of `php` | +| version | `v7.3.8` | La version de `php` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | Le style pour le module. | | `format` | `'on [$symbol$channel]($style) '` | Format du module. | | `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. | +| `truncation_symbol` | `'…'` | Le symbole utilisé pour indiquer qu'un nom de branche a été tronqué. | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3093,7 +3095,7 @@ The `pulumi` module shows the current username, selected [Pulumi Stack](https:// ::: tip -By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms). If you still want to enable it, [follow the example shown below](#with-pulumi-version). +Par défaut, la version de Pulumi n'est pas affichée, car cela prendre un ordre de magnitude plus de temps à charger que la plupart des plugins (~70ms). Si vous voulez quand même l’activer, [suivez l’exemple montré plus bas](#with-pulumi-version). ::: @@ -3111,17 +3113,17 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie: | `symbole` | `' '` | A format string shown before the Pulumi stack. | | `style` | `'bold 5'` | Le style pour le module. | | `search_upwards` | `true` | Enable discovery of pulumi config files in parent directories. | -| `disabled` | `false` | Disables the `pulumi` module. | +| `disabled` | `false` | Désactive le module `pulumi`. | ### Variables -| Variable | Exemple | Description | -| --------- | ---------- | -------------------------------------- | -| version | `v0.12.24` | The version of `pulumi` | -| stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| ----------------- | ---------- | -------------------------------------- | +| version | `v0.12.24` | La version de `pulumi` | +| stack | `dev` | The current Pulumi stack | +| nom d'utilisateur | `alice` | Le nom d’utilisateur Pulumi actuel | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -3147,7 +3149,7 @@ format = '[$symbol$stack]($style) ' ## PureScript -The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `purescript` affiche la version de [PureScript](https://www.purescript.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `spago.dhall` - Le dossier courant contient un fichier avec l’extension `.purs` @@ -3158,18 +3160,18 @@ The `purescript` module shows the currently installed version of [PureScript](ht | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'<=> '` | The symbol used before displaying the version of PureScript. | +| `symbole` | `'<=> '` | Le symbole utilisé avant d'afficher la version de PureScript. | | `detect_extensionsdetect_extensions` | `['purs']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['spago.dhall']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'bold white'` | Le style pour le module. | -| `disabled` | `false` | Disables the `purescript` module. | +| `disabled` | `false` | Désactive le module `purescript`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `0.13.5` | The version of `purescript` | +| version | `0.13.5` | La version de `purescript` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3186,9 +3188,9 @@ format = 'via [$symbol$version](bold white)' ## Python -The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated. +Le module `python` affiche la version de [Python](https://www.python.org/) installée et l’[environnement virtual Python](https://docs.python.org/tutorial/venv.html) actif s’il y en a un. -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`. +Si `pyenv_version_name` est défini à `true`, il affichera le nom de la version de pyenv. Sinon, il affichera le numéro de version que donne `python --version`. Par défaut, le module sera affiché si l’une de ces conditions est remplie: @@ -3208,19 +3210,19 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie: | ------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐍 '` | A format string representing the symbol of Python | +| `symbole` | `'🐍 '` | Une chaîne de caractères représentant le symbole de Python | | `style` | `'yellow bold'` | Le style pour le module. | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | Utiliser pyenv pour obtenir la version de Python | | `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_extensionsdetect_extensions` | `['py']` | Les extensions qui déclenchent ce module | | `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Quels fichiers devraient activer ce module | | `detect_folders` | `[]` | Quels dossiers devraient activer ce module | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | Désactive le module `python`. | ::: tip -The `python_binary` variable accepts either a string or a list of strings. Starship will try executing each binary until it gets a result. Note you can only change the binary that Starship executes to get the version of Python not the arguments that are used. +La variable `python_binary` accepte soit une chaine, soit une liste de chaines de caractères. Starship essayera d'exécuter chaque binaire jusqu'à obtenir un résultat. Notez que vous ne pouvez modifier que le binaire que Starship exécute pour obtenir la version de Python, mais pas les arguments utilisés. The default values and order for `python_binary` was chosen to first identify the Python version in a virtualenv/conda environments (which currently still add a `python`, no matter if it points to `python3` or `python2`). This has the side effect that if you still have a system Python 2 installed, it may be picked up before any Python 3 (at least on Linux Distros that always symlink `/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `'python3'` will hide any Python version 2, see example below. @@ -3228,13 +3230,13 @@ The default values and order for `python_binary` was chosen to first identify th ### Variables -| Variable | Exemple | Description | -| ------------ | --------------- | ------------------------------------------ | -| version | `'v3.8.1'` | The version of `python` | -| symbole | `'🐍 '` | Reflète la valeur de l'option `symbol` | -| style | `'yellow bold'` | Reflète la valeur de l'option `style` | -| pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | -| virtualenv | `'venv'` | The current `virtualenv` name | +| Variable | Exemple | Description | +| ------------ | --------------- | -------------------------------------------- | +| version | `'v3.8.1'` | La version de `python` | +| symbole | `'🐍 '` | Reflète la valeur de l'option `symbol` | +| style | `'yellow bold'` | Reflète la valeur de l'option `style` | +| pyenv_prefix | `'pyenv '` | Reflète la valeur de l'option `pyenv_prefix` | +| virtualenv | `'venv'` | Le nom du `virtualenv` courant | ### Exemple @@ -3250,7 +3252,7 @@ pyenv_version_name = true # ~/.config/starship.toml [python] -# Only use the `python3` binary to get the version. +# N'utilisez que le binaire `python3` pour obtenir la version. python_binary = 'python3' ``` @@ -3258,7 +3260,7 @@ python_binary = 'python3' # ~/.config/starship.toml [python] -# Don't trigger for files with the py extension +# Ne pas déclencher pour les fichiers avec l'extension py detect_extensions = [] ``` @@ -3266,16 +3268,17 @@ detect_extensions = [] # ~/.config/starship.toml [python] -# Display the version of python from inside a local venv. +# Affiche la version de python depuis l'intérieur d'un venv local. # -# Note this will only work when the venv is inside the project and it will only -# work in the directory that contains the venv dir but maybe this is ok? +# Notez que cela ne fonctionnera que lorsque le venv est à l'intérieur du projet, +# et uniquement lorsque vous vous situez dans le répertoire contenant le dossier du venv +# mais peut-être que c'est suffisant? python_binary = ['./venv/bin/python', 'python', 'python3', 'python2'] ``` ## R -The `rlang` module shows the currently installed version of [R](https://www.r-project.org/). The module will be shown if any of the following conditions are met: +Le module `rlang` affiche la version de [R](https://www.r-project.org/) installée. Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier avec l’extension `.R`. - Le dossier courant contient un fichier avec l’extension `.Rd`. @@ -3291,18 +3294,18 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'📐'` | A format string representing the symbol of R. | +| `symbole` | `'📐'` | Une chaîne de caractères représentant le symbole de R. | | `style` | `'blue bold'` | Le style pour le module. | | `detect_extensionsdetect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Les extensions qui déclenchent ce module | | `detect_files` | `['.Rprofile']` | Quels fichiers devraient activer ce module | | `detect_folders` | `['.Rproj.user']` | Quels dossiers devraient activer ce module | -| `disabled` | `false` | Disables the `r` module. | +| `disabled` | `false` | Désactive le module `r`. | ### Variables | Variable | Exemple | Description | | -------- | ------------- | -------------------------------------- | -| version | `v4.0.5` | The version of `R` | +| version | `v4.0.5` | La version de `R` | | symbole | | Reflète la valeur de l'option `symbol` | | style | `'blue bold'` | Reflète la valeur de l'option `style` | @@ -3355,7 +3358,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +Par défaut, le module `red` affiche la version de [Red](https://www.red-lang.org/) installée. Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier avec l’extension `.red` ou `.reds` @@ -3365,18 +3368,18 @@ By default the `red` module shows the currently installed version of [Red](https | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🔺 '` | A format string representing the symbol of Red. | +| `symbole` | `'🔺 '` | Une chaîne de caractères représentant le symbole de Red. | | `detect_extensionsdetect_extensions` | `['red']` | Les extensions qui déclenchent ce module. | | `detect_files` | `[]` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'red bold'` | Le style pour le module. | -| `disabled` | `false` | Disables the `red` module. | +| `disabled` | `false` | Désactive le module `red`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v2.5.1` | The version of `red` | +| version | `v2.5.1` | La version de `red` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3393,14 +3396,14 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +Le module `ruby` affiche la version de [Ruby](https://www.ruby-lang.org/) installée. Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier `Gemfile` - Le dossier courant contient un fichier `.ruby-version` - Le dossier courant contient un fichier `.rb` - La variable d’environnement `RUBY_VERSION` ou `RBENV_VERSION` est définie -Starship gets the current Ruby version by running `ruby -v`. +Starship obtient la version actuelle de Ruby en exécutant `ruby -v`. ### Options @@ -3408,19 +3411,19 @@ Starship gets the current Ruby version by running `ruby -v`. | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'💎 '` | A format string representing the symbol of Ruby. | +| `symbole` | `'💎 '` | Une chaîne de caractères représentant le symbole de Ruby. | | `detect_extensionsdetect_extensions` | `['rb']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Gemfile', '.ruby-version']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | -| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | +| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Les variables d’environnement qui activent ce module. | | `style` | `'bold red'` | Le style pour le module. | -| `disabled` | `false` | Disables the `ruby` module. | +| `disabled` | `false` | Désactive le module `ruby`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v2.5.1` | The version of `ruby` | +| version | `v2.5.1` | La version de `ruby` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3437,7 +3440,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +Le module `rust` affiche la version de [Rust](https://www.rust-lang.org/) installée. Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier `Cargo.toml` - Le dossier courant contient un fichier avec l’extension `.rs` @@ -3448,18 +3451,18 @@ By default the `rust` module shows the currently installed version of [Rust](htt | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🦀 '` | A format string representing the symbol of Rust | +| `symbole` | `'🦀 '` | Une chaîne de caractères représentant le symbole de Rust | | `detect_extensionsdetect_extensions` | `['rs']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Cargo.toml']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'bold red'` | Le style pour le module. | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | Désactive le module `rust`. | ### Variables | Variable | Exemple | Description | | --------- | ----------------- | -------------------------------------------- | -| version | `v1.43.0-nightly` | The version of `rustc` | +| version | `v1.43.0-nightly` | La version de `rustc` | | numver | `1.51.0` | The numeric component of the `rustc` version | | toolchain | `beta` | The toolchain version | | symbole | | Reflète la valeur de l'option `symbol` | @@ -3478,7 +3481,7 @@ format = 'via [⚙️ $version](red bold)' ## Scala -The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `scale` affiche la version de [Scala](https://www.scala-lang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `build.sbt`, `.scalaenv` ou `.sbtenv` - Le dossier courant contient un fichier avec l’extension `.scala` ou `.sbt` @@ -3493,15 +3496,15 @@ The `scala` module shows the currently installed version of [Scala](https://www. | `detect_extensionsdetect_extensions` | `['sbt', 'scala']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Les fichiers qui activent ce module. | | `detect_folders` | `['.metals']` | Quels dossiers devraient activer ce module. | -| `symbole` | `'🆂 '` | A format string representing the symbol of Scala. | +| `symbole` | `'🆂 '` | Une chaîne de caractères représentant le symbole de Scala. | | `style` | `'red dimmed'` | Le style pour le module. | -| `disabled` | `false` | Disables the `scala` module. | +| `disabled` | `false` | Désactive le module `scala`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `2.13.5` | The version of `scala` | +| version | `2.13.5` | La version de `scala` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3518,39 +3521,39 @@ symbol = '🌟 ' ## Shell -The `shell` module shows an indicator for currently used shell. +Le module `shell` affiche un indicateur en fonction du shell actuellement utilisé. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: ### Options -| Option | Défaut | Description | -| ---------------------- | ------------------------- | ------------------------------------------------------------ | -| `bash_indicator` | `'bsh'` | A format string used to represent bash. | -| `fish_indicator` | `'fsh'` | A format string used to represent fish. | -| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. | -| `powershell_indicator` | `'psh'` | A format string used to represent powershell. | -| `ion_indicator` | `'ion'` | A format string used to represent ion. | -| `elvish_indicator` | `'esh'` | A format string used to represent elvish. | -| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. | -| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. | -| `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) '` | Format du module. | -| `style` | `'white bold'` | Le style pour le module. | -| `disabled` | `true` | Disables the `shell` module. | +| Option | Défaut | Description | +| ---------------------- | ------------------------- | ----------------------------------------------------------- | +| `bash_indicator` | `'bsh'` | Chaine de formatage utilisée pour représenter bash. | +| `fish_indicator` | `'fsh'` | Chaine de formatage utilisée pour représenter fish. | +| `zsh_indicator` | `'zsh'` | Chaine de formatage utilisée pour représenter zsh. | +| `powershell_indicator` | `'psh'` | Chaine de formatage utilisée pour représenter powershell. | +| `ion_indicator` | `'ion'` | Chaine de formatage utilisée pour représenter ion. | +| `elvish_indicator` | `'esh'` | Chaine de formatage utilisée pour représenter elvish. | +| `tcsh_indicator` | `'tsh'` | Chaine de formatage utilisée pour représenter tcsh. | +| `xonsh_indicator` | `'xsh'` | Chaine de formatage utilisée pour représenter xonsh. | +| `cmd_indicator` | `'cmd'` | Chaine de formatage utilisée pour représenter cmd. | +| `nu_indicator` | `'nu'` | Chaine de formatage utilisée pour représenter nu. | +| `unknown_indicator` | `''` | La valeur par défaut à afficher quand le shell est inconnu. | +| `format` | `'[$indicator]($style) '` | Format du module. | +| `style` | `'white bold'` | Le style pour le module. | +| `disabled` | `true` | Désactive le module `shell`. | ### Variables -| Variable | Défaut | Description | -| --------- | ------ | ---------------------------------------------------------- | -| indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| Variable | Défaut | Description | +| --------- | ------ | ------------------------------------------------- | +| indicator | | Reflète la valeur de `indicator` du shell actuel. | +| style\* | | Reflète la valeur de l'option `style`. | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -3573,20 +3576,20 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int ### Options -| Option | Défaut | Description | -| ----------- | ---------------------------- | ------------------------------------------------------------- | -| `threshold` | `2` | Display threshold. | -| `format` | `'[$symbol$shlvl]($style) '` | Format du module. | -| `symbole` | `'↕️ '` | The symbol used to represent the `SHLVL`. | -| `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. | -| `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `true` | Disables the `shlvl` module. | +| Option | Défaut | Description | +| ----------- | ---------------------------- | ----------------------------------------------------------------------- | +| `threshold` | `2` | Seuil d’affichage. | +| `format` | `'[$symbol$shlvl]($style) '` | Format du module. | +| `symbole` | `'↕️ '` | Le symbole utilisée pour représenter le `SHLVL`. | +| `repeat` | `false` | Fait répéter `symbol` autant de fois que la valeur actuelle de `SHLVL`. | +| `style` | `'bold yellow'` | Le style pour le module. | +| `disabled` | `true` | Désactive le module `shlvl`. | ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| shlvl | `3` | The current value of `SHLVL` | +| shlvl | `3` | La valeur actuelle de `SHLVL` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3605,22 +3608,22 @@ threshold = 3 ## Singularity -The `singularity` module shows the current [Singularity](https://sylabs.io/singularity/) image, if inside a container and `$SINGULARITY_NAME` is set. +Le module `singularity` affiche l’image [Singularity](https://sylabs.io/singularity/) courante, quand vous êtes à l’intérieur d’un conteneur et que `$SINGULARITY_NAME` est définie. ### Options -| Option | Défaut | Description | -| ---------- | -------------------------------- | ------------------------------------------------ | -| `format` | `'[$symbol\[$env\]]($style) '` | Format du module. | -| `symbole` | `''` | A format string displayed before the image name. | -| `style` | `'bold dimmed blue'` | Le style pour le module. | -| `disabled` | `false` | Disables the `singularity` module. | +| Option | Défaut | Description | +| ---------- | -------------------------------- | ------------------------------------------------------ | +| `format` | `'[$symbol\[$env\]]($style) '` | Format du module. | +| `symbole` | `''` | Une chaîne de format affichée avant le nom de l'image. | +| `style` | `'bold dimmed blue'` | Le style pour le module. | +| `disabled` | `false` | Désactive le module `singularity`. | ### Variables | Variable | Exemple | Description | | --------- | ------------ | -------------------------------------- | -| env | `centos.img` | The current Singularity image | +| env | `centos.img` | L’image Singularity actuelle | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3637,23 +3640,23 @@ format = '[📦 \[$env\]]($style) ' ## Spack -The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/latest/) environment, if `$SPACK_ENV` is set. +Le module `spack` affiche l’environnement [Spack](https://spack.readthedocs.io/en/latest/) courant, si `$SPACK_ENV` est définie. ### Options -| Option | Défaut | Description | -| ------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `truncation_length` | `1` | The number of directories the environment path should be truncated to. `0` ne signifie pas de troncature. Regardez aussi le module [`directory`](#directory). | -| `symbole` | `'🅢 '` | Le symbole utilisé avant le nom d'environnement. | -| `style` | `'bold blue'` | Le style pour le module. | -| `format` | `'via [$symbol$environment]($style) '` | Format du module. | -| `disabled` | `false` | Disables the `spack` module. | +| Option | Défaut | Description | +| ------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `truncation_length` | `1` | Le nombre de dossiers auxquels le chemin d’environnement doit être tronqué. `0` ne signifie pas de troncature. Regardez aussi le module [`directory`](#directory). | +| `symbole` | `'🅢 '` | Le symbole utilisé avant le nom d'environnement. | +| `style` | `'bold blue'` | Le style pour le module. | +| `format` | `'via [$symbol$environment]($style) '` | Format du module. | +| `disabled` | `false` | Désactive le module `spack`. | ### Variables | Variable | Exemple | Description | | ----------- | ------------ | -------------------------------------- | -| environment | `astronauts` | The current spack environment | +| environment | `astronauts` | L’environnement de spack courant | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3668,13 +3671,13 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat format = '[$symbol$environment](dimmed blue) ' ``` -## Status +## Statut -The `status` module displays the exit code of the previous command. If $success_symbol is empty (default), the module will be shown only if the exit code is not `0`. The status code will cast to a signed 32-bit integer. +Le module `status` affiche le code de sortie de la commande précédente. Si $success_symbol est vide (par défaut), ce module sera affiché uniquement quand le code de sortie n’est pas `0`. Le code de statut est converti en entier signé 32 bits. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: @@ -3682,7 +3685,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Option | Défaut | Description | | --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `format` | `'[$symbol$status]($style) '` | The format of the module | +| `format` | `'[$symbol$status]($style) '` | Le format du module | | `symbole` | `'❌'` | 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 | @@ -3696,22 +3699,22 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | `pipestatus_separator` | | | The symbol used to separate pipestatus segments (supports formatting) | | `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline | | `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments | -| `disabled` | `true` | Disables the `status` module. | +| `disabled` | `true` | Désactiver le module `status`. | ### Variables -| Variable | Exemple | Description | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| statut | `127` | Le code de sortie de la dernière commande | +| hex_status | `0x7F` | Le code de sortie de la dernière commande en hexa | +| int | `127` | Le code de sortie de la dernière commande | +| common_meaning | `ERROR` | Signification du code si n’est pas un signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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 | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -3731,23 +3734,23 @@ disabled = false ## Sudo -The `sudo` module displays if sudo credentials are currently cached. The module will only be shown if credentials are cached. +Le moduel `sudo` affiche si les identifiants sudo sont actuellement en cache. Le module sera uniquement affiché si les identifiants sont en cache. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: ### Options -| Option | Défaut | Description | -| --------------- | ------------------------ | ------------------------------------------------------- | -| `format` | `'[as $symbol]($style)'` | The format of the module | -| `symbole` | `'🧙 '` | The symbol displayed when credentials are cached | -| `style` | `'bold blue'` | Le style pour le module. | -| `allow_windows` | `false` | Since windows has no default sudo, default is disabled. | -| `disabled` | `true` | Disables the `sudo` module. | +| Option | Défaut | Description | +| --------------- | ------------------------ | ----------------------------------------------------------------- | +| `format` | `'[as $symbol]($style)'` | Le format du module | +| `symbole` | `'🧙 '` | Le symbole affiché quand les identifiants sont en cache | +| `style` | `'bold blue'` | Le style pour le module. | +| `allow_windows` | `false` | Puisque Windows n’a pas de sudo par défaut, désactivé par défaut. | +| `disabled` | `true` | Désactive le module `sudo`. | ### Variables @@ -3770,7 +3773,7 @@ disabled = false ``` ```toml -# On windows +# Sous windows # $HOME\.starship\config.toml [sudo] @@ -3780,7 +3783,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +Par défaut, le module `swift` affiche la version de [Swift](https://swift.org/) installée. Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier `Package.swift` - Le dossier courant contient un fichier avec l’extension `.swift` @@ -3791,18 +3794,18 @@ By default the `swift` module shows the currently installed version of [Swift](h | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'🐦 '` | A format string representing the symbol of Swift | +| `symbole` | `'🐦 '` | Une chaîne de caractères représentant le symbole de Swift | | `detect_extensionsdetect_extensions` | `['swift']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Package.swift']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'bold 202'` | Le style pour le module. | -| `disabled` | `false` | Disables the `swift` module. | +| `disabled` | `false` | Désactiver le module `swift`. | ### Variables | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v5.2.4` | The version of `swift` | +| version | `v5.2.4` | La version de `swift` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3819,11 +3822,11 @@ format = 'via [🏎 $version](red bold)' ## Terraform -The `terraform` module shows the currently selected [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) and version. +Le module `terraform` affiche [l’espace de travail Terraform](https://www.terraform.io/docs/language/state/workspaces.html) sélectionné et sa version. ::: tip -By default the Terraform version is not shown, since this is slow for current versions of Terraform when a lot of plugins are in use. If you still want to enable it, [follow the example shown below](#with-terraform-version). +Par défaut, la version de Terraform n’est pas affichée, car elle est lente pour les versions actuelles de Terraform quand beaucoup de plugins sont utilisés. Si vous voulez quand même l’activer, [suivez l’exemple montré plus bas](#with-terraform-version). ::: @@ -3838,19 +3841,19 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie: | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol$workspace]($style) '` | La chaîne de format pour le module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'💠'` | A format string shown before the terraform workspace. | +| `symbole` | `'💠'` | Une chaîne de format montrée avant l'espace de travail terraform. | | `detect_extensionsdetect_extensions` | `['tf', 'tfplan', 'tfstate']` | Les extensions qui déclenchent ce module. | | `detect_files` | `[]` | Les fichiers qui activent ce module. | | `detect_folders` | `['.terraform']` | Les dossiers qui activent ce module. | | `style` | `'bold 105'` | Le style pour le module. | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | Désactive le module `terraform`. | ### Variables | Variable | Exemple | Description | | --------- | ---------- | -------------------------------------- | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `default` | The current Terraform workspace | +| version | `v0.12.24` | La version de `terraform` | +| workspace | `default` | L’espace de travail Terraform courant | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -3878,33 +3881,33 @@ format = '[🏎💨 $workspace]($style) ' ## Date et Heure -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +Le module `time` affiche la date et heure **locale**. La valeur de `format` est utilisée par le package [`chrono`](https://crates.io/crates/chrono) pour contrôler la façon dont l'heure est affichée. Consultez la [doc de chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) pour découvrir les options disponibles. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration. ::: ### Options -| Option | Défaut | Description | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | La chaîne de format pour le module. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Option | Défaut | Description | +| ----------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | La chaîne de format pour le module. | +| `use_12hr` | `false` | Activer le format 12h | +| `time_format` | voir plus bas | Le [format chrono](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) utilisé pour formater l'heure. | +| `style` | `'bold yellow'` | Le style utilisé par le module | +| `utc_time_offset` | `'local'` | Définir le décalage horaire UTC à utiliser. Intervalle de -24 < x < 24. Accepte des nombres décimaux pour s'adapter aux décalages de 30/45 minutes. | +| `disabled` | `true` | Désactive le module `time`. | +| `time_range` | `'-'` | Définit la plage de temps pendant laquelle le module sera affiché. Les heures doivent être spécifiées au format 24 heures | -If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. +If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Définir manuellement `time_format` outrepasse le paramètre `use_12hr`. ### Variables | Variable | Exemple | Description | | --------- | ---------- | ------------------------------------- | -| time | `13:08:10` | The current time. | +| time | `13:08:10` | L’heure actuelle. | | style\* | | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -3922,9 +3925,9 @@ utc_time_offset = '-5' time_range = '10:00:00-14:00:00' ``` -## Username +## Nom d'utilisateur -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +Le module `username` affiche le nom de l’utilisateur actif. Le module sera affiché si l'une de ces conditions est remplie: - L'utilisateur courant est root/admin - L'utilisateur courant est différent de celui connecté @@ -3939,20 +3942,20 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` ### Options -| Option | Défaut | 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 '` | Format du module. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| Option | Défaut | Description | +| ------------- | ----------------------- | ---------------------------------------------------- | +| `style_root` | `'bold red'` | Le style utilisé quand l'utilisateur est root/admin. | +| `style_user` | `'bold yellow'` | Le style utilisé pour les utilisateurs non-root. | +| `format` | `'[$user]($style) in '` | Format du module. | +| `show_always` | `false` | Toujours afficher le module `username`. | +| `disabled` | `false` | Désactive le module `username`. | ### Variables | Variable | Exemple | 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. | +| `user` | `'matchai'` | L’identifiant de l’utilisateur courant. | ### Exemple @@ -3969,7 +3972,7 @@ show_always = true ## Vagrant -The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `vagrant` affiche la version de [Vagrant](https://www.vagrantup.com/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier `Vagrantfile` @@ -3979,18 +3982,18 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'⍱ '` | A format string representing the symbol of Vagrant. | +| `symbole` | `'⍱ '` | Une chaîne de caractères représentant le symbole de Vagrant. | | `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. | | `detect_files` | `['Vagrantfile']` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'cyan bold'` | Le style pour le module. | -| `disabled` | `false` | Disables the `vagrant` module. | +| `disabled` | `false` | Désactive le module `vagrant`. | ### Variables | Variable | Exemple | Description | | --------- | ---------------- | -------------------------------------- | -| version | `Vagrant 2.2.10` | The version of `Vagrant` | +| version | `Vagrant 2.2.10` | La version de `Vagrant` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -4007,7 +4010,7 @@ format = 'via [⍱ $version](bold white) ' ## V -The `vlang` module shows you your currently installed version of [V](https://vlang.io/). Par défaut, le module sera affiché si l’une de ces conditions est remplie: +Le module `vlang` affiche la version de [V](https://vlang.io/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie: - Le dossier courant contient un fichier avec l’extension `.v` - Le dossier courant contient un fichier `v.mod`, `vpkg.json` ou `.vpkg-lock.json` @@ -4018,18 +4021,18 @@ The `vlang` module shows you your currently installed version of [V](https://vla | ------------------------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'V '` | A format string representing the symbol of V | +| `symbole` | `'V '` | Une chaîne de caractères représentant le symbole de V | | `detect_extensionsdetect_extensions` | `['v']` | Les extensions qui déclenchent ce module. | | `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | | `style` | `'blue bold'` | Le style pour le module. | -| `disabled` | `false` | Disables the `vlang` module. | +| `disabled` | `false` | Désactive le module `vlang`. | ### Variables | Variable | Exemple | Description | | --------- | ------- | -------------------------------------- | -| version | `v0.2` | The version of `v` | +| version | `v0.2` | La version de `v` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -4047,20 +4050,20 @@ The `vcsh` module displays the current active [VCSH](https://github.com/RichiH/v ### Options -| Option | Défaut | Description | -| ---------- | -------------------------------- | ------------------------------------------------------ | -| `symbole` | `''` | The symbol used before displaying the repository name. | -| `style` | `'bold yellow'` | Le style pour le module. | -| `format` | `'vcsh [$symbol$repo]($style) '` | Format du module. | -| `disabled` | `false` | Disables the `vcsh` module. | +| Option | Défaut | Description | +| ---------- | -------------------------------- | ---------------------------------------------------- | +| `symbole` | `''` | Le symbole utilisé avant d'afficher le nom du dépôt. | +| `style` | `'bold yellow'` | Le style pour le module. | +| `format` | `'vcsh [$symbol$repo]($style) '` | Format du module. | +| `disabled` | `false` | Désactive le module `vcsh`. | ### Variables -| Variable | Exemple | Description | -| --------- | ------------------------------------------- | -------------------------------------- | -| repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | -| symbole | | Reflète la valeur de l'option `symbol` | -| style\* | `black bold dimmed` | Reflète la valeur de l'option `style` | +| Variable | Exemple | Description | +| --------- | ----------------------------------------------- | -------------------------------------- | +| repo | `dotfiles` si dans un dépôt VCSH nommé dotfiles | Le nom du dépôt actif | +| symbole | | Reflète la valeur de l'option `symbol` | +| style\* | `black bold dimmed` | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style @@ -4075,7 +4078,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). Le module sera affiché si l'une de ces conditions est remplie: - Le dossier courant contient un fichier `.zip` @@ -4085,9 +4088,9 @@ By default the the `zig` module shows the currently installed version of [Zig](h | ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | Format du module. | | `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` | -| `symbole` | `'↯ '` | The symbol used before displaying the version of Zig. | +| `symbole` | `'↯ '` | Le symbole utilisé avant d'afficher la version de Zig. | | `style` | `'bold yellow'` | Le style pour le module. | -| `disabled` | `false` | Disables the `zig` module. | +| `disabled` | `false` | Désactive le module `zig`. | | `detect_extensionsdetect_extensions` | `['zig']` | Les extensions qui déclenchent ce module. | | `detect_files` | `[]` | Les fichiers qui activent ce module. | | `detect_folders` | `[]` | Les dossiers qui activent ce module. | @@ -4096,7 +4099,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | Variable | Exemple | Description | | --------- | -------- | -------------------------------------- | -| version | `v0.6.0` | The version of `zig` | +| version | `v0.6.0` | La version de `zip` | | symbole | | Reflète la valeur de l'option `symbol` | | style\* | | Reflète la valeur de l'option `style` | @@ -4111,11 +4114,11 @@ By default the the `zig` module shows the currently installed version of [Zig](h symbol = '⚡️ ' ``` -## Custom commands +## Commandes personnalisées -The `custom` modules show the output of some arbitrary commands. +Les modules `custom` affichent la sortie d’une commande arbitaitre. -These modules will be shown if any of the following conditions are met: +Ces modules seront affichés si l'une de ces conditions est remplie: - Le dossier courant contient un fichier dont le nom est dans `detect_files` - Le dossier courant contient un dossier dont le nom est dans `detect_folders` @@ -4125,7 +4128,7 @@ These modules will be shown if any of the following conditions are met: ::: tip -Multiple custom modules can be defined by using a `.`. +Plusieurs modules personnalisés peuvent être définis en utilisant un `.`. ::: @@ -4153,34 +4156,34 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | Option | Défaut | 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. | -| `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `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`. | +| `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. | | `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. | | `detect_extensionsdetect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. | -| `symbole` | `''` | The symbol used before displaying the command output. | +| `symbole` | `''` | Le symbole utilisé avant d'afficher la sortie de la commande. | | `style` | `'bold green'` | Le style pour le module. | | `format` | `'[$symbol($output )]($style)'` | Format du module. | -| `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). | +| `disabled` | `false` | Désactive le module `custom`. | +| `os` | | Nom du système d'exploitation sur lequel le module sera affiché (unix, linux, macos, windows, ... ) [Voir les valeurs possibles](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. | -| `ignore_timeout` | `false` | Ignore global `command_timeout` setting and keep running external commands, no matter how long they take. | +| `ignore_timeout` | `false` | Ignore le paramètre global `command_timeout` et continuer à exécuter des commandes externes, peu importe le temps qu'elles prennent. | ### Variables -| Variable | Description | -| --------- | -------------------------------------- | -| output | The output of shell command in `shell` | -| symbole | Reflète la valeur de l'option `symbol` | -| style\* | Reflète la valeur de l'option `style` | +| Variable | Description | +| --------- | ------------------------------------------- | +| output | La sortie de la commande shell dans `shell` | +| symbole | Reflète la valeur de l'option `symbol` | +| style\* | Reflète la valeur de l'option `style` | *: Cette variable peut uniquement être utilisée dans une chaine de style #### Commandes shell personnalisées -`shell` accepts a non-empty list of strings, where: +`shell` accepte une liste de chaînes non vide, où: - La première chaîne est le chemin vers le shell à utiliser pour exécuter la commande. - Other following arguments are passed to the shell. diff --git a/docs/fr-FR/faq/README.md b/docs/fr-FR/faq/README.md index d88d7759..65066f8f 100644 --- a/docs/fr-FR/faq/README.md +++ b/docs/fr-FR/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings Cela affichera le journal de suivi et un détail de tous les modules qui ont soit pris plus d’1ms pour s’exécuter, soit affiché quelque chose. -Finalement, si vous trouvez un bug, vous pouvez utiliser la commande `bug-report` pour créer un ticket GitHub. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/fr-FR/guide/README.md b/docs/fr-FR/guide/README.md index 37cf70b8..83f51de3 100644 --- a/docs/fr-FR/guide/README.md +++ b/docs/fr-FR/guide/README.md @@ -169,7 +169,7 @@ ### Pré-requis -- Une police [Nerd Font](https://www.nerdfonts.com/) installée et activée dans votre terminal (Par exemple, essayez [Fira Code](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Étape 1. Installer Starship diff --git a/docs/id-ID/config/README.md b/docs/id-ID/config/README.md index 481c8608..a5240af3 100644 --- a/docs/id-ID/config/README.md +++ b/docs/id-ID/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Logging -Secara bawaan, starship mencatat peringatan dan eror ke dalam sebuah file bernama `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, yang mana session key file tersebut sama dengan instance terminalmu. Namun, hal tersebut dapat diubah dengan menggunakan environment variable dari `STARSHIP_CACHE` berikut: +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. Namun, hal tersebut dapat diubah dengan menggunakan environment variable dari `STARSHIP_CACHE` berikut: ```sh export STARSHIP_CONFIG=~/.starship/cache @@ -1088,7 +1088,7 @@ Sebagai contoh, untuk `~/Dev/Nix/nixpkgs/pkgs` dimana `nixpkgs` merupakan root r 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Opsi -| Opsi | Bawaan | Deskripsi | -| ------------- | ------------------------------ | ------------------------------------------------------------------------------------- | -| `symbol` | `""` | Simbol yang digunakan sebelum menampilkan nilai dari variabel. | -| `variabel` | | Variabel environment yang akan ditampilkan. | -| `bawaan` | | Nilai bawaan yang akan ditampilkan ketika variabel yang terpilih tidak didefinisikan. | -| `format` | `"with [$env_value]($style) "` | Format dari modul. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Menonaktifkan modul `env_var`. | +| Opsi | Bawaan | Deskripsi | +| ----------- | ------------------------------ | ------------------------------------------------------------------------------------- | +| `symbol` | `""` | Simbol yang digunakan sebelum menampilkan nilai dari variabel. | +| `variabel` | | Variabel environment yang akan ditampilkan. | +| `bawaan` | | Nilai bawaan yang akan ditampilkan ketika variabel yang terpilih tidak didefinisikan. | +| `format` | `"with [$env_value]($style) "` | Format dari modul. | +| `deskripsi` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Menonaktifkan modul `env_var`. | ### Variabel @@ -1399,7 +1399,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -1693,7 +1693,7 @@ The `git_state` module will show in directories which are part of a git reposito | progress_total | `2` | The total operation progress | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -1734,7 +1734,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | 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 +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -1794,7 +1794,7 @@ The following variables can be used in `format`: | `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. | | style\* | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string The following variables can be used in `diverged`: @@ -1914,7 +1914,7 @@ The `guix_shell` module shows the [guix-shell](https://guix.gnu.org/manual/devel | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -1959,7 +1959,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c | symbol | | Menyalin nilai dari opsi `symbol` | | style* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ## Haskell @@ -2114,21 +2114,21 @@ disabled = false The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi: -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### Opsi -| Opsi | Bawaan | Deskripsi | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `fromat` | `'via [${symbol}(${version} )]($style)'` | Format dari modul. | -| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Ekstensi mana yang sebaiknya memicu modul ini. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | filenames mana yang sebaiknya memicu modul ini. | -| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | Gaya penataan untuk modul. | -| `disabled` | `false` | Disables the `java` module. | +| Opsi | Bawaan | Deskripsi | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `fromat` | `'via [${symbol}(${version} )]($style)'` | Format dari modul. | +| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Ekstensi mana yang sebaiknya memicu modul ini. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | filenames mana yang sebaiknya memicu modul ini. | +| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. | +| `symbol` | `'☕ '` | A format string representing the symbol of Java | +| `style` | `'red dimmed'` | Gaya penataan untuk modul. | +| `disabled` | `false` | Disables the `java` module. | ### Variabel @@ -2138,7 +2138,7 @@ The `java` module shows the currently installed version of [Java](https://www.or | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -2274,7 +2274,7 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -2330,7 +2330,7 @@ When the module is enabled it will always be active, unless any of `detect_exten | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2462,7 +2462,7 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -2609,7 +2609,7 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Opsi | Bawaan | Deskripsi | | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | Format dari modul | | `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` | | `symbol` | `'👑 '` | The symbol used before displaying the version of Nim. | | `detect_extensions` | `['nim', 'nims', 'nimble']` | Ekstensi mana yang sebaiknya memicu modul ini. | @@ -2828,7 +2828,7 @@ The `openstack` module shows the current OpenStack cloud and project. The module | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2981,7 +2983,7 @@ The `package` module is shown when the current directory is the repository for a | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3061,7 +3063,7 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3173,7 +3175,7 @@ The `purescript` module shows the currently installed version of [PureScript](ht | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3380,7 +3382,7 @@ By default the `red` module shows the currently installed version of [Red](https | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3505,7 +3507,7 @@ The `scala` module shows the currently installed version of [Scala](https://www. | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Variabel | Bawaan | Deskripsi | | --------- | ------ | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | Menyalin nilai dari opsi `style`. | *: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string @@ -3657,7 +3659,7 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3700,20 +3702,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variabel -| Variabel | Contoh | Deskripsi | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Menyalin nilai dari opsi `symbol` | -| style\* | | Menyalin nilai dari opsi `style` | +| Variabel | Contoh | Deskripsi | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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 | | Menyalin nilai dari opsi `symbol` | +| style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3806,7 +3808,7 @@ By default the `swift` module shows the currently installed version of [Swift](h | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3854,7 +3856,7 @@ Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi: | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3907,7 +3909,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | time | `13:08:10` | The current time. | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -3994,7 +3996,7 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file @@ -4100,7 +4102,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | symbol | | Menyalin nilai dari opsi `symbol` | | style\* | | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string ### Contoh @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `deskripsi` | `''` | 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. | @@ -4176,7 +4178,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | symbol | Menyalin nilai dari opsi `symbol` | | style\* | Menyalin nilai dari opsi `style` | -*: This variable can only be used as a part of a style string +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string #### Custom command shell diff --git a/docs/id-ID/faq/README.md b/docs/id-ID/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/id-ID/faq/README.md +++ b/docs/id-ID/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/id-ID/guide/README.md b/docs/id-ID/guide/README.md index bb0bf950..b8aba9d0 100644 --- a/docs/id-ID/guide/README.md +++ b/docs/id-ID/guide/README.md @@ -169,7 +169,7 @@ ### Prasyarat -- Sebuah [Nerd Font](https://www.nerdfonts.com/) terpasang dan aktif pada terminal (contohnya, coba [Nerd Font Fira Code](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Langkah 1. Pasang Starship diff --git a/docs/it-IT/config/README.md b/docs/it-IT/config/README.md index d7a7c29a..ee3b072b 100644 --- a/docs/it-IT/config/README.md +++ b/docs/it-IT/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Logging -Per impostazione predefinita, starship salva i warning e gli errori in un file chiamato `~/.cache/starship/session_${STARSHIP_SESSION_KEY}. og`, dove la chiave di sessione è corrispondente a un'istanza del tuo terminale. Questo, tuttavia, può essere modificato utilizzando la variabile di ambiente `STARSHIP_CACHE`: +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. Questo, tuttavia, può essere modificato utilizzando la variabile di ambiente `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1336,7 +1336,7 @@ default = 'unknown user' | `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`. | +| `descrizione` | `""` | The description of the module that is shown when running `starship explain`. | | `disabled` | `false` | Disables the `env_var` module. | ### Variables @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### Opzioni -| Opzione | Default | Descrizione | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Quali estensioni dovrebbero attivare questo modulo. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | Quali nomi di file dovrebbero attivare questo modulo. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | Lo stile per il modulo. | -| `disabled` | `false` | Disables the `java` module. | +| Opzione | Default | Descrizione | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | The format for the module. | +| `version_format` | `'v${raw}'` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Quali estensioni dovrebbero attivare questo modulo. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Quali nomi di file dovrebbero attivare questo modulo. | +| `detect_folders` | `[]` | Which folders should trigger this modules. | +| `symbol` | `'☕ '` | A format string representing the symbol of Java | +| `style` | `'red dimmed'` | Lo stile per il modulo. | +| `disabled` | `false` | Disables the `java` module. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2970,8 +2972,8 @@ The `package` module is shown when the current directory is the repository for a | `symbol` | `'📦 '` | The symbol used before displaying the version the package. | | `version_format` | `'v${raw}'` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minor`, & `patch` | | `style` | `'bold 208'` | Lo stile per il modulo. | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| `display_private` | `false` | Abilita la visualizzazione della versione per i pacchetti contrassegnati come privati. | +| `disabled` | `false` | Disabilita il modulo `package`. | ### Variables @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| Variable | Esempio | Descrizione | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Esempio | Descrizione | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -3904,7 +3906,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | Variable | Esempio | Descrizione | | --------- | ---------- | ----------------------------------- | -| time | `13:08:10` | The current time. | +| ora | `13:08:10` | The current time. | | style\* | | Mirrors the value of option `style` | *: This variable can only be used as a part of a style string @@ -4018,12 +4020,12 @@ The `vlang` module shows you your currently installed version of [V](https://vla | ------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | The format for the module. | | `version_format` | `'v${raw}'` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'V '` | A format string representing the symbol of V | +| `symbol` | `'V '` | Una stringa di formato che rappresenta il simbolo di V | | `detect_extensions` | `['v']` | Quali estensioni dovrebbero attivare questo modulo. | | `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Quali nomi di file dovrebbero attivare questo modulo. | | `detect_folders` | `[]` | Quali cartelle dovrebbero attivare questo modulo. | | `style` | `'blu grassetto'` | Lo stile per il modulo. | -| `disabled` | `false` | Disables the `vlang` module. | +| `disabled` | `false` | Disabilita il modulo `vlang`. | ### Variables @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `descrizione` | `''` | 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/faq/README.md b/docs/it-IT/faq/README.md index baed8538..24c8cb70 100644 --- a/docs/it-IT/faq/README.md +++ b/docs/it-IT/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/it-IT/guide/README.md b/docs/it-IT/guide/README.md index deade1a3..89f0709d 100644 --- a/docs/it-IT/guide/README.md +++ b/docs/it-IT/guide/README.md @@ -169,7 +169,7 @@ ### Prerequisiti -- Un [Nerd Font](https://www.nerdfonts.com/) installato e abilitato nel tuo terminale (per esempio, prova [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Fase 1. Installa Starship diff --git a/docs/ja-JP/advanced-config/README.md b/docs/ja-JP/advanced-config/README.md index 2831d1bc..ee727496 100644 --- a/docs/ja-JP/advanced-config/README.md +++ b/docs/ja-JP/advanced-config/README.md @@ -12,7 +12,7 @@ Starship は汎用性の高いシェルですが、時には特定の処理を 過去に出力されたプロンプトを置き換えることができます。 全ての情報が必要では無い時に役に立ちます。 有効にするには、 `Enable-TransientPrompt` をシェルで実行してください。 `$PROFILE` に追記することによって常時有効にすることが出来ます。 また、 `Disable-TransientPrompt` によっていつでも無効化することが出来ます。 -デフォルトでは、入力の左側が `>` 出置き換えられます。 カスタマイズするには、関数を `Invoke-Starship-TransientFunction` という名前で定義してください。 Starshipの `character` モジュールを表示する場合はこのようにします: +デフォルトでは、入力した文字列の左側を `>` で置換します。 カスタマイズするには、関数を `Invoke-Starship-TransientFunction` という名前で定義してください。 Starshipの `character` モジュールを表示する場合はこのようにします: ```powershell function Invoke-Starship-TransientFunction { @@ -24,17 +24,17 @@ Invoke-Expression (&starship init powershell) Enable-TransientPrompt ``` -## TransientPrompt and TransientRightPrompt in Cmd +## Cmd の TransientPrompt と TransientRightPrompt -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: +この操作が必要なのは1度だけです。 自分の `starship.lua` を次のように編集すると、プロンプト文字列の左側や右側に出力する文字列を変更できます。 -- デフォルトでは、入力の左側が `>` 出置き換えられます。 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. Starshipの `character` モジュールを表示する場合はこのようにします: +- デフォルトでは、入力した文字列の左側を `>` へ置換します。 カスタマイズするには、新しい関数 `starship_transient_prompt_func` を定義します。 この関数の受け取る引数は今のプロンプト文字列で、あなたが変更できるようになっています。 Starshipの `character` モジュールを表示する場合はこのようにします: ```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 +## Fish の TransientPrompt と TransientRightPrompt 過去に出力されたプロンプトを置き換えることができます。 全ての情報が必要では無い時に役に立ちます。 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`. Note that in case of Fish, the transient prompt is only printed if the commandline is non-empty, and syntactically correct. -- 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`. Starshipの `character` モジュールを表示する場合はこのようにします: +- By default, the left side of input gets replaced with a bold-green `❯`. カスタマイズするには、新しい関数 `starship_transient_prompt_func` を定義します。 Starshipの `character` モジュールを表示する場合はこのようにします: ```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 diff --git a/docs/ja-JP/config/README.md b/docs/ja-JP/config/README.md index 986fe205..3f8d2c05 100644 --- a/docs/ja-JP/config/README.md +++ b/docs/ja-JP/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### ロギング -デフォルトでは、Starship は警告やエラーログを `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log` という名前のファイルに出力します。このセッションキーはターミナルのインスタンスに相当します。 しかし、これは `STARSHIP_CACHE` という環境変数を使って変更できます: +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. しかし、これは `STARSHIP_CACHE` という環境変数を使って変更できます: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ fish スタイルの pwd オプションを使用している場合、切り捨 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### オプション -| オプション | デフォルト | 説明 | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | 環境変数を表示する前に使用される記号です。 | -| `variable` | | 表示される環境変数です。 | -| `default` | | 上のvariableが定義されていない場合に表示されるデフォルトの値です。 | -| `format` | `"with [$env_value]($style) "` | module のフォーマットです。 | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | `env_var`モジュールを無効にします。 | +| オプション | デフォルト | 説明 | +| ---------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | 環境変数を表示する前に使用される記号です。 | +| `variable` | | 表示される環境変数です。 | +| `default` | | 上のvariableが定義されていない場合に表示されるデフォルトの値です。 | +| `format` | `"with [$env_value]($style) "` | module のフォーマットです。 | +| `説明` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | `env_var`モジュールを無効にします。 | ### 変数 @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | module のフォーマットです。 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'` | モジュールのスタイルです。 | -| `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. | +| オプション | デフォルト | 説明 | +| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | module のフォーマットです。 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'` | モジュールのスタイルです。 | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | ブランチ名切り捨てられていることを示すための記号です。 You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### 変数 @@ -1515,30 +1515,30 @@ truncation_symbol = '' ## Google Cloud (`gcloud`) -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. +`gcloud` モジュールは、 [`gcloud`](https://cloud.google.com/sdk/gcloud) CLIの現在の設定が表示されます。 これは `~/.config/gcloud/active_config` ファイルと `~/.config/gcloud/configurations/config_{CONFIG NAME}` ファイルと `CLOUDSDK_CONFIG` 環境変数に基づきます。 ### オプション -| オプション | デフォルト | 説明 | -| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | module のフォーマットです。 | -| `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'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `gcloud` module. | +| オプション | デフォルト | 説明 | +| ----------------- | ---------------------------------------------------------- | ----------------------------- | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | module のフォーマットです。 | +| `symbol` | `'☁️ '` | 現在のGCPプロファイルを表示する前に表示される記号です。 | +| `region_aliases` | `{}` | GCP名に加えて表示するリージョンのエイリアスです。 | +| `project_aliases` | `{}` | GCP名に加えて表示するプロジェクトのエイリアスです。 | +| `style` | `'bold blue'` | モジュールのスタイルです。 | +| `disabled` | `false` | `gcloud`モジュールを無効にします。 | ### 変数 -| 変数 | 設定例 | 説明 | -| --------- | ------------- | ------------------------------------------------------------------ | -| 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 | | オプション `symbol` の値をミラーする | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| --------- | ------------- | ----------------------------------------------- | +| region | `us-central1` | 現在のGCPリージョン | +| account | `foo` | 現在のGCPプロファイル | +| domain | `example.com` | 現在のGCPプロファイルのドメイン | +| project | | 現在のGCPプロジェクト | +| active | `default` | `~/.config/gcloud/active_config` に書かれたアクティブな設定名 | +| symbol | | オプション `symbol` の値をミラーする | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -1588,31 +1588,31 @@ very-long-project-name = 'vlpn' ## Git Branch -The `git_branch` module shows the active branch of the repo in your current directory. +`git_branch`モジュールは、現在のディレクトリにあるリポジトリのアクティブなブランチを表示します。 ### オプション -| オプション | デフォルト | 説明 | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | module のフォーマットです。 Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | モジュールのスタイルです。 | -| `truncation_length` | `2^63 - 1` | Truncates a git branch to `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| オプション | デフォルト | 説明 | +| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------- | +| `always_show_remote` | `false` | ローカルブランチ名と等しい場合でも、リモート追跡ブランチ名を表示します。 | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | module のフォーマットです。 Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | gitブランチのシンボルを表すフォーマット文字列。 | +| `style` | `'bold purple'` | モジュールのスタイルです。 | +| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | +| `truncation_symbol` | `'…'` | ブランチ名切り捨てられていることを示すための記号です。 You can use `''` for no symbol. | +| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | +| `ignore_branches` | `[]` | 表示しない名前のリスト。 Useful for 'master' or 'main'. | +| `disabled` | `false` | `git_branch`モジュールを無効にします。 | ### 変数 -| 変数 | 設定例 | 説明 | -| ------------- | -------- | ------------------------------------------------------------------------------------------------------ | -| 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 | | オプション `symbol` の値をミラーする | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| ------------- | -------- | ---------------------------------------------------------- | +| branch | `master` | 現在のブランチがない場合は、現在のブランチ名は`HEAD`に戻ります(例: git detached `HEAD`) | +| remote_name | `origin` | リモート名 | +| remote_branch | `master` | `remote_name`で追跡されたブランチ名 | +| symbol | | オプション `symbol` の値をミラーする | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -1630,26 +1630,26 @@ ignore_branches = ['master', 'main'] ## Git コミット -The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. +`git_commit` モジュールは、カレントディレクトリのリポジトリの現在のコミットハッシュとタグ (もしあれば) を表示します。 ### オプション | オプション | デフォルト | 説明 | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | 表示される git コミットハッシュの長さ。 | | `format` | `'[\($hash$tag\)]($style) '` | module のフォーマットです。 | | `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. | +| `only_detached` | `true` | detached `HEAD` 状態のときのみ git コミットハッシュを表示する | +| `tag_disabled` | `true` | `git_commit` モジュールのタグ情報の表示を無効にする。 | | `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. | -| `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `tag_symbol` | `' 🏷 '` | 表示される情報の前に追加されるタグシンボル | +| `disabled` | `false` | `git_commit` モジュールを無効にします。 | ### 変数 | 変数 | 設定例 | 説明 | | --------- | --------- | -------------------------------------------- | -| hash | `b703eb3` | The current git commit hash | +| hash | `b703eb3` | 現在の git コミットハッシュ | | tag | `v1.0.0` | The tag name if showing tag info is enabled. | | style\* | | オプション `style` の値をミラーする | @@ -1667,31 +1667,31 @@ tag_symbol = '🔖 ' ## Git State -The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too. +`git_state`モジュールはgitディレクトリの進行状態を表します。 (例: _REBASING_, _BISECTING_, その他) 進行状況の情報がある場合は (例:REBASING 3/10)、その情報も表示されます。 ### オプション -| オプション | デフォルト | 説明 | -| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. | -| `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. | -| `revert` | `'REVERTING'` | A format string displayed when a `revert` is in progress. | -| `cherry_pick` | `'CHERRY-PICKING'` | A format string displayed when a `cherry-pick` is in progress. | -| `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'` | モジュールのスタイルです。 | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | module のフォーマットです。 | -| `disabled` | `false` | Disables the `git_state` module. | +| オプション | デフォルト | 説明 | +| -------------- | --------------------------------------------------------------- | -------------------------------------------------------- | +| `rebase` | `'REBASING'` | `rebase`進行中に表示されるフォーマット文字列です。 | +| `merge` | `'MERGING'` | `merge`進行中に表示されるフォーマット文字列です。 | +| `revert` | `'REVERTING'` | `revert`進行中に表示されるフォーマット文字列です。 | +| `cherry_pick` | `'CHERRY-PICKING'` | `cherry-pick`進行中に表示されるフォーマット文字列です。 | +| `bisect` | `'BISECTING'` | `bisect`進行中に表示されるフォーマット文字列です。 | +| `am` | `'AM'` | `apply-mailbox` (`git am`) 進行中に表示されるフォーマット文字列です。 | +| `am_or_rebase` | `'AM/REBASE'` | あいまいな`apply-mailbox`または`rebase`が進行中のときに表示されるフォーマット文字列です。 | +| `style` | `'bold yellow'` | モジュールのスタイルです。 | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | module のフォーマットです。 | +| `disabled` | `false` | `git_state`モジュールを無効にします。 | ### 変数 -| 変数 | 設定例 | 説明 | -| ---------------- | ---------- | ------------------------------ | -| state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| ---------------- | ---------- | ---------------------- | +| state | `REBASING` | 現在のリポジトリの状態 | +| progress_current | `1` | 現在の進行状態 | +| progress_total | `2` | 全体の進行状態 | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: @@ -1748,38 +1748,38 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git Status -The `git_status` module shows symbols representing the state of the repo in your current directory. +`git_status` モジュールは、カレントディレクトリのリポジトリの状態を表すシンボルを表示します。 ::: tip -The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths. +WSL環境のWindowsディレクトリ(例: `/mnt/c/`以下) では、Git Statusモジュールは動作が非常に遅いです。 モジュールを無効にするか、`windows_starship`オプションを使用することで、WindowsネイティブのStarshipを使用し、対象の`git_status`を計算できます。 ::: ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | -| `ahead` | `'⇡'` | The format of `ahead` | -| `behind` | `'⇣'` | The format of `behind` | -| `diverged` | `'⇕'` | The format of `diverged` | -| `up_to_date` | `''` | The format of `up_to_date` | -| `untracked` | `'?'` | The format of `untracked` | -| `stashed` | `'$'` | The format of `stashed` | -| `modified` | `'!'` | The format of `modified` | -| `staged` | `'+'` | The format of `staged` | -| `renamed` | `'»'` | The format of `renamed` | -| `deleted` | `'✘'` | The format of `deleted` | -| `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. | +| オプション | デフォルト | 説明 | +| ------------------- | ----------------------------------------------- | ---------------------------------------------------------------------- | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | `git_status` のデフォルトフォーマット | +| `conflicted` | `'='` | このブランチにはマージの競合があります。 | +| `ahead` | `'⇡'` | `ahead`のフォーマット | +| `behind` | `'⇣'` | `behind`のフォーマット | +| `diverged` | `'⇕'` | `diverged`のフォーマット | +| `up_to_date` | `''` | `up_to_date`のフォーマット | +| `untracked` | `'?'` | `untracked`のフォーマット | +| `stashed` | `'$'` | `stashed`のフォーマット | +| `modified` | `'!'` | `modified`のフォーマット | +| `staged` | `'+'` | `staged`のフォーマット | +| `renamed` | `'»'` | `renamed`のフォーマット | +| `deleted` | `'✘'` | `deleted`のフォーマット | +| `style` | `'bold red'` | モジュールのスタイルです。 | +| `ignore_submodules` | `false` | サブモジュールの変更を無視します。 | +| `disabled` | `false` | `git_status`モジュールを無効にします。 | +| `windows_starship` | | WSLでWindowsディレクトリの`git_status`で使用するWindows Starshipの実行ファイルのLinux上でのパス。 | ### 変数 -The following variables can be used in `format`: +` format` 内では以下の変数が利用できます。 | 変数 | 説明 | | -------------- | ------------------------------------------------------------------------------------------------------------- | @@ -1805,9 +1805,9 @@ The following variables can be used in `diverged`: The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: -| 変数 | 説明 | -| ------- | ------------------------ | -| `count` | Show the number of files | +| 変数 | 説明 | +| ------- | ------------- | +| `count` | ファイルの数を表示します。 | ### 設定例 @@ -1850,7 +1850,7 @@ 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/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`golang`モジュールは、現在インストールされている[Go](https://golang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`go.mod`ファイルが含まれている - カレントディレクトリに`go.sum`ファイルが含まれている @@ -1873,7 +1873,7 @@ The `golang` module shows the currently installed version of [Go](https://golang | `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `['Godeps']` | どのフォルダーがこのモジュールをアクティブにするか | | `style` | `'bold cyan'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | `golang`モジュールを無効にします。 | ### 変数 @@ -2036,7 +2036,7 @@ format = "via [⌘ $version](bold fg:202) " ## Helm -The `helm` module shows the currently installed version of [Helm](https://helm.sh/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`helm`モジュールは、現在インストールされている[Helm](https://helm.sh/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`helmfile.yaml`ファイルが含まれている - カレントディレクトリに`Chart.yaml`ファイルが含まれている @@ -2075,18 +2075,18 @@ format = 'via [⎈ $version](bold white) ' ## ホスト名 -The `hostname` module shows the system hostname. +`hostname`モジュールには、システムのホスト名が表示されます。 ### オプション -| オプション | デフォルト | 説明 | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | module のフォーマットです。 | -| `style` | `'bold dimmed green'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `hostname` module. | +| オプション | デフォルト | 説明 | +| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | SSHセッションに接続されている場合にのみホスト名を表示します。 | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | この文字が最初にマッチするまでをホスト名と認識します。 `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | module のフォーマットです。 | +| `style` | `'bold dimmed green'` | モジュールのスタイルです。 | +| `disabled` | `false` | `hostname`モジュールを無効にします。 | ### 変数 @@ -2112,23 +2112,23 @@ disabled = false ## Java -The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`Java`モジュールは、現在インストールされている[Java](https://www.oracle.com/java/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - カレントディレクトリに拡張子が`.java`、`.class`、`.gradle`、`.jar`、`.clj`または`.cljc`のファイルが含まれている ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | -| `format` | `'via [${symbol}(${version} )]($style)'` | module のフォーマットです。 | -| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`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']` | どのファイル名がこのモジュールをアクティブにするか | -| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `java` module. | +| オプション | デフォルト | 説明 | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | +| `format` | `'via [${symbol}(${version} )]($style)'` | module のフォーマットです。 | +| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`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` | `java`モジュールを無効にします。 | ### 変数 @@ -2149,9 +2149,9 @@ The `java` module shows the currently installed version of [Java](https://www.or symbol = '🌟 ' ``` -## Jobs +## ジョブ -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +`jobs`モジュールには、実行中のジョブの現在の数が表示されます。 このモジュールは、実行中のバックグラウンドジョブがある場合にのみ表示されます。 The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. The default functionality is: @@ -2175,13 +2175,13 @@ The `threshold` option is deprecated, but if you want to use it, the module will | オプション | デフォルト | 説明 | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `threshold`* | `1` | Show number of jobs if exceeded. | +| `threshold`* | `1` | 超過した場合、ジョブの数を表示します。 | | `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) '` | module のフォーマットです。 | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | | `style` | `'bold blue'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `jobs` module. | +| `disabled` | `false` | `jobs`モジュールを無効にします。 | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2189,7 +2189,7 @@ The `threshold` option is deprecated, but if you want to use it, the module will | 変数 | 設定例 | 説明 | | --------- | --- | ----------------------- | -| number | `1` | The number of jobs | +| number | `1` | ジョブの数 | | symbol | | オプション `symbol` の値をミラーする | | style\* | | オプション `style` の値をミラーする | @@ -2208,7 +2208,7 @@ symbol_threshold = 0 ## Julia -The `julia` module shows the currently installed version of [Julia](https://julialang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`julia`モジュールは、現在インストールされている[Julia](https://julialang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`Project.toml`ファイルが含まれている - カレントディレクトリに`Manifest.toml`ファイルが含まれている @@ -2223,15 +2223,15 @@ The `julia` module shows the currently installed version of [Julia](https://juli | `detect_extensions` | `['jl']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `['Project.toml', 'Manifest.toml']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | -| `symbol` | `'ஃ '` | A format string representing the symbol of Julia. | +| `symbol` | `'ஃ '` | Juliaのシンボルを表すフォーマット文字列 | | `style` | `'bold purple'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `julia` module. | +| `disabled` | `false` | `julia`モジュールを無効にします。 | ### 変数 | 変数 | 設定例 | 説明 | | --------- | -------- | ----------------------- | -| version | `v1.4.0` | The version of `julia` | +| version | `v1.4.0` | `julia`のバージョン | | symbol | | オプション `symbol` の値をミラーする | | style\* | | オプション `style` の値をミラーする | @@ -2248,29 +2248,29 @@ symbol = '∴ ' ## Kotlin -The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`kotlin`モジュールは、現在インストールされている[Kotlin](https://kotlinlang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`.kt`もしくは`.kts`ファイルが含まれている ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | -| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `detect_extensions` | `['kt', 'kts']` | どの拡張子がこのモジュールをアクティブにするか | -| `detect_files` | `[]` | どのファイル名がこのモジュールをアクティブにするか | -| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | -| `symbol` | `'🅺 '` | A format string representing the symbol of Kotlin. | -| `style` | `'bold blue'` | モジュールのスタイルです。 | -| `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `kotlin` module. | +| オプション | デフォルト | 説明 | +| ------------------- | ------------------------------------ | ------------------------------------------------------ | +| `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | +| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | +| `detect_extensions` | `['kt', 'kts']` | どの拡張子がこのモジュールをアクティブにするか | +| `detect_files` | `[]` | どのファイル名がこのモジュールをアクティブにするか | +| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | +| `symbol` | `'🅺 '` | Kotlinのシンボルを表すフォーマット文字列 | +| `style` | `'bold blue'` | モジュールのスタイルです。 | +| `kotlin_binary` | `'kotlin'` | Starshipがバージョンを取得するときに実行するkotlinバイナリを設定します。 | +| `disabled` | `false` | `kotlin`モジュールを無効にします。 | ### 変数 | 変数 | 設定例 | 説明 | | --------- | --------- | ----------------------- | -| version | `v1.4.21` | The version of `kotlin` | +| version | `v1.4.21` | `kotlin`のバージョン | | symbol | | オプション `symbol` の値をミラーする | | style\* | | オプション `style` の値をミラーする | @@ -2295,11 +2295,11 @@ kotlin_binary = 'kotlinc' ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. 環境変数`$KUBECONFIG`が設定されている場合、このモジュールはそれを利用し、`~/.kube/config`を利用しません。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2307,28 +2307,28 @@ When the module is enabled it will always be active, unless any of `detect_exten ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | -| `symbol` | `'☸ '` | A format string representing the symbol displayed before the Cluster. | -| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | module のフォーマットです。 | -| `style` | `'cyan bold'` | モジュールのスタイルです。 | -| `context_aliases` | `{}` | Table of context aliases to display. | -| `user_aliases` | `{}` | Table of user aliases to display. | -| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか | -| `detect_files` | `[]` | どのファイル名がこのモジュールをアクティブにするか | -| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | -| `disabled` | `true` | Disables the `kubernetes` module. | +| オプション | デフォルト | 説明 | +| ------------------- | ---------------------------------------------------- | --------------------------------- | +| `symbol` | `'☸ '` | クラスター名の前に表示されるシンボルを表すフォーマット文字列。 | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | module のフォーマットです。 | +| `style` | `'cyan bold'` | モジュールのスタイルです。 | +| `context_aliases` | `{}` | コンテキストの表示エイリアスを定義するテーブル。 | +| `user_aliases` | `{}` | Table of user aliases to display. | +| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか | +| `detect_files` | `[]` | どのファイル名がこのモジュールをアクティブにするか | +| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | +| `disabled` | `true` | `kubernetes` モジュールを無効にする。 | ### 変数 -| 変数 | 設定例 | 説明 | -| --------- | -------------------- | ---------------------------------------- | -| 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 | | オプション `symbol` の値をミラーする | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| --------- | -------------------- | -------------------------------------- | +| context | `starship-context` | The current kubernetes context name | +| namespace | `starship-namespace` | 設定されている場合、現在の Kubernetes の namespace 名 | +| user | `starship-user` | If set, the current kubernetes user | +| cluster | `starship-cluster` | If set, the current kubernetes cluster | +| symbol | | オプション `symbol` の値をミラーする | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,23 +2372,23 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break -The `line_break` module separates the prompt into two lines. +`line_break` モジュールは、プロンプトを2行に分割します。 ### オプション -| オプション | デフォルト | 説明 | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| オプション | デフォルト | 説明 | +| ---------- | ------- | -------------------------------------- | +| `disabled` | `false` | `line_break` モジュールを無効にして、プロンプトを1行にします。 | ### 設定例 @@ -2399,25 +2399,25 @@ The `line_break` module separates the prompt into two lines. disabled = true ``` -## Local IP +## ローカルIP -The `localip` module shows the IPv4 address of the primary network interface. +`localip`モジュールは、プライマリネットワークインターフェイスのIPv4アドレスを表示します。 ### オプション -| オプション | デフォルト | 説明 | -| ---------- | ------------------------- | ------------------------------------------------------ | -| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `'[$localipv4]($style) '` | module のフォーマットです。 | -| `style` | `'bold yellow'` | モジュールのスタイルです。 | -| `disabled` | `true` | Disables the `localip` module. | +| オプション | デフォルト | 説明 | +| ---------- | ------------------------- | ----------------------------------- | +| `ssh_only` | `true` | SSHセッションに接続されている場合にのみ、IPアドレスを表示します。 | +| `format` | `'[$localipv4]($style) '` | module のフォーマットです。 | +| `style` | `'bold yellow'` | モジュールのスタイルです。 | +| `disabled` | `true` | `localip`モジュールを無効にします。 | ### 変数 -| 変数 | 設定例 | 説明 | -| --------- | ------------ | --------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| --------- | ------------ | ---------------------- | +| localipv4 | 192.168.1.13 | プライマリIPv4アドレスが含まれています | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -2434,7 +2434,7 @@ disabled = false ## Lua -The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`lua`モジュールは、現在インストールされている[Lua](http://www.lua.org/) のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`.lua-version`ファイルが含まれている - カレントディレクトリに`lua`ディレクトリが含まれている @@ -2442,23 +2442,23 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o ### オプション -| オプション | デフォルト | 説明 | -| ------------------- | ------------------------------------ | -------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | -| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `symbol` | `'🌙 '` | A format string representing the symbol of Lua. | -| `detect_extensions` | `['lua']` | どの拡張子がこのモジュールをアクティブにするか | -| `detect_files` | `['.lua-version']` | どのファイル名がこのモジュールをアクティブにするか | -| `detect_folders` | `['lua']` | どのフォルダーがこのモジュールをアクティブにするか | -| `style` | `'bold blue'` | モジュールのスタイルです。 | -| `lua_binary` | `'lua'` | Configures the lua binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `lua` module. | +| オプション | デフォルト | 説明 | +| ------------------- | ------------------------------------ | ------------------------------------------------------ | +| `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | +| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | +| `symbol` | `'🌙 '` | Luaのシンボルを表すフォーマット文字列 | +| `detect_extensions` | `['lua']` | どの拡張子がこのモジュールをアクティブにするか | +| `detect_files` | `['.lua-version']` | どのファイル名がこのモジュールをアクティブにするか | +| `detect_folders` | `['lua']` | どのフォルダーがこのモジュールをアクティブにするか | +| `style` | `'bold blue'` | モジュールのスタイルです。 | +| `lua_binary` | `'lua'` | Starshipがバージョンを取得するときに実行するLuaバイナリを設定します。 | +| `disabled` | `false` | `lua`モジュールを無効にします。 | ### 変数 | 変数 | 設定例 | 説明 | | --------- | -------- | ----------------------- | -| version | `v5.4.0` | The version of `lua` | +| version | `v5.4.0` | `lua` のバージョン | | symbol | | オプション `symbol` の値をミラーする | | style\* | | オプション `style` の値をミラーする | @@ -2473,27 +2473,27 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## メモリ使用量 -The `memory_usage` module shows current system memory and swap usage. +`memory_usage` モジュールは、現在のシステムメモリとスワップ使用量を示します。 -By default the swap usage is displayed if the total system swap is non-zero. +デフォルトでは、システムスワップの合計がゼロ以外の場合、スワップ使用量が表示されます。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: ### オプション -| オプション | デフォルト | 説明 | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | module のフォーマットです。 | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | モジュールのスタイルです。 | -| `disabled` | `true` | Disables the `memory_usage` module. | +| オプション | デフォルト | 説明 | +| ----------- | ----------------------------------------------- | --------------------------- | +| `threshold` | `75` | この閾値を超えない限り、メモリ使用率は表示されません。 | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | module のフォーマットです。 | +| `symbol` | `'🐏'` | メモリ使用率を表示する前に使用される記号です。 | +| `style` | `'bold dimmed white'` | モジュールのスタイルです。 | +| `disabled` | `true` | `memory_usage`モジュールを無効にします。 | ### 変数 @@ -2571,7 +2571,7 @@ The `hg_branch` module shows the active branch and topic of the repo in your cur | `style` | `'bold purple'` | モジュールのスタイルです。 | | `format` | `'on [$symbol$branch(:$topic)]($style) '` | module のフォーマットです。 | | `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. | +| `truncation_symbol` | `'…'` | ブランチ名切り捨てられていることを示すための記号です。 | | `disabled` | `true` | Disables the `hg_branch` module. | ### 変数 @@ -2598,7 +2598,7 @@ truncation_symbol = '' ## Nim -The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`nim`モジュールは、現在インストールされている[Nim](https://nim-lang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`nim.cfg`ファイルが含まれている - カレントディレクトリに拡張子が`.nim`のファイルが含まれている @@ -2640,7 +2640,7 @@ symbol = '🎣 ' ## Nix-shell -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. +`nix_shell`モジュールは[nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html)環境を表示します。 このモジュールは、nixシェル環境内にあるときに表示されます。 ### オプション @@ -2652,7 +2652,7 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `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. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | `nix_shell`モジュールを無効にします。 | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### 変数 @@ -2681,7 +2681,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) ' ## Node.js -The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`nodejs`モジュールは、現在インストールされている[Node.js](https://nodejs.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`package.json`ファイルが含まれている - カレントディレクトリに`.node-version`ファイルが含まれている @@ -2701,7 +2701,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n | `detect_files` | `['package.json', '.node-version']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `['node_modules']` | どのフォルダーがこのモジュールをアクティブにするか | | `style` | `'bold green'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `nodejs` module. | +| `disabled` | `false` | `nodejs`モジュールを無効にします。 | | `not_capable_style` | `bold red` | The style for the module when an engines property in package.json does not match the Node.js version. | ### 変数 @@ -2725,7 +2725,7 @@ format = 'via [🤖 $version](bold green) ' ## OCaml -The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`ocaml`モジュールは、現在インストールされている[OCaml](https://ocaml.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに拡張子`.opam`のファイルまたは`_opam`ディレクトリが含まれている - カレントディレクトリに`esy.lock`ディレクトリが含まれている @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,9 +2940,9 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## パッケージのバージョン -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +`package` モジュールは、現在のディレクトリがパッケージのリポジトリである場合に表示され、現在のバージョンが表示されます。 The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2964,14 +2966,14 @@ The `package` module is shown when the current directory is the repository for a ### オプション -| オプション | デフォルト | 説明 | -| ----------------- | --------------------------------- | ---------------------------------------------------------- | -| `format` | `'is [$symbol$version]($style) '` | module のフォーマットです。 | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | -| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `style` | `'bold 208'` | モジュールのスタイルです。 | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| オプション | デフォルト | 説明 | +| ----------------- | --------------------------------- | --------------------------------------------------------- | +| `format` | `'is [$symbol$version]($style) '` | module のフォーマットです。 | +| `symbol` | `'📦 '` | パッケージのバージョンを表示する前に使用される記号です。 | +| `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | +| `style` | `'bold 208'` | モジュールのスタイルです。 | +| `display_private` | `false` | Enable displaying version for packages marked as private. | +| `disabled` | `false` | `package` モジュールを無効にします。 | ### 変数 @@ -2994,7 +2996,7 @@ format = 'via [🎁 $version](208 bold) ' ## Perl -The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`perl`モジュールは、現在インストールされている[Perl](https://www.perl.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`Makefile.PL`または`Build.PL`ファイルが含まれている - カレントディレクトリに`cpanfile`または`cpanfile.snapshot`ファイルが含まれている @@ -3034,7 +3036,7 @@ format = 'via [🦪 $version]($style) ' ## PHP -The `php` module shows the currently installed version of [PHP](https://www.php.net/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`php`モジュールは、現在インストールされている[PHP](https://www.php.net/) のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`composer.json`ファイルが含まれている - カレントディレクトリに`.php-version`ファイルが含まれている @@ -3046,12 +3048,12 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------- | ------------------------------------ | ------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | | `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `symbol` | `'🐘 '` | The symbol used before displaying the version of PHP. | +| `symbol` | `'🐘 '` | PHPのバージョンを表示する前に使用される記号です。 | | `detect_extensions` | `['php']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `['composer.json', '.php-version']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | | `style` | `'147 bold'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | `php`モジュールを無効にします。 | ### 変数 @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | モジュールのスタイルです。 | | `format` | `'on [$symbol$channel]($style) '` | module のフォーマットです。 | | `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. | +| `truncation_symbol` | `'…'` | ブランチ名切り捨てられていることを示すための記号です。 | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3093,7 +3095,7 @@ The `pulumi` module shows the current username, selected [Pulumi Stack](https:// ::: tip -By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms). If you still want to enable it, [follow the example shown below](#with-pulumi-version). +By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms). それでも有効にしたい場合は、 [以下の例に従ってください](#with-pulumi-version). ::: @@ -3147,7 +3149,7 @@ format = '[$symbol$stack]($style) ' ## PureScript -The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`purescript`モジュールは、現在インストールされている[PureScript](https://www.purescript.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`spago.dhall`ファイルが含まれている - カレントディレクトリに拡張子が`.purs`のファイルが含まれている @@ -3188,7 +3190,7 @@ format = 'via [$symbol$version](bold white)' The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated. -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`. +`pyenvversionname` が `true` に設定されている場合 、pyenv でのバージョン名が表示されます 。 そうでなければ、`python --version` を元にバージョン番号を表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 @@ -3210,13 +3212,13 @@ If `pyenv_version_name` is set to `true`, it will display the pyenv version name | `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | | `symbol` | `'🐍 '` | A format string representing the symbol of Python | | `style` | `'yellow bold'` | モジュールのスタイルです。 | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | pyenvを使用してPythonバージョンを取得します | | `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']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | `python`モジュールを無効にします。 | ::: tip @@ -3275,7 +3277,7 @@ python_binary = ['./venv/bin/python', 'python', 'python3', 'python2'] ## R -The `rlang` module shows the currently installed version of [R](https://www.r-project.org/). The module will be shown if any of the following conditions are met: +`rlang`モジュールは、現在インストールされている[R](https://www.r-project.org/)のバージョンを表示します。 次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに拡張子が`.R`のファイルが含まれている - カレントディレクトリに拡張子が`.Rd`のファイルが含まれている @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +デフォルトでは`red`モジュールは、現在インストールされている[Red](https://www.red-lang.org/)のバージョンを表示します。 次の条件のいずれかが満たされると、モジュールが表示されます: - カレントディレクトリに拡張子が`.red` or `.reds`のファイルが含まれている @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +デフォルトでは`ruby`モジュールは現在インストールされている[Ruby](https://www.ruby-lang.org/)のバージョンを表示します。 次の条件のいずれかが満たされると、モジュールが表示されます: - カレントディレクトリに`Gemfile`ファイルが含まれている - カレントディレクトリに `.ruby-version` ファイルが含まれている @@ -3408,13 +3410,13 @@ Starship gets the current Ruby version by running `ruby -v`. | ------------------- | ------------------------------------ | ------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | | `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | +| `symbol` | `'💎 '` | Rubyのシンボルを表すフォーマット文字列. | | `detect_extensions` | `['rb']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `['Gemfile', '.ruby-version']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | | `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | | `style` | `'bold red'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `ruby` module. | +| `disabled` | `false` | `ruby`モジュールを無効にします。 | ### 変数 @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +デフォルトでは`rust`モジュールは現在インストールされている[Rust](https://www.rust-lang.org/)のバージョンを表示します。 次の条件のいずれかが満たされると、モジュールが表示されます: - カレントディレクトリに`Cargo.toml`ファイルが含まれている - カレントディレクトリに`.rs`の拡張子のファイルが含まれている @@ -3448,18 +3450,18 @@ By default the `rust` module shows the currently installed version of [Rust](htt | ------------------- | ------------------------------------ | ------------------------------------------------------ | | `format` | `'via [$symbol($version )]($style)'` | module のフォーマットです。 | | `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | +| `symbol` | `'🦀 '` | Rustのシンボルを表すフォーマット文字列 | | `detect_extensions` | `['rs']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `['Cargo.toml']` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか | | `style` | `'bold red'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | `rust`モジュールを無効にします。 | ### 変数 | 変数 | 設定例 | 説明 | | --------- | ----------------- | -------------------------------------------- | -| version | `v1.43.0-nightly` | The version of `rustc` | +| version | `v1.43.0-nightly` | `rustc`のバージョン | | numver | `1.51.0` | The numeric component of the `rustc` version | | toolchain | `beta` | The toolchain version | | symbol | | オプション `symbol` の値をミラーする | @@ -3478,7 +3480,7 @@ format = 'via [⚙️ $version](red bold)' ## Scala -The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`scala` モジュールは、現在インストールされている[Scala](https://www.scala-lang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`build.sbt`、`.scalaenv`または`.sbtenv`ファイルが含まれている - カレントディレクトリに拡張子が`.scala`または`.sbt`のファイルが含まれている @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | 変数 | デフォルト | 説明 | | --------- | ----- | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | オプション `style` の値をミラーする. | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### 変数 -| 変数 | 設定例 | 説明 | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | オプション `symbol` の値をミラーする | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` の値をミラーする | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +デフォルトでは`swift` モジュールは、現在インストールされている[Swift](https://swift.org/)のバージョンを表示します。 次の条件のいずれかが満たされると、モジュールが表示されます: - カレントディレクトリに`Package.swift`ファイルが含まれている - カレントディレクトリに拡張子が`.swift`のファイルが含まれている @@ -3819,11 +3821,11 @@ format = 'via [🏎 $version](red bold)' ## Terraform -The `terraform` module shows the currently selected [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) and version. +`terraform` モジュールは、現在選択されている[Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) とバージョンを表示します。 ::: tip -By default the Terraform version is not shown, since this is slow for current versions of Terraform when a lot of plugins are in use. If you still want to enable it, [follow the example shown below](#with-terraform-version). +Terraformのバージョンはデフォルトでは表示されません。多くのプラグインが使用されている場合、現在のTerraformのバージョンでは遅くなるからです。 それでも有効にしたい場合は、 [以下の例に従ってください](#with-terraform-version). ::: @@ -3838,21 +3840,21 @@ By default the Terraform version is not shown, since this is slow for current ve | ------------------- | ------------------------------------ | ------------------------------------------------------ | | `format` | `'via [$symbol$workspace]($style) '` | モジュールのフォーマット文字列。 | | `version_format` | `'v${raw}'` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 | -| `symbol` | `'💠'` | A format string shown before the terraform workspace. | +| `symbol` | `'💠'` | ワークスペースの前に表示されるフォーマット文字列。 | | `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | どの拡張子がこのモジュールをアクティブにするか | | `detect_files` | `[]` | どのファイル名がこのモジュールをアクティブにするか | | `detect_folders` | `['.terraform']` | どのフォルダーがこのモジュールをアクティブにするか | | `style` | `'bold 105'` | モジュールのスタイルです。 | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | `terraform` モジュールを無効にします。 | ### 変数 -| 変数 | 設定例 | 説明 | -| --------- | ---------- | ------------------------------- | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `default` | The current Terraform workspace | -| symbol | | オプション `symbol` の値をミラーする | -| style\* | | オプション `style` の値をミラーする | +| 変数 | 設定例 | 説明 | +| --------- | ---------- | ----------------------- | +| version | `v0.12.24` | `terraform` のバージョン | +| workspace | `default` | 現在のTerraformワークスペース | +| symbol | | オプション `symbol` の値をミラーする | +| style\* | | オプション `style` の値をミラーする | *: この変数は、スタイル文字列の一部としてのみ使用することができます。 @@ -3878,25 +3880,25 @@ format = '[🏎💨 $workspace]($style) ' ## 時刻 -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +`time`モジュールは、現在の**現地**時間を示します。 `format`設定は、時間の表示方法を制御するために[`chrono`](https://crates.io/crates/chrono)クレートによって使用されます。 使用可能なオプションを確認するには、[chrono strftimeのドキュメント](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html)をご覧ください。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで `disabled` を `false` に設定します。 ::: ### オプション -| オプション | デフォルト | 説明 | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | モジュールのフォーマット文字列。 | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| オプション | デフォルト | 説明 | +| ----------------- | ----------------------- | ----------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | モジュールのフォーマット文字列。 | +| `use_12hr` | `false` | 12時間のフォーマットを有効にします。 | +| `time_format` | この表の下を参照してください | 時刻のフォーマットに使用される[クロノフォーマット文字列](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) です。 | +| `style` | `'bold yellow'` | モジュールのスタイルです。 | +| `utc_time_offset` | `'local'` | 使用するUTCオフセットを設定します。 Range from -24 < x < 24. フロートが30/45分のタイムゾーンオフセットに対応できるようにします。 | +| `disabled` | `true` | `time`モジュールを無効にします。 | +| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. @@ -3922,9 +3924,9 @@ utc_time_offset = '-5' time_range = '10:00:00-14:00:00' ``` -## Username +## ユーザー名 -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +`username`モジュールはアクティブなユーザーのユーザー名を表示します。 次の条件のいずれかが満たされると、モジュールが表示されます: - The current user is root/admin - カレントユーザーが、ログインしているユーザーとは異なる @@ -3942,10 +3944,10 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` | オプション | デフォルト | 説明 | | ------------- | ----------------------- | ------------------------------------------- | | `style_root` | `'bold red'` | The style used when the user is root/admin. | -| `style_user` | `'bold yellow'` | The style used for non-root users. | +| `style_user` | `'bold yellow'` | 非rootユーザーに使用されるスタイルです。 | | `format` | `'[$user]($style) in '` | module のフォーマットです。 | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| `show_always` | `false` | `username` モジュールを常に表示します。 | +| `disabled` | `false` | `username` モジュールを無効にします。 | ### 変数 @@ -3969,7 +3971,7 @@ show_always = true ## Vagrant -The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`vagrant`モジュールは、現在インストールされている[Vagrant](https://www.vagrantup.com/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに`Vagrantfile`ファイルが含まれている @@ -4007,7 +4009,7 @@ format = 'via [⍱ $version](bold white) ' ## V -The `vlang` module shows you your currently installed version of [V](https://vlang.io/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 +`vlang`モジュールは、現在インストールされている[V](https://vlang.io/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。 - カレントディレクトリに拡張子が`.v`のファイルが含まれている - カレントディレクトリに`v.mod`、`vpkg.json`または`.vpkg-lock.json`ファイルが含まれている @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). 次の条件のいずれかが満たされると、モジュールが表示されます: - カレントディレクトリに拡張子が`.zig`のファイルが含まれている @@ -4155,8 +4157,8 @@ 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` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `shell` | | [この表の下を参照してください](#custom-command-shell) | +| `説明` | `''` | 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/faq/README.md b/docs/ja-JP/faq/README.md index c40235c4..6a8bb91e 100644 --- a/docs/ja-JP/faq/README.md +++ b/docs/ja-JP/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/ja-JP/guide/README.md b/docs/ja-JP/guide/README.md index e396cee3..4c137b99 100644 --- a/docs/ja-JP/guide/README.md +++ b/docs/ja-JP/guide/README.md @@ -169,7 +169,7 @@ ### 必要なもの -- [Nerd Font](https://www.nerdfonts.com/)がインストールされ、端末にて有効になっている(例えば、[Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)を試してみてください)。 +- 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)). ### Step 1. Starshipをインストール @@ -416,11 +416,11 @@ Starshipのさらなるカスタマイズを目指すなら以下を参考にし - **[reujab/silver](https://github.com/reujab/silver)** – アイコンと cross-shell 対応のカスタマイズ可能な 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/) diff --git a/docs/ja-JP/presets/README.md b/docs/ja-JP/presets/README.md index 37cdd724..cbfe7047 100644 --- a/docs/ja-JP/presets/README.md +++ b/docs/ja-JP/presets/README.md @@ -44,7 +44,7 @@ This preset will become the default preset [in a future release of starship](htt This preset does not show icons if the toolset is not found. -[![Screenshot of No Empty Icons preset](/presets/img/no-empty-icons.png "No Runtime Versionsプリセットを表示するにはクリックしてください")](./no-empty-icons.md) +[![Empty Icons プリセットのスクリーンショット](/presets/img/no-empty-icons.png "No Runtime Versionsプリセットを表示するにはクリックしてください")](./no-empty-icons.md) ## [Pure Prompt](./pure-preset.md) @@ -60,6 +60,6 @@ This preset does not show icons if the toolset is not found. ## [Tokyo Night](./tokyo-night.md) -This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme). +このプリセットは[tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme)を参考にしています。 -[![Screenshot of Tokyo Night preset](/presets/img/tokyo-night.png "Click to view Tokyo Night preset")](./tokyo-night) +[![Tokyo Night プリセットのスクリーンショット](/presets/img/tokyo-night.png "Click to view Tokyo Night preset")](./tokyo-night) diff --git a/docs/ja-JP/presets/no-empty-icons.md b/docs/ja-JP/presets/no-empty-icons.md index dc0e27cf..b511f37e 100644 --- a/docs/ja-JP/presets/no-empty-icons.md +++ b/docs/ja-JP/presets/no-empty-icons.md @@ -1,10 +1,10 @@ [プリセット一覧に戻る](./README.md#no-empty-icons) -# No Empty Icons Preset +# No Empty Icons プリセット If toolset files are identified the toolset icon is displayed. If the toolset is not found to determine its version number, it is not displayed. This preset changes the behavior to display the icon only if the toolset information can be determined. -![Screenshot of No Empty Icons preset](/presets/img/no-empty-icons.png) +![Empty Icons プリセットのスクリーンショット](/presets/img/no-empty-icons.png) ### 設定 diff --git a/docs/ja-JP/presets/no-nerd-font.md b/docs/ja-JP/presets/no-nerd-font.md index 05886afc..d25719d4 100644 --- a/docs/ja-JP/presets/no-nerd-font.md +++ b/docs/ja-JP/presets/no-nerd-font.md @@ -1,6 +1,6 @@ [プリセット一覧に戻る](./README.md#no-nerd-fonts) -# No Nerd Fonts Preset +# No Nerd Fonts プリセット This preset restricts the use of symbols to those from emoji and powerline sets. diff --git a/docs/ja-JP/presets/tokyo-night.md b/docs/ja-JP/presets/tokyo-night.md index 60153e2e..d5164955 100644 --- a/docs/ja-JP/presets/tokyo-night.md +++ b/docs/ja-JP/presets/tokyo-night.md @@ -1,14 +1,14 @@ [プリセット一覧に戻る](./README.md#pastel-powerline) -# Tokyo Night Preset +# Tokyo Night プリセット -This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme). +このプリセットは[tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme)を参考にしています。 -![Screenshot of Tokyo Night preset](/presets/img/tokyo-night.png) +![Tokyo Night プリセットのスクリーンショット](/presets/img/tokyo-night.png) ### 必要なもの -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal +- [Nerd Font](https://www.nerdfonts.com/)のインストールとターミナルでの有効化 ### 設定 diff --git a/docs/ko-KR/config/README.md b/docs/ko-KR/config/README.md index 64db4cb0..c7c059de 100644 --- a/docs/ko-KR/config/README.md +++ b/docs/ko-KR/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/ko-KR/faq/README.md b/docs/ko-KR/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/ko-KR/faq/README.md +++ b/docs/ko-KR/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/ko-KR/guide/README.md b/docs/ko-KR/guide/README.md index 3c4467fd..abc91a47 100644 --- a/docs/ko-KR/guide/README.md +++ b/docs/ko-KR/guide/README.md @@ -169,7 +169,7 @@ ### 준비 사항 -- 터미널에 [Nerd Font](https://www.nerdfonts.com/)가 설치되어 있고 사용 가능해야 합니다. (ex. [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)) +- 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)). ### 1단계. Starship 설치하기 diff --git a/docs/nl-NL/config/README.md b/docs/nl-NL/config/README.md index 64db4cb0..c7c059de 100644 --- a/docs/nl-NL/config/README.md +++ b/docs/nl-NL/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/nl-NL/faq/README.md b/docs/nl-NL/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/nl-NL/faq/README.md +++ b/docs/nl-NL/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/nl-NL/guide/README.md b/docs/nl-NL/guide/README.md index 7188a648..9ce5d33d 100644 --- a/docs/nl-NL/guide/README.md +++ b/docs/nl-NL/guide/README.md @@ -169,7 +169,7 @@ ### Benodigdheden -- Een [Nerd Font](https://www.nerdfonts.com/) is geïnstalleerd en ingeschakeld in je terminal (probeer bijvoorbeeld het [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Stap 1. Installeer Starship diff --git a/docs/no-NO/config/README.md b/docs/no-NO/config/README.md index 64db4cb0..c7c059de 100644 --- a/docs/no-NO/config/README.md +++ b/docs/no-NO/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/no-NO/faq/README.md b/docs/no-NO/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/no-NO/faq/README.md +++ b/docs/no-NO/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/no-NO/guide/README.md b/docs/no-NO/guide/README.md index 8c6043b8..90b31fd4 100644 --- a/docs/no-NO/guide/README.md +++ b/docs/no-NO/guide/README.md @@ -169,7 +169,7 @@ ### Nødvendig forutsetninger -- En [Nerd Font](https://www.nerdfonts.com/) installert og aktivert i terminalen (for eksempel [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Steg 1. Installer Starship diff --git a/docs/pl-PL/advanced-config/README.md b/docs/pl-PL/advanced-config/README.md index f1fdf66d..0f6428b3 100644 --- a/docs/pl-PL/advanced-config/README.md +++ b/docs/pl-PL/advanced-config/README.md @@ -1,6 +1,6 @@ # Zaawansowana konfiguracja -Mimo że Starship jest wszechstronny, czasem nie wystarczy modyfikacja pliku `starship.toml` żeby uzyskać pewne rzeczy. Na tej stronie opisano bardziej zaawansowane sposoby konfigurowania używane w Starship. +Mimo że Starship jest wszechstronny, czasem nie wystarczy modyfikacja pliku `starship.toml` żeby osiągnąć zamierzony efekt. Na tej stronie opisano bardziej zaawansowane sposoby konfigurowania używane w Starship. ::: warning diff --git a/docs/pl-PL/config/README.md b/docs/pl-PL/config/README.md index 4312736e..bfced8e4 100644 --- a/docs/pl-PL/config/README.md +++ b/docs/pl-PL/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Logi -Starship domyślnie loguje ostrzeżenia i błędy do pliku o nazwie`~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, gdzie klucz sesji odpowiada twojej instancji terminala. Można to zmienić za pomocą zmiennej środowiskowej `STARSHIP_CACHE`: +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. Można to zmienić za pomocą zmiennej środowiskowej `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| Zmienne | Example | Description | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Zmienne | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/pl-PL/faq/README.md b/docs/pl-PL/faq/README.md index ca452244..f88a28a5 100644 --- a/docs/pl-PL/faq/README.md +++ b/docs/pl-PL/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/pl-PL/guide/README.md b/docs/pl-PL/guide/README.md index 21b835bd..2ce4313c 100644 --- a/docs/pl-PL/guide/README.md +++ b/docs/pl-PL/guide/README.md @@ -169,7 +169,7 @@ ### Wymagania wstępne -- Czcionka typu [Nerd Font](https://www.nerdfonts.com/) zainstalowana i ustawiona w twoim terminalu (wypróbuj na przykład [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Krok 1. Zainstaluj Starship diff --git a/docs/pt-BR/config/README.md b/docs/pt-BR/config/README.md index 7986705e..786de617 100644 --- a/docs/pt-BR/config/README.md +++ b/docs/pt-BR/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Logging -Por padrão o starship grava logs de erros e warnings dentro de um arquivo chamado `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, onde a session key corresponde a instancia do seu terminal. Isto, no entanto pode ser alterado usando a variável de ambiente `STARSHIP_CACHE`: +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. Isto, no entanto pode ser alterado usando a variável de ambiente `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ Por exemplo, dado `~/Dev/Nix/nixpkgs/pkgs` onde `nixpkgs` é o repositório raiz 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interage com as opções de truncação padrão de uma forma que pode suprimir no começo: se não for zero, os componentes do path que normalmente seriam truncados são exibidos com todos caracteres. Por exemplo, o caminho `/built/this/city/on/rock/and/roll`, que normalmente seria exibido como`rock/and/roll`, seria exibido como `/b/t/c/o/rock/and/roll` com`fish_style_pwd_dir_length = 1`--os componentes de path que normalmente seriam removidos são exibidos com um único caractere. Para `fish_style_pwd_dir_length = 2`, seria `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interage com as opções de truncação padrão de uma forma que pode suprimir no começo: se não for zero, os componentes do path que normalmente seriam truncados são exibidos com todos caracteres. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. Para `fish_style_pwd_dir_length = 2`, seria `/bu/th/ci/on/rock/and/roll`. @@ -1336,7 +1336,7 @@ default = 'unknown user' | `variable` | | A variável de ambiente a ser exibida. | | `default` | | O valor padrão a ser exibido quando a variável selecionada não for definida. | | `format` | `"with [$env_value]($style) "` | O formato do módulo. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | +| `description` | `""` | A descrição do módulo, isto será exibido quando executar `starship explain`. | | `disabled` | `false` | Desabilita o módulo `env_var`. | ### Variáveis @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### Opções -| Opções | Padrão | Descrição | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | O formato do módulo. 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'` | O estilo do módulo. | -| `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. | +| Opções | Padrão | Descrição | +| ------------------- | -------------------------------- | ------------------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | O formato do módulo. 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'` | O estilo do módulo. | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | O simbolo usado para indicar que o nome braço foi truncado. You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Variáveis @@ -1515,28 +1515,28 @@ truncation_symbol = '' ## Google Cloud (`gcloud`) -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. +O módulo `gcloud` exibe a configuração atual para a CLI do [`gcloud`](https://cloud.google.com/sdk/gcloud). Isto é baseadp mp arquivo `~/.config/gcloud/active_config` e no arquivo`~/.config/gcloud/configurations/config_{CONFIG NAME}` e a env var `CLOUDSDK_CONFIG`. ### Opções -| Opções | Padrão | Descrição | -| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | O formato do módulo. | -| `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'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Opções | Padrão | Descrição | +| ----------------- | ---------------------------------------------------------- | ------------------------------------------------------------------- | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | O formato do módulo. | +| `symbol` | `'☁️ '` | O simbolo usado antes de exibir o perfil atual do GCP. | +| `region_aliases` | `{}` | Tabela de aliases de região para exibir além do nome do GCP. | +| `project_aliases` | `{}` | Tabela de apelidos do projeto a serem exibidos além do nome do GCP. | +| `style` | `'bold blue'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `gcloud`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------------- | ------------------------------------------------------------------ | -| 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` | +| region | `us-central1` | A região atual do GCP | +| account | `foo` | O perfil atual do GCP | +| domain | `example.com` | O perfil de domínio atual do GCP | +| project | | O projeto atual do GCP | +| active | `default` | O nome da configuração escrita em `~/.config/gcloud/active_config` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -1550,7 +1550,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud # ~/.config/starship.toml [gcloud] -format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' +format = 'em [$symbol$account(@$domain)(\($project\))]($style) ' ``` #### Exibe apenas o nome da configuração ativa @@ -1588,31 +1588,31 @@ very-long-project-name = 'vlpn' ## Git Branch -The `git_branch` module shows the active branch of the repo in your current directory. +O módulo `git_branch` exibe o branch ativo do repositório no diretório atual. ### Opções -| Opções | Padrão | Descrição | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | O formato do módulo. Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | O estilo do módulo. | -| `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Opções | Padrão | Descrição | +| -------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `always_show_remote` | `false` | Exibe o nome do braço remoto, mesmo se ele for igual ao nome do braço local. | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | O formato do módulo. Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | Um formato de string que representa o simbolo do git branch. | +| `style` | `'bold purple'` | O estilo do módulo. | +| `truncation_length` | `2^63 - 1` | Truncates um braço do git para `N` caracteres. | +| `truncation_symbol` | `'…'` | O simbolo usado para indicar que o nome braço foi truncado. You can use `''` for no symbol. | +| `only_attached` | `false` | Apenas exibe o nome do braço quando o estado não for detached `HEAD`. | +| `ignore_branches` | `[]` | Uma lista de nomes para evitar a exibição. Useful for 'master' or 'main'. | +| `disabled` | `false` | Desabilita o módulo `git_branch`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ------------- | -------- | ------------------------------------------------------------------------------------------------------ | -| 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 | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| ------------- | -------- | ------------------------------------------------------------------------------------------------- | +| branch | `master` | O nome do braço atual, retornará para `HEAD` se não tiver braço atual (e.x: git detached `HEAD`). | +| remote_name | `origin` | O nome do remoto. | +| remote_branch | `master` | O nome do braço rastreado no `remote_name`. | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -1630,26 +1630,26 @@ ignore_branches = ['master', 'main'] ## Git commit -The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. +O módulo `git_commit` exibe o hash do comiit atual e também a tag (se existir) do repositório no diretório atual. ### Opções | Opções | Padrão | Descrição | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | O tamanho do git commit hash para ser exibido. | | `format` | `'[\($hash$tag\)]($style) '` | O formato do módulo. | | `style` | `'bold green'` | O estilo do módulo. | -| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state | -| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. | +| `only_detached` | `true` | Apenas exibe o git commit hash quando o estado for detached `HEAD` | +| `tag_disabled` | `true` | Desabilita a exibição da informação da tag no módulo `git_commit`. | | `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. | -| `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `tag_symbol` | `' 🏷 '` | Simbolo da tag prefixado na informação a ser exibida | +| `disabled` | `false` | Desabilita o módulo `git_commit`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | --------- | -------------------------------------------- | -| hash | `b703eb3` | The current git commit hash | +| hash | `b703eb3` | A hash atual do git commit | | tag | `v1.0.0` | The tag name if showing tag info is enabled. | | style\* | | Espelha o valor da opção `style` | @@ -1667,31 +1667,31 @@ tag_symbol = '🔖 ' ## Git State -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. +O módulo `git_state` vai exibir nos diretorios que fazem parte de um repositorio git e onde existe uma operação em progresso, como: _REBASING_, _BISECTING_, etc. Se houver informação de progresso (e.x: REBASING 3/10). esta informação será exibida também. ### Opções -| Opções | Padrão | Descrição | -| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. | -| `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. | -| `revert` | `'REVERTING'` | A format string displayed when a `revert` is in progress. | -| `cherry_pick` | `'CHERRY-PICKING'` | A format string displayed when a `cherry-pick` is in progress. | -| `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'` | O estilo do módulo. | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | O formato do módulo. | -| `disabled` | `false` | Disables the `git_state` module. | +| Opções | Padrão | Descrição | +| -------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------ | +| `rebase` | `'REBASING'` | O formato de string exibida quando um `rebase` esta em progresso. | +| `merge` | `'MERGING'` | O formato de string exibida quando um `merge` esta em progresso. | +| `revert` | `'REVERTING'` | O formato de string exibida quando um `revert` esta em progresso. | +| `cherry_pick` | `'CHERRY-PICKING'` | O formato de string exibida quando um `cherry-pick` esta em progresso. | +| `bisect` | `'BISECTING'` | O formato de string exibida quando um `bisect` esta em progresso. | +| `am` | `'AM'` | O formato de string exibida quando um `apply-mailbox` (`git am`) esta em progresso. | +| `am_or_rebase` | `'AM/REBASE'` | O formato de string exibida quando um `apply-mailbox` or `rebase` esta em progresso. | +| `style` | `'bold yellow'` | O estilo do módulo. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | O formato do módulo. | +| `disabled` | `false` | Desabilita o módulo `git_state`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ---------------- | ---------- | -------------------------------- | -| state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| ---------------- | ---------- | -------------------------------------- | +| state | `REBASING` | O estado atual do repo | +| progress_current | `1` | O progresso da operação atual | +| progress_total | `2` | O total do progresso da operação atual | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -1707,32 +1707,32 @@ cherry_pick = '[🍒 PICKING](bold red)' ## Git Metrics -The `git_metrics` module will show the number of added and deleted lines in the current git repository. +O módulo `git_metrics` vai exibir o número de adições e exclusões de linhas no repositório git atual. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: ### Opções -| Opções | Padrão | Descrição | -| -------------------- | ------------------------------------------------------------ | ------------------------------------- | -| `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) )'` | O formato do módulo. | -| `disabled` | `true` | Disables the `git_metrics` module. | +| Opções | Padrão | Descrição | +| -------------------- | ------------------------------------------------------------ | ------------------------------------------- | +| `added_style` | `'bold green'` | O estilo para a contagem de adições. | +| `deleted_style` | `'bold red'` | O estilo para a contagem de exclusões. | +| `only_nonzero_diffs` | `true` | Exibe apenas o status para itens alterados. | +| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | O formato do módulo. | +| `disabled` | `true` | Desabilita o módulo `git_metrics`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ----------------- | ------- | ------------------------------------------- | -| 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` | +| Variável | Exemplo | Descrição | +| ----------------- | ------- | --------------------------------------- | +| added | `1` | O número atual de linhas adicionadas | +| deleted | `2` | O número atual de linhas excluidas | +| added_style\* | | Espelha o valor da opção `added_style` | +| deleted_style\* | | Espelha o valor da opção`deleted_style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -1748,66 +1748,66 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git Status -The `git_status` module shows symbols representing the state of the repo in your current directory. +O módulo `git_status` exibe o simbolo que representa o estado do repositório no diretório atual. ::: tip -The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths. +O módulo Git Status é muito lento nos diretórios do Windows (por exemplo, em `/mnt/c/`) quando em um ambiente WSL. Você pode desabilitar o módulo ou usar a opção `windows_starship` para usar um executável Starship nativo do Windows para calcular o `git_status` para esses caminhos. ::: ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | -| `ahead` | `'⇡'` | The format of `ahead` | -| `behind` | `'⇣'` | The format of `behind` | -| `diverged` | `'⇕'` | The format of `diverged` | -| `up_to_date` | `''` | The format of `up_to_date` | -| `untracked` | `'?'` | The format of `untracked` | -| `stashed` | `'$'` | The format of `stashed` | -| `modified` | `'!'` | The format of `modified` | -| `staged` | `'+'` | The format of `staged` | -| `renamed` | `'»'` | The format of `renamed` | -| `deleted` | `'✘'` | The format of `deleted` | -| `style` | `'bold red'` | O estilo do módulo. | -| `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. | +| Opções | Padrão | Descrição | +| ------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | O formato padrão para `git_status` | +| `conflicted` | `'='` | Este braço tem conflitos. | +| `ahead` | `'⇡'` | O formato do `ahead` | +| `behind` | `'⇣'` | O formato do `behind` | +| `diverged` | `'⇕'` | O formato do `diverged` | +| `up_to_date` | `''` | O formato do `up_to_date` | +| `untracked` | `'?'` | O formato do `untracked` | +| `stashed` | `'$'` | O formato do `stashed` | +| `modified` | `'!'` | O formato do `modified` | +| `staged` | `'+'` | O formato do `staged` | +| `renamed` | `'»'` | O formato do `renamed` | +| `deleted` | `'✘'` | O formato do `deleted` | +| `style` | `'bold red'` | O estilo do módulo. | +| `ignore_submodules` | `false` | Ignora as alterações de submódulos. | +| `disabled` | `false` | Desabilita o módulo `git_status`. | +| `windows_starship` | | Use este caminho (Linux) para um executável do Windows Starship renderizar o `git_status` quando estiver em caminhos do Windows no WSL. | ### Variáveis -The following variables can be used in `format`: +As variáveis a seguir podem ser usadas no `format`: -| Variável | Descrição | -| -------------- | ------------------------------------------------------------------------------------------------------------- | -| `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. | -| `conflicted` | Displays `conflicted` when this branch has merge conflicts. | -| `untracked` | Displays `untracked` when there are untracked files in the working directory. | -| `stashed` | Displays `stashed` when a stash exists for the local repository. | -| `modified` | Displays `modified` when there are file modifications in the working directory. | -| `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\* | Espelha o valor da opção `style` | +| Variável | Descrição | +| -------------- | ---------------------------------------------------------------------------------------------------------- | +| `all_status` | Atalhos para `$conflicted$stashed$deleted$renamed$modified$staged$untracked` | +| `ahead_behind` | Exibe `diverged`, `ahead`, `behind` or `up_to_date` conforme o formato da string do status do repositório. | +| `conflicted` | Exibe `conflicted` quando este braço tenha conflitos no merge. | +| `untracked` | Exibe `untracked` quando há arquivos não rastreados no diretório atual. | +| `stashed` | Exibe `stashed` quando um stash existe para o repositório local. | +| `modified` | Exibe `modified` quando um arquivo tenha modificações for adicionado na área de staging. | +| `staged` | Exibe `staged` quando um arquivo novo for adicionado na área de staging. | +| `renamed` | Exibe `renamed` quando um arquivo renomeado for adicionado na área de staging. | +| `deleted` | Exibe `deleted` quando um arquivo deletado for adicionado na área de staging. | +| style\* | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo -The following variables can be used in `diverged`: +As variáveis a seguir podem ser usadas em `diverged`: -| Variável | Descrição | -| -------------- | ---------------------------------------------- | -| `ahead_count` | Number of commits ahead of the tracking branch | -| `behind_count` | Number of commits behind the tracking branch | +| Variável | Descrição | +| -------------- | --------------------------------------------------- | +| `ahead_count` | Número de commits a frente do braço de rastreamento | +| `behind_count` | Número de commits atrás do braço de rastreamento | -The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: +As variaveis a seguir podem ser usadas em `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` e `deleted`: -| Variável | Descrição | -| -------- | ------------------------ | -| `count` | Show the number of files | +| Variável | Descrição | +| -------- | -------------------------- | +| `count` | Exibe o número de arquivos | ### Exemplo @@ -1828,7 +1828,7 @@ renamed = '👅' deleted = '🗑' ``` -Show ahead/behind count of the branch being tracked +Exibe o count a frente/atrás do braço que esta sendo rastreado ```toml # ~/.config/starship.toml @@ -1839,18 +1839,18 @@ diverged = '⇕⇡${ahead_count}⇣${behind_count}' behind = '⇣${count}' ``` -Use Windows Starship executable on Windows paths in WSL +Use o executável do Windows Starship em caminhos do Windows em WSL ```toml # ~/.config/starship.toml [git_status] -windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe' +windows_starship = '/mnt/c/Users/nomedousuario/scoop/apps/starship/current/starship.exe' ``` ## Go -The `golang` module shows the currently installed version of [Go](https://golang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `golang` exibe a versão instalada atual do [Go](https://golang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `go.mod` - O diretório atual conter um arquivo `go.sum` @@ -1868,18 +1868,18 @@ The `golang` module shows the currently installed version of [Go](https://golang | ------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐹 '` | A format string representing the symbol of Go. | +| `symbol` | `'🐹 '` | O formato da string que representa o simbolo do Go. | | `detect_extensions` | `['go']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `['Godeps']` | Quais pastas devem ativar este módulo. | | `style` | `'bold cyan'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Desabilita o módulo `golang`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | --------- | --------------------------------- | -| version | `v1.12.1` | The version of `go` | +| version | `v1.12.1` | A versão do `go` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -1963,7 +1963,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c ## Haskell -The `haskell` module finds the current selected GHC version and/or the selected Stack snapshot. +O módulo `haskell` encontra a versão atual do GHC selecionada e/ou o snapshot do Stack selecionado. Por padrão o módulo vai exibir se uma das condições a seguir for atendida: @@ -1972,25 +1972,25 @@ Por padrão o módulo vai exibir se uma das condições a seguir for atendida: ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ------------------------------------ | -------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | -| `symbol` | `'λ '` | A format string representing the symbol of Haskell | -| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Quais extensões devem ativar este módulo. | -| `detect_files` | `['stack.yaml', 'cabal.project']` | Quais nomes de arquivos devem ativar este módulo. | -| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `style` | `'bold purple'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `haskell` module. | +| Opções | Padrão | Descrição | +| ------------------- | ------------------------------------ | --------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | +| `symbol` | `'λ '` | Uma string de formato que representa o símbolo de Haskell | +| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Quais extensões devem ativar este módulo. | +| `detect_files` | `['stack.yaml', 'cabal.project']` | Quais nomes de arquivos devem ativar este módulo. | +| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | +| `style` | `'bold purple'` | O estilo do módulo. | +| `disabled` | `false` | Desativa o módulo `haskell`. | ### Variáveis -| Variável | Exemplo | Descrição | -| -------------- | ----------- | --------------------------------------------------------------------------------------- | -| 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 | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| -------------- | ----------- | ------------------------------------------------------------------------------ | +| version | | `ghc_version` ou o `snapshot` dependendo se o projeto atual é um projeto Stack | +| snapshot | `lts-18.12` | Snapshot do Stack selecionado | +| ghc\_version | `9.2.1` | Versão do GHC instalada | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -2011,7 +2011,7 @@ The `haxe` module shows the currently installed version of [Haxe](https://haxe.o | `detect_extensions` | `["hx", "hxml"]` | Quais extensões devem ativar este módulo. | | `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[".haxelib", "haxe_libraries"]` | Quais pastas devem ativar este módulo. | -| `symbol` | `"⌘ "` | A format string representing the symbol of Helm. | +| `symbol` | `"⌘ "` | O formato de string que representa o simbolo do Helm. | | `style` | `"bold fg:202"` | O estilo do módulo. | | `disabled` | `false` | Disables the `haxe` module. | @@ -2036,7 +2036,7 @@ format = "via [⌘ $version](bold fg:202) " ## Helm -The `helm` module shows the currently installed version of [Helm](https://helm.sh/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `helm` exibe a versão atual instalada do [Helm](https://helm.sh/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `helmfile.yaml` - O diretório atual contem um arquivo `Chart.yaml` @@ -2050,15 +2050,15 @@ The `helm` module shows the currently installed version of [Helm](https://helm.s | `detect_extensions` | `[]` | Quais extensões devem ativar este módulo. | | `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `symbol` | `'⎈ '` | A format string representing the symbol of Helm. | +| `symbol` | `'⎈ '` | O formato de string que representa o simbolo do Helm. | | `style` | `'bold white'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `helm` module. | +| `disabled` | `false` | Desabilita o módulo `helm`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v3.1.1` | The version of `helm` | +| version | `v3.1.1` | A versão do `helm` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2075,26 +2075,26 @@ format = 'via [⎈ $version](bold white) ' ## Hostname -The `hostname` module shows the system hostname. +O módulo `hostname` exibe o nome do hostname. ### Opções -| Opções | Padrão | Descrição | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | O formato do módulo. | -| `style` | `'bold dimmed green'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `hostname` module. | +| Opções | Padrão | Descrição | +| ------------ | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | Apenas exibe o hostname quando conectado em uma sessão SSH. | +| `ssh_symbol` | `'🌐 '` | Uma formatação de string que representa o símbolo quando conectado à sessão SSH. | +| `trim_at` | `'.'` | String na qual vai truncar o hostname, após a primeira correspondência. `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | O formato do módulo. | +| `style` | `'bold dimmed green'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `hostname`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ---------- | ---------- | ----------------------------------------------------- | -| hostname | `computer` | The hostname of the computer | -| style\* | | Espelha o valor da opção `style` | -| ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | +| Variável | Exemplo | Descrição | +| ---------- | ---------- | -------------------------------------------------------------- | +| hostname | `computer` | O hostname do computador | +| style\* | | Espelha o valor da opção `style` | +| ssh_symbol | `'🌏 '` | O símbolo a ser representado quando conectado à uma sessão SSH | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -2112,29 +2112,29 @@ disabled = false ## Java -The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `java` exibe o versão atual instalada do [Java](https://www.oracle.com/java/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - O diretório atual contenha arquivos com as extensões `.java`, `.class`, `.gradle`, `.jar`, `.clj`, or `.cljc` ### Opções -| Opções | Padrão | Descrição | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | O formato do módulo. | -| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Quais extensões devem ativar este módulo. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | Quais nomes de arquivos devem ativar este módulo. | -| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `java` module. | +| Opções | Padrão | Descrição | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | O formato do módulo. | +| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Quais extensões devem ativar este módulo. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Quais nomes de arquivos devem ativar este módulo. | +| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | +| `symbol` | `'☕ '` | Um formato de string que representa o simbolo do Java | +| `style` | `'red dimmed'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `java`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| version | `v14` | The version of `java` | +| version | `v14` | A versão do `java` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2151,9 +2151,9 @@ symbol = '🌟 ' ## Jobs -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +O módulo `jobs` exibe o número atual de jobs rodando. O módulo vai ser exibido apenas se existir jobs em segundo plano sendo executados. O módulo vai exibir o número de jobs rodando se ao menos tiver 2 jobs ou mais que o valor da configuração `number_threshold`, se existir. O módulo vai exibir um simbolo se tiver ao menos 1 job ou mais, se o valor da configuração `symbol_threshold` existir. Você pode setar os dois valores para 0 para _sempre_ exibir o simbolo e número de jobs, mesmo que seja 0 os jobs em execução. -The default functionality is: +A funcionalidade padrão é: - 0 jobs -> Nada é exibido. - 1 job -> `symbol` é exibido. @@ -2161,35 +2161,35 @@ The default functionality is: ::: atenção -This module is not supported on tcsh and nu. +Este módulo não é suportado em tcsh e nu. ::: ::: atenção -The `threshold` option is deprecated, but if you want to use it, the module will show the number of jobs running if there is more than 1 job, or more than the `threshold` config value, if it exists. If `threshold` is set to 0, then the module will also show when there are 0 jobs running. +A opção `threshold` está obsoleta, mas se você quiser usa-la, o módulo vai exibir o numero de jobs rodando se for maior que 1 ou maior que o valor configurado na `threshold`, se ele existir. Se o valor `threshold` for definido como 0, então o módulo vai exibir quando tiver 0 jobs rodando. ::: ### Opções -| Opções | Padrão | Descrição | -| ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `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) '` | O formato do módulo. | -| `symbol` | `'✦'` | The string used to represent the `symbol` variable. | -| `style` | `'bold blue'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `jobs` module. | +| Opções | Padrão | Descrição | +| ------------------ | ----------------------------- | ------------------------------------------------------------------------- | +| `threshold`* | `1` | Exibe o número de jobs se excedido. | +| `symbol_threshold` | `1` | Exibe `symbol` se o número de jobs for ao menos `symbol_threshold`. | +| `number_threshold` | `2` | Exibe o número de jobs se o número de jobs é ao menos `number_threshold`. | +| `format` | `'[$symbol$number]($style) '` | O formato do módulo. | +| `symbol` | `'✦'` | A string usada para representar a variável `symbol`. | +| `style` | `'bold blue'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `jobs`. | -*: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. +*: Esta opção está obsoleta, por favor use o `number_threshold` e `symbol_threshold` em vez disso. ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| number | `1` | The number of jobs | +| number | `1` | O número de jobs | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2208,7 +2208,7 @@ symbol_threshold = 0 ## Julia -The `julia` module shows the currently installed version of [Julia](https://julialang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `julia` exibe a versão atual instalada do [Julia](https://julialang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contem um arquivo `Project.toml` - O diretório atual contem um arquivo `Manifest.toml` @@ -2223,15 +2223,15 @@ The `julia` module shows the currently installed version of [Julia](https://juli | `detect_extensions` | `['jl']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Project.toml', 'Manifest.toml']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `symbol` | `'ஃ '` | A format string representing the symbol of Julia. | +| `symbol` | `'ஃ '` | O formato de string que representa o simbolo do Julia. | | `style` | `'bold purple'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `julia` module. | +| `disabled` | `false` | Desabilita o módulo `julia`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v1.4.0` | The version of `julia` | +| version | `v1.4.0` | A versão do `julia` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2248,7 +2248,7 @@ symbol = '∴ ' ## Kotlin -The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `kotlin` exibie a versão atual instalada do [Kotlin](https://kotlinlang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contem um arquivo `.kt` ou um arquivo `.kts` @@ -2261,16 +2261,16 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko | `detect_extensions` | `['kt', 'kts']` | Quais extensões devem ativar este módulo. | | `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `symbol` | `'🅺 '` | A format string representing the symbol of Kotlin. | +| `symbol` | `'🅺 '` | O formato de string que representa o simbolo do Kotlin. | | `style` | `'bold blue'` | O estilo do módulo. | -| `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `kotlin` module. | +| `kotlin_binary` | `'kotlin'` | Configura o binário do kotlin que o Starship executa para obter a versão. | +| `disabled` | `false` | Desabilita o módulo `kotlin`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | --------- | --------------------------------- | -| version | `v1.4.21` | The version of `kotlin` | +| version | `v1.4.21` | A versão do `kotlin` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2295,11 +2295,11 @@ kotlin_binary = 'kotlinc' ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Exibe o nome atual do [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) e, se definido, o namespace, usuário e cluster do arquivo kubeconfig. O namespace precisa ser definido no arquivo kubeconfig, isso pode ser feito via `kubectl config set-context starship-context --namespace astronaut`. Da mesma forma, o usuário e o cluster podem ser definidos com `kubectl config set-context starship-context --user starship-user` e `kubectl config set-context starship-context --cluster starship-cluster`. Se a env var `$KUBECONFIG` estiver definida o módulo vai usa-la ao invés de usar o `~/.kube/config`. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2307,28 +2307,28 @@ When the module is enabled it will always be active, unless any of `detect_exten ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | -| `symbol` | `'☸ '` | A format string representing the symbol displayed before the Cluster. | -| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | O formato do módulo. | -| `style` | `'cyan bold'` | O estilo do módulo. | -| `context_aliases` | `{}` | Table of context aliases to display. | -| `user_aliases` | `{}` | Table of user aliases to display. | -| `detect_extensions` | `[]` | Quais extensões devem ativar este módulo. | -| `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | -| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| Opções | Padrão | Descrição | +| ------------------- | ---------------------------------------------------- | ------------------------------------------------------------- | +| `symbol` | `'☸ '` | Uma string que representa o simbolo exibido antes do Cluster. | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | O formato do módulo. | +| `style` | `'cyan bold'` | O estilo do módulo. | +| `context_aliases` | `{}` | Tabela de aliases de contexto para exibir. | +| `user_aliases` | `{}` | Table of user aliases to display. | +| `detect_extensions` | `[]` | Quais extensões devem ativar este módulo. | +| `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | +| `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | +| `disabled` | `true` | Desabilita o módulo `kubernetes`. | ### Variáveis -| Variável | Exemplo | Descrição | -| --------- | -------------------- | ---------------------------------------- | -| 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 | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| --------- | -------------------- | ------------------------------------------- | +| context | `starship-context` | O nome atual do kubernetes context | +| namespace | `starship-namespace` | Se definido o namespace atual do kubernetes | +| user | `starship-user` | Se definido, o usuário atual do kubernetes | +| cluster | `starship-cluster` | Se definido, o cluster atual do kubernetes | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2363,32 +2363,32 @@ detect_files = ['k8s'] Additional to simple aliasing, `context_aliases` and `user_aliases` also supports extended matching and renaming using regular expressions. -The regular expression must match on the entire kube context, capture groups can be referenced using `$name` and `$N` in the replacement. This is more explained in the [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace) documentation. +A expressão regular deve coincidir com todo o contexto kube, Grupos de captura podem ser referenciados usando `$name` e `$N` na substituição. Isto esta mais explicado na documentação do [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace). -Long and automatically generated cluster names can be identified and shortened using regular expressions: +Nomes longos de clusters gerados automaticamente podem ser encurtados usando expressão regular: ```toml [kubernetes.context_aliases] # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## Quebra de Linha -The `line_break` module separates the prompt into two lines. +O módulo `line_break` separa o prompt em duas linhas. ### Opções -| Opções | Padrão | Descrição | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Opções | Padrão | Descrição | +| ---------- | ------- | ----------------------------------------------------------------------------------- | +| `disabled` | `false` | Desabilita o módulo `line_break`, fazendo com que o prompt seja em uma única linha. | ### Exemplo @@ -2399,25 +2399,25 @@ The `line_break` module separates the prompt into two lines. disabled = true ``` -## Local IP +## IP Local -The `localip` module shows the IPv4 address of the primary network interface. +O módulo `localip` mostra o endereço IPv4 da interface primária de rede. ### Opções -| Opções | Padrão | Descrição | -| ---------- | ------------------------- | ------------------------------------------------------ | -| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `'[$localipv4]($style) '` | O formato do módulo. | -| `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `true` | Disables the `localip` module. | +| Opções | Padrão | Descrição | +| ---------- | ------------------------- | -------------------------------------------------------------- | +| `ssh_only` | `true` | Apenas mostre o endereço IP quando conectado a uma sessão SSH. | +| `format` | `'[$localipv4]($style) '` | O formato do módulo. | +| `style` | `'bold yellow'` | O estilo do módulo. | +| `disabled` | `true` | Desabilita o módulo `localip`. | ### Variáveis -| Variável | Exemplo | Descrição | -| --------- | ------------ | --------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| --------- | ------------ | -------------------------------- | +| localipv4 | 192.168.1.13 | Contém o endereço IPv4 principal | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -2434,7 +2434,7 @@ disabled = false ## Lua -The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `lua` exibe a versão atual instalada do [Lua](http://www.lua.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contém um arquivo `.lua-version` - O diretório atual contém um diretório `lua` @@ -2446,19 +2446,19 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🌙 '` | A format string representing the symbol of Lua. | +| `symbol` | `'🌙 '` | Uma string que representa o simbolo do Lua. | | `detect_extensions` | `['lua']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['.lua-version']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `['lua']` | Quais pastas devem ativar este módulo. | | `style` | `'bold blue'` | O estilo do módulo. | -| `lua_binary` | `'lua'` | Configures the lua binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `lua` module. | +| `lua_binary` | `'lua'` | Configura o binário lua que o Starship executa para pegar a versão. | +| `disabled` | `false` | Desabilita o módulo `lua`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v5.4.0` | The version of `lua` | +| version | `v5.4.0` | A versão do `lua` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2473,40 +2473,40 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## Uso de Memória -The `memory_usage` module shows current system memory and swap usage. +O módulo `memory_usage` mostra a memória atual do sistema e o uso de troca. -By default the swap usage is displayed if the total system swap is non-zero. +Por padrão o uso do swap é exibido se o total de swap do sistema é diferente de zero. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: ### Opções -| Opções | Padrão | Descrição | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | O formato do módulo. | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | O estilo do módulo. | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Opções | Padrão | Descrição | +| ----------- | ----------------------------------------------- | ------------------------------------------------------------- | +| `threshold` | `75` | Esconde o uso de memoria a menos que exceda esta porcentagem. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | O formato do módulo. | +| `symbol` | `'🐏'` | O simbolo usado antes de exibir o uso de memoria. | +| `style` | `'bold dimmed white'` | O estilo do módulo. | +| `disabled` | `true` | Desabilita o módulo `memory_usage`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ---------------- | ------------- | ------------------------------------------------------------------ | -| 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 | `🐏` | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| ---------------- | ------------- | ------------------------------------------------- | +| ram | `31GiB/65GiB` | O uso/total de memoria RAM atual do sistema. | +| ram_pct | `48%` | A porcentagem de uso atual da memoria do sistema. | +| swap\*\* | `1GiB/4GiB` | O tamanho atual do swap do sistema. | +| swap_pct\*\* | `77%` | A porcentagem atual de uso do swap. | +| symbol | `🐏` | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `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 +*: Esta variável só pode ser usada como parte de uma string de estilo *\*: As informações do arquivo SWAP são exibidas apenas se detectadas no sistema atual ### Exemplo @@ -2565,20 +2565,20 @@ The `hg_branch` module shows the active branch and topic of the repo in your cur ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | -| `symbol` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `style` | `'bold purple'` | O estilo do módulo. | -| `format` | `'on [$symbol$branch(:$topic)]($style) '` | O formato do módulo. | -| `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. | +| Opções | Padrão | Descrição | +| ------------------- | ----------------------------------------- | --------------------------------------------------------------------------------------- | +| `symbol` | `' '` | O simbolo usado ante do marcador hg ou nome do braço do repositório no diretório atual. | +| `style` | `'bold purple'` | O estilo do módulo. | +| `format` | `'on [$symbol$branch(:$topic)]($style) '` | O formato do módulo. | +| `truncation_length` | `2^63 - 1` | Truncates the hg branch / topic name to `N` graphemes | +| `truncation_symbol` | `'…'` | O simbolo usado para indicar que o nome braço foi truncado. | +| `disabled` | `true` | Desabilita o módulo `hg_branch`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | --------- | --------------------------------- | -| branch | `master` | The active mercurial branch | +| branch | `master` | O braço mercurial ativo | | topic | `feature` | The active mercurial topic | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2598,7 +2598,7 @@ truncation_symbol = '' ## Nim -The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `nim` exibe a versão atual instalada do [Nim](https://nim-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `nim.cfg` - O diretório atual tenha um arquivo com a extensão `.nim` @@ -2609,20 +2609,20 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Opções | Padrão | Descrição | | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | O formato do módulo | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'👑 '` | The symbol used before displaying the version of Nim. | +| `symbol` | `'👑 '` | O símbolo usado antes de exibir a versão do Nim. | | `detect_extensions` | `['nim', 'nims', 'nimble']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['nim.cfg']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `nim` module. | +| `disabled` | `false` | Desabilita o módulo `nim`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v1.2.0` | The version of `nimc` | +| version | `v1.2.0` | A versão do `nimc` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2640,27 +2640,27 @@ symbol = '🎣 ' ## Nix-shell -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. +O módulo `nix_shell` exibe o ambiente [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html). O módulo vai exibir quando estiver dentro de um ambiente nix-shell. ### Opções | Opções | Padrão | Descrição | | ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | | `format` | `'via [$symbol$state( \($name\))]($style) '` | O formato do módulo. | -| `symbol` | `'❄️ '` | A format string representing the symbol of nix-shell. | +| `symbol` | `'❄️ '` | Uma string que representa o simbolo do nix-shell. | | `style` | `'bold blue'` | O estilo do módulo. | -| `impure_msg` | `'impure'` | A format string shown when the shell is impure. | -| `pure_msg` | `'pure'` | A format string shown when the shell is pure. | +| `impure_msg` | `'impure'` | Uma string que exibe quando o shell é impuro. | +| `pure_msg` | `'pure'` | Uma string que exibe quando o shell é puro. | | `unknown_msg` | `''` | A format string shown when it is unknown if the shell is pure/impure. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | Desabilita o módulo `nix_shell`. | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| state | `pure` | The state of the nix-shell | -| name | `lorri` | The name of the nix-shell | +| state | `pure` | O estado do nix-shell | +| name | `lorri` | O nome do nix-shell | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2681,7 +2681,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) ' ## Node.js -The `nodejs` module shows the currently installed version of [Node.js](https://nodejs.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `nodejs` exibe a versão atual instalada do [Node.js](https://nodejs.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `package.json` - O diretório atual tenha um arquivo `.node-version` @@ -2692,23 +2692,23 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | -| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string representing the symbol of Node.js. | -| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Quais extensões devem ativar este módulo. | -| `detect_files` | `['package.json', '.node-version']` | Quais nomes de arquivos devem ativar este módulo. | -| `detect_folders` | `['node_modules']` | Quais pastas devem ativar este módulo. | -| `style` | `'bold green'` | O estilo do módulo. | -| `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. | +| Opções | Padrão | Descrição | +| ------------------- | ------------------------------------------ | -------------------------------------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | +| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | +| `symbol` | `' '` | Uma string que representa o simbolo do Node.js. | +| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Quais extensões devem ativar este módulo. | +| `detect_files` | `['package.json', '.node-version']` | Quais nomes de arquivos devem ativar este módulo. | +| `detect_folders` | `['node_modules']` | Quais pastas devem ativar este módulo. | +| `style` | `'bold green'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `nodejs`. | +| `not_capable_style` | `bold red` | O estilo para o módulo quando a propriedade engine no package.json não coincide com a versão do Node.js. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ---------- | --------------------------------- | -| version | `v13.12.0` | The version of `node` | +| version | `v13.12.0` | A versão do `node` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2725,7 +2725,7 @@ format = 'via [🤖 $version](bold green) ' ## OCaml -The `ocaml` module shows the currently installed version of [OCaml](https://ocaml.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `ocaml` exibe a versão atual instalada do [OCaml](https://ocaml.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contenha um arquivo com a extensão`.opam` ou um diretório `_opam` - O diretório atual tenha um diretório `esy.lock` @@ -2740,24 +2740,24 @@ The `ocaml` module shows the currently installed version of [OCaml](https://ocam | ------------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | A string de formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `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. | +| `symbol` | `'🐫 '` | O símbolo usado antes de exibir a versão do OCaml. | +| `global_switch_indicator` | `''` | A string usada para representar a mudança global OPAM. | +| `local_switch_indicator` | `'*'` | A string usada para representar as mudanças locais do OPAM. | | `detect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `['_opam', 'esy.lock']` | Quais pastas devem ativar este módulo. | | `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `ocaml` module. | +| `disabled` | `false` | Desabilita o módulo `ocaml`. | ### Variáveis -| Variável | Exemplo | Descrição | -| ---------------- | ------------ | ----------------------------------------------------------------- | -| 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 | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| ---------------- | ------------ | ---------------------------------------------------------------- | +| version | `v4.10.0` | A versão do `ocaml` | +| switch_name | `my-project` | O switch OPAM ativo | +| switch_indicator | | Espelha o valor do `indicator` para o switch ativo atual do OPAM | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -2808,23 +2808,23 @@ format = 'via [⛑️ $version](bold red) ' ## OpenStack -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. +O módulo `openstack` exibe o OpenStack cloud e projeto atual. O módulo apenas ativa quando a env var `OS_CLOUD` esta definida, neste caso ele vai ler o arquivo `clouds.yaml` de qualquer um dos [default locations](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files). para buscar o projeto atual em uso. ### Opções -| Opções | Padrão | Descrição | -| ---------- | ----------------------------------------------- | -------------------------------------------------------------- | -| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | O formato do módulo. | -| `symbol` | `'☁️ '` | The symbol used before displaying the current OpenStack cloud. | -| `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `openstack` module. | +| Opções | Padrão | Descrição | +| ---------- | ----------------------------------------------- | ---------------------------------------------------- | +| `format` | `'on [$symbol$cloud(\($project\))]($style) '` | O formato do módulo. | +| `symbol` | `'☁️ '` | O simbolo usado para exibir o OpenStack cloud atual. | +| `style` | `'bold yellow'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `openstack`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| cloud | `corp` | The current OpenStack cloud | -| project | `dev` | The current OpenStack project | +| cloud | `corp` | O OpenStack cloud atual | +| project | `dev` | O projeto OpenStack atual | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,9 +2940,9 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## Versionamento de Pacotes -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +O módulo `package` é mostrado quando o diretório atual é o repositório de um pacote e mostra sua versão atual. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – O versionamento de pacotes `npm` é extraído do `package.json` presente no diretório atual - [**Cargo**](https://doc.rust-lang.org/cargo/) – O versionamento de pacotes `cargo`é extraído do arquivo `Cargo.toml` presente no diretório atual @@ -2967,17 +2969,17 @@ The `package` module is shown when the current directory is the repository for a | Opções | Padrão | Descrição | | ----------------- | --------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | O formato do módulo. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | O símbolo usado antes de exibir a versão do pacote. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | | `style` | `'bold 208'` | O estilo do módulo. | -| `display_private` | `false` | Enable displaying version for packages marked as private. | -| `disabled` | `false` | Disables the `package` module. | +| `display_private` | `false` | Habilita a exibição da versão para os pacotes marcados como privado. | +| `disabled` | `false` | Desabilita o módulo `package`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v1.0.0` | The version of your package | +| version | `v1.0.0` | A versão do seu pacote | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -2994,7 +2996,7 @@ format = 'via [🎁 $version](208 bold) ' ## Perl -The `perl` module shows the currently installed version of [Perl](https://www.perl.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `perl` exibe a versão atual instalada do [Perl](https://www.perl.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual tanha um aquivo `Makefile.PL` ou `Build.PL` - O diretório atual tenha um arquivo `cpanfile` ou `cpanfile.snapshot` @@ -3008,18 +3010,18 @@ The `perl` module shows the currently installed version of [Perl](https://www.pe | ------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | A string de formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐪 '` | The symbol used before displaying the version of Perl | +| `symbol` | `'🐪 '` | O símbolo usado antes de exibir a versão do Perl. | | `detect_extensions` | `['pl', 'pm', 'pod']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'bold 149'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `perl` module. | +| `disabled` | `false` | Desabilita o módulo `perl`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | --------- | --------------------------------- | -| version | `v5.26.1` | The version of `perl` | +| version | `v5.26.1` | A versão do `perl` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3034,7 +3036,7 @@ format = 'via [🦪 $version]($style) ' ## PHP -The `php` module shows the currently installed version of [PHP](https://www.php.net/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `php` mostra a versão atualmente instalada do [PHP](https://www.php.net/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `composer.json` - O diretório atual tenha um arquivo `.php-version` @@ -3051,13 +3053,13 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | `detect_files` | `['composer.json', '.php-version']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'147 bold'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | Desabilita o módulo `php`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v7.3.8` | The version of `php` | +| version | `v7.3.8` | A versão do `php` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3084,16 +3086,16 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | O estilo do módulo. | | `format` | `'on [$symbol$channel]($style) '` | O formato do módulo. | | `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. | +| `truncation_symbol` | `'…'` | O simbolo usado para indicar que o nome braço foi truncado. | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi -The `pulumi` module shows the current username, selected [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/), and version. +O módulo `pulumi` mostra o nome de usuário atual, a [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/) selcionada e a versão. ::: tip -By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms). If you still want to enable it, [follow the example shown below](#with-pulumi-version). +Por padrão a versão do Pulumi não é exibida, pois leva um tempo maior para ser carregada. Em média a maioria dos plugins leva (~70ms). Se você ainda deseja ativa-la, [siga o exemplo abaixo](#with-pulumi-version). ::: @@ -3108,20 +3110,20 @@ Por padrão o módulo vai exibir se uma das condições a seguir for atendida: | ---------------- | -------------------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($username@)$stack]($style) '` | A string de formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string shown before the Pulumi stack. | +| `symbol` | `' '` | Uma string que é exibida antes do Pulumi stack. | | `style` | `'bold 5'` | O estilo do módulo. | | `search_upwards` | `true` | Enable discovery of pulumi config files in parent directories. | -| `disabled` | `false` | Disables the `pulumi` module. | +| `disabled` | `false` | Desabilita o módulo `pulumi`. | ### Variáveis -| Variável | Exemplo | Descrição | -| --------- | ---------- | --------------------------------- | -| version | `v0.12.24` | The version of `pulumi` | -| stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | -| symbol | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| --------------- | ---------- | --------------------------------- | +| version | `v0.12.24` | A versão do `pulumi` | +| stack | `dev` | A stack Pulumi atual | +| nome do usuário | `alice` | O nome de usuário Pulumi atual | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -3147,7 +3149,7 @@ format = '[$symbol$stack]($style) ' ## PureScript -The `purescript` module shows the currently installed version of [PureScript](https://www.purescript.org/) version. Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `purescript` exibe a versão atual instalada do [PureScript](https://www.purescript.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual conter um arquivo `spago.dhall` - O diretório atual tenha um arquivo com a extensão `.purs` @@ -3158,18 +3160,18 @@ The `purescript` module shows the currently installed version of [PureScript](ht | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'<=> '` | The symbol used before displaying the version of PureScript. | +| `symbol` | `'<=> '` | O símbolo usado antes de exibir a versão do PureScript. | | `detect_extensions` | `['purs']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['spago.dhall']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'bold white'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `purescript` module. | +| `disabled` | `false` | Desabilita o módulo `purescript`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `0.13.5` | The version of `purescript` | +| version | `0.13.5` | A versão do `purescript` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3186,9 +3188,9 @@ format = 'via [$symbol$version](bold white)' ## Python -The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated. +O módulo `python` exibe a versão atual instalada do [Python](https://www.python.org/) e o [Python virtual environment](https://docs.python.org/tutorial/venv.html) se algum estiver ativo. -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`. +Se o `pyenv_version_name` estiver definido como `true`, será exibido o nome da versão do pyenv. Caso contrario, ele exibirá o número da versão do `python --version`. Por padrão o módulo vai exibir se uma das condições a seguir for atendida: @@ -3204,37 +3206,37 @@ Por padrão o módulo vai exibir se uma das condições a seguir for atendida: ### Opções -| Opções | Padrão | Descrição | -| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | O formato do módulo. | -| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐍 '` | A format string representing the symbol of Python | -| `style` | `'yellow bold'` | O estilo do módulo. | -| `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']` | Quais extensões devem acionar este módulo | -| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | [] | -| `detect_folders` | `[]` | Quais pastas devem ativar este módulo | -| `disabled` | `false` | Disables the `python` module. | +| Opções | Padrão | Descrição | +| -------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- | +| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | O formato do módulo. | +| `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🐍 '` | Uma string que representa o simbolo do Python | +| `style` | `'yellow bold'` | O estilo do módulo. | +| `pyenv_version_name` | `false` | Usa pyenv para pegar a versão do Python | +| `pyenv_prefix` | `pyenv` | Prefixo antes da versão do pyenv, apenas usado se pyenv for usado | +| `python_binary` | `['python', 'python3', 'python2']` | Configura o binário python que o Starship vai executar para obter a versão. | +| `detect_extensions` | `['py']` | Quais extensões devem acionar este módulo | +| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | [] | +| `detect_folders` | `[]` | Quais pastas devem ativar este módulo | +| `disabled` | `false` | Desabilita o módulo `python`. | ::: tip -The `python_binary` variable accepts either a string or a list of strings. Starship will try executing each binary until it gets a result. Note you can only change the binary that Starship executes to get the version of Python not the arguments that are used. +A variável `python_binary` aceita uma string ou uma lista de strings. O Starship vai tentar executar cada binário até obter um resultado. Note que você pode apenas alterar o binário em que o Starship executa para pegar a versão do Python não os argumentos que são utilizados. -The default values and order for `python_binary` was chosen to first identify the Python version in a virtualenv/conda environments (which currently still add a `python`, no matter if it points to `python3` or `python2`). This has the side effect that if you still have a system Python 2 installed, it may be picked up before any Python 3 (at least on Linux Distros that always symlink `/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `'python3'` will hide any Python version 2, see example below. +O valor padrão e a ordem para o `python_binary` foram escolhidos para identificar primeiro uma versão do Python em um ambiente virtualenv/conda (que atualmente adiciona um `python`, não importa se ele aponta pro `python3` ou `python2`). Este tem efeito de lado, se você tenha um sistema com Python 2 instalado, pode ser usado antes de qualquer Python 3 (pelo menos nas Distros Linux que sempre fazem um symlink `/usr/bin/python` para Python 2). If you do not work with Python 2 anymore but cannot remove the system Python 2, changing this to `'python3'` will hide any Python version 2, see example below. ::: ### Variáveis -| Variável | Exemplo | Descrição | -| ------------ | --------------- | ------------------------------------------ | -| version | `'v3.8.1'` | The version of `python` | -| symbol | `'🐍 '` | Espelha o valor da opção `symbol` | -| style | `'yellow bold'` | Espelha o valor da opção `style` | -| pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | -| virtualenv | `'venv'` | The current `virtualenv` name | +| Variável | Exemplo | Descrição | +| ------------ | --------------- | --------------------------------------- | +| version | `'v3.8.1'` | A versão do `python` | +| symbol | `'🐍 '` | Espelha o valor da opção `symbol` | +| style | `'yellow bold'` | Espelha o valor da opção `style` | +| pyenv_prefix | `'pyenv '` | Espelha o valor da opção `pyenv_prefix` | +| virtualenv | `'venv'` | O nome atual do `virtualenv` | ### Exemplo @@ -3250,7 +3252,7 @@ pyenv_version_name = true # ~/.config/starship.toml [python] -# Only use the `python3` binary to get the version. +# Use apenas o binário `python3` para obter a versão. python_binary = 'python3' ``` @@ -3258,7 +3260,7 @@ python_binary = 'python3' # ~/.config/starship.toml [python] -# Don't trigger for files with the py extension +# Não acione para arquivos com a extensão py detect_extensions = [] ``` @@ -3266,16 +3268,16 @@ detect_extensions = [] # ~/.config/starship.toml [python] -# Display the version of python from inside a local venv. +# Exibe a versão do python de dentro de um venv local. # -# Note this will only work when the venv is inside the project and it will only -# work in the directory that contains the venv dir but maybe this is ok? +# Note que isso só funcionará quando o venv estiver dentro do projeto e só +# funcionará apenas no diretório que contém o diretório venv, mas talvez isso seja ok? python_binary = ['./venv/bin/python', 'python', 'python3', 'python2'] ``` ## R -The `rlang` module shows the currently installed version of [R](https://www.r-project.org/). The module will be shown if any of the following conditions are met: +O módulo `rlang` mostra a versão atualmente instalada do [R](https://www.r-project.org/). O módulo será mostrado se qualquer uma das seguintes condições for atendida: - O diretório atual tenha um arquivo com a extensão `.R`. - O diretório atual tenha um arquivo com a extensão `.Rd`. @@ -3291,18 +3293,18 @@ The `rlang` module shows the currently installed version of [R](https://www.r-pr | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'📐'` | A format string representing the symbol of R. | +| `symbol` | `'📐'` | Uma string que representa o simbolo do R. | | `style` | `'blue bold'` | O estilo do módulo. | | `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Quais extensões devem acionar este módulo | | `detect_files` | `['.Rprofile']` | [] | | `detect_folders` | `['.Rproj.user']` | Quais pastas devem ativar este módulo | -| `disabled` | `false` | Disables the `r` module. | +| `disabled` | `false` | Desabilita o módulo `r`. | ### Variáveis | Variável | Exemplo | Descrição | | -------- | ------------- | --------------------------------- | -| version | `v4.0.5` | The version of `R` | +| version | `v4.0.5` | A versão do `R` | | symbol | | Espelha o valor da opção `symbol` | | style | `'blue bold'` | Espelha o valor da opção `style` | @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +Por padrão o módulo `red` exibe a versão atual instalada do [Red](https://www.red-lang.org/). O módulo será mostrado se alguma das seguintes condições for atendida: - O diretório atual contenha um arquivo com a extensão `.red` or `.reds` @@ -3365,18 +3367,18 @@ By default the `red` module shows the currently installed version of [Red](https | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🔺 '` | A format string representing the symbol of Red. | +| `symbol` | `'🔺 '` | Uma string que representa o simbolo do Red. | | `detect_extensions` | `['red']` | Quais extensões devem ativar este módulo. | | `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'red bold'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `red` module. | +| `disabled` | `false` | Desabilita o módulo `red`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v2.5.1` | The version of `red` | +| version | `v2.5.1` | A versão do `red` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3393,14 +3395,14 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +Por padrão o módulo `ruby` vai exibir a versão atual instalada do [Ruby](https://www.ruby-lang.org/). O módulo será mostrado se alguma das seguintes condições for atendida: - O diretório atual tenha um arquivo `Gemfile` - O diretório atual contém um arquivo `.ruby-version` - O diretório atual contem um arquivo `.rb` - As variáveis de ambiente `RUBY_VERSION` ou `RBENV_VERSION` estão definidas -Starship gets the current Ruby version by running `ruby -v`. +O Starship pega a versão atual do Ruby rodando `ruby -v`. ### Opções @@ -3408,19 +3410,19 @@ Starship gets the current Ruby version by running `ruby -v`. | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💎 '` | A format string representing the symbol of Ruby. | +| `symbol` | `'💎 '` | Uma string que representa o simbolo do Ruby. | | `detect_extensions` | `['rb']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Gemfile', '.ruby-version']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | -| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Which environment variables should trigger this module. | +| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Quais variáveis de ambiente devem ativar este módulo. | | `style` | `'bold red'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `ruby` module. | +| `disabled` | `false` | Desabilita o módulo `ruby`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v2.5.1` | The version of `ruby` | +| version | `v2.5.1` | A versão do `ruby` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +Por padrão o módulo `rust` vai exibir a versão atual instalada do [Rust](https://www.rust-lang.org/). O módulo será mostrado se alguma das seguintes condições for atendida: - O diretório atual contem um arquivo `Cargo.toml` - O diretório atual tenha um arquivo com a extensão `.rs` @@ -3448,22 +3450,22 @@ By default the `rust` module shows the currently installed version of [Rust](htt | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🦀 '` | A format string representing the symbol of Rust | +| `symbol` | `'🦀 '` | Uma string que representa o simbolo do Rust | | `detect_extensions` | `['rs']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Cargo.toml']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'bold red'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | Desabilita o módulo `rust`. | ### Variáveis -| Variável | Exemplo | Descrição | -| --------- | ----------------- | -------------------------------------------- | -| 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 | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| --------- | ----------------- | --------------------------------------- | +| version | `v1.43.0-nightly` | A versão do `rustc` | +| numver | `1.51.0` | O componente numérico da versão `rustc` | +| toolchain | `beta` | A versão do toolchain | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -3478,7 +3480,7 @@ format = 'via [⚙️ $version](red bold)' ## Scala -The `scala` module shows the currently installed version of [Scala](https://www.scala-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `scala` exibe a versão atual instalada do [Scala](https://www.scala-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contem um arquivo `build.sbt`, `.scalaenv` ou `.sbtenv` - O diretório atual tenha um arquivo com a extensão `.scala` ou `.sbt` @@ -3493,15 +3495,15 @@ The `scala` module shows the currently installed version of [Scala](https://www. | `detect_extensions` | `['sbt', 'scala']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `['.metals']` | Quais pastas devem ativar este módulo. | -| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. | +| `symbol` | `'🆂 '` | Uma string que representa o simbolo do Scala. | | `style` | `'red dimmed'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `scala` module. | +| `disabled` | `false` | Desabilita o módulo `scala`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `2.13.5` | The version of `scala` | +| version | `2.13.5` | A versão do `scala` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3518,39 +3520,39 @@ symbol = '🌟 ' ## Shell -The `shell` module shows an indicator for currently used shell. +O módulo de `shell` exibe um indicador para o shell que esta sendo usado. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: ### Opções -| Opções | Padrão | Descrição | -| ---------------------- | ------------------------- | ------------------------------------------------------------ | -| `bash_indicator` | `'bsh'` | A format string used to represent bash. | -| `fish_indicator` | `'fsh'` | A format string used to represent fish. | -| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. | -| `powershell_indicator` | `'psh'` | A format string used to represent powershell. | -| `ion_indicator` | `'ion'` | A format string used to represent ion. | -| `elvish_indicator` | `'esh'` | A format string used to represent elvish. | -| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. | -| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. | -| `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) '` | O formato do módulo. | -| `style` | `'white bold'` | O estilo do módulo. | -| `disabled` | `true` | Disables the `shell` module. | +| Opções | Padrão | Descrição | +| ---------------------- | ------------------------- | ------------------------------------------------------- | +| `bash_indicator` | `'bsh'` | Uma string para representar o bash. | +| `fish_indicator` | `'fsh'` | Uma string usada para representar o fish. | +| `zsh_indicator` | `'zsh'` | Uma string usada para representar o zsh. | +| `powershell_indicator` | `'psh'` | Uma string usada para representar o powershell. | +| `ion_indicator` | `'ion'` | Uma string usada para representar o ion. | +| `elvish_indicator` | `'esh'` | Uma string usada para representar o elvish. | +| `tcsh_indicator` | `'tsh'` | Uma string usada para representar o tcsh. | +| `xonsh_indicator` | `'xsh'` | Uma string usada para representar o xonsh. | +| `cmd_indicator` | `'cmd'` | Uma string usada para representar o cmd. | +| `nu_indicator` | `'nu'` | Uma string usada para representar o nu. | +| `unknown_indicator` | `''` | Valor padrão para exibir quando o shell é desconhecido. | +| `format` | `'[$indicator]($style) '` | O formato do módulo. | +| `style` | `'white bold'` | O estilo do módulo. | +| `disabled` | `true` | Desabilita o módulo `shell`. | ### Variáveis -| Variável | Padrão | Descrição | -| --------- | ------ | ---------------------------------------------------------- | -| indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| Variável | Padrão | Descrição | +| --------- | ------ | ------------------------------------------------------------- | +| indicator | | Espelha o valor do `indicator` para o shell usado atualmente. | +| style\* | | Espelha o valor da opção `style`. | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -3573,20 +3575,20 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int ### Opções -| Opções | Padrão | Descrição | -| ----------- | ---------------------------- | ------------------------------------------------------------- | -| `threshold` | `2` | Display threshold. | -| `format` | `'[$symbol$shlvl]($style) '` | O formato do módulo. | -| `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. | -| `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. | -| `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `true` | Disables the `shlvl` module. | +| Opções | Padrão | Descrição | +| ----------- | ---------------------------- | ----------------------------------------------------------------- | +| `threshold` | `2` | Limite de exibição. | +| `format` | `'[$symbol$shlvl]($style) '` | O formato do módulo. | +| `symbol` | `'↕️ '` | O simbolo usado para representar o `SHLVL`. | +| `repeat` | `false` | Caso o `symbol` deva se repetir de acordo com o total do `SHLVL`. | +| `style` | `'bold yellow'` | O estilo do módulo. | +| `disabled` | `true` | Desabilita o módulo `shlvl`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| shlvl | `3` | The current value of `SHLVL` | +| shlvl | `3` | O valor atual do `SHLVL` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3605,22 +3607,22 @@ threshold = 3 ## Singularidade -The `singularity` module shows the current [Singularity](https://sylabs.io/singularity/) image, if inside a container and `$SINGULARITY_NAME` is set. +O módulo `singularity` exibe a imagem atual do [Singularity](https://sylabs.io/singularity/), se dentro de um contêiner e definido `$SINGULARITY_NAME`. ### Opções -| Opções | Padrão | Descrição | -| ---------- | -------------------------------- | ------------------------------------------------ | -| `format` | `'[$symbol\[$env\]]($style) '` | O formato do módulo. | -| `symbol` | `''` | A format string displayed before the image name. | -| `style` | `'bold dimmed blue'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `singularity` module. | +| Opções | Padrão | Descrição | +| ---------- | -------------------------------- | ------------------------------------------- | +| `format` | `'[$symbol\[$env\]]($style) '` | O formato do módulo. | +| `symbol` | `''` | Uma string exibida antes do nome da imagem. | +| `style` | `'bold dimmed blue'` | O estilo do módulo. | +| `disabled` | `false` | Desabilita o módulo `singularity`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------------ | --------------------------------- | -| env | `centos.img` | The current Singularity image | +| env | `centos.img` | A imagem atual do Singularity | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3637,23 +3639,23 @@ format = '[📦 \[$env\]]($style) ' ## Spack -The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/latest/) environment, if `$SPACK_ENV` is set. +O módulo `spack` mostra o ambiente [Spack](https://spack.readthedocs.io/en/latest/) atual, se o `$SPACK_ENV` estiver definido. ### Opções -| Opções | Padrão | Descrição | -| ------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `truncation_length` | `1` | The number of directories the environment path should be truncated to. `0` quer dizer sem truncação. Também consulte o módulo [`directory`](#directory). | -| `symbol` | `'🅢 '` | O simbolo usado antes do nome do environment. | -| `style` | `'bold blue'` | O estilo do módulo. | -| `format` | `'via [$symbol$environment]($style) '` | O formato do módulo. | -| `disabled` | `false` | Disables the `spack` module. | +| Opções | Padrão | Descrição | +| ------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `truncation_length` | `1` | O número de diretórios para os quais o caminho do ambiente deve ser truncado. `0` quer dizer sem truncação. Também consulte o módulo [`directory`](#directory). | +| `symbol` | `'🅢 '` | O simbolo usado antes do nome do environment. | +| `style` | `'bold blue'` | O estilo do módulo. | +| `format` | `'via [$symbol$environment]($style) '` | O formato do módulo. | +| `disabled` | `false` | Desabilita o módulo `spack`. | ### Variáveis | Variável | Exemplo | Descrição | | ----------- | ------------ | --------------------------------- | -| environment | `astronauts` | The current spack environment | +| environment | `astronauts` | O ambiente spack atual | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3670,11 +3672,11 @@ format = '[$symbol$environment](dimmed blue) ' ## Status -The `status` module displays the exit code of the previous command. If $success_symbol is empty (default), the module will be shown only if the exit code is not `0`. The status code will cast to a signed 32-bit integer. +O módulo `status` exibe o código de saída do comando anterior. Se o $success_symbol estiver vazio (padrão), o módulo será exibido apenas se o código de saída não for `0.`. O código de status será convertido em um inteiro de 32 bits signed. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: @@ -3682,36 +3684,36 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Opções | Padrão | Descrição | | --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `format` | `'[$symbol$status]($style) '` | The format of the module | -| `symbol` | `'❌'` | 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 | -| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) | -| `signal_symbol` | `'⚡'` | The symbol displayed on any signal | +| `format` | `'[$symbol$status]($style) '` | O formato do módulo | +| `symbol` | `'❌'` | O simbolo exibido no erro de programa | +| `success_symbol` | `''` | O simbolo exibido no sucesso de programa | +| `not_executable_symbol` | `'🚫'` | O simbolo exibido quando o arquivo não é executável | +| `not_found_symbol` | `'🔍'` | O simbolo exibido quando o comando não é encontrado | +| `sigint_symbol` | `'🧱'` | O simbolo exibido no SIGINT (Ctrl + c) | +| `signal_symbol` | `'⚡'` | O simbolo exibido em qualquer sinal | | `style` | `'bold red'` | O estilo do módulo. | -| `recognize_signal_code` | `true` | Enable signal mapping from exit code | -| `map_symbol` | `false` | Enable symbols mapping from exit code | -| `pipestatus` | `false` | Enable pipestatus reporting | +| `recognize_signal_code` | `true` | Habilita o mapeamento de sinais para códigos de saída | +| `map_symbol` | `false` | Habilita o mapeamento de símbolos para códigos de saída | +| `pipestatus` | `false` | Habilita o relatório de pipestatus | | `pipestatus_separator` | | | The symbol used to separate pipestatus segments (supports formatting) | -| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline | +| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | O formato do módulo quando o comando é um pipeline | | `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments | -| `disabled` | `true` | Disables the `status` module. | +| `disabled` | `true` | Desabilita o módulo `status`. | ### Variáveis -| Variável | Exemplo | Descrição | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Espelha o valor da opção `symbol` | -| style\* | | Espelha o valor da opção `style` | +| Variável | Exemplo | Descrição | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | O codígo de saída do último comando | +| hex_status | `0x7F` | O codígo de saída do último comando em hex | +| int | `127` | O codígo de saída do último comando | +| common_meaning | `ERROR` | Significa que o código não é um sinal | +| signal_number | `9` | Número do sinal correspondente ao código de saída, apenas se sinalizado | +| signal_name | `KILL` | Nome do sinal correspondente ao código de saída, apenas se for sinalizado | +| maybe_int | `7` | Contém o código de saída quando nenhum significado for encontrado | +| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format | +| symbol | | Espelha o valor da opção `symbol` | +| style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -3731,23 +3733,23 @@ disabled = false ## Sudo -The `sudo` module displays if sudo credentials are currently cached. The module will only be shown if credentials are cached. +O módulo `sudo` é exibido se uma credencial sudo estiver em cache. O módulo vai ser exibido somente se as credenciais estiverem em cache. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: ### Opções -| Opções | Padrão | Descrição | -| --------------- | ------------------------ | ------------------------------------------------------- | -| `format` | `'[as $symbol]($style)'` | The format of the module | -| `symbol` | `'🧙 '` | The symbol displayed when credentials are cached | -| `style` | `'bold blue'` | O estilo do módulo. | -| `allow_windows` | `false` | Since windows has no default sudo, default is disabled. | -| `disabled` | `true` | Disables the `sudo` module. | +| Opções | Padrão | Descrição | +| --------------- | ------------------------ | -------------------------------------------------------------------------- | +| `format` | `'[as $symbol]($style)'` | O formato do módulo | +| `symbol` | `'🧙 '` | O simbolo exibido quando as credenciais estão em cache | +| `style` | `'bold blue'` | O estilo do módulo. | +| `allow_windows` | `false` | Desde que o Windows não tem um padrão sudo, o valor padrão é desabilitado. | +| `disabled` | `true` | Desabilita o módulo `sudo`. | ### Variáveis @@ -3770,7 +3772,7 @@ disabled = false ``` ```toml -# On windows +# No windows # $HOME\.starship\config.toml [sudo] @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +Por padrão o módulo `swift` vai exibir a versão atual instalada do [Swift](https://swift.org/). O módulo será mostrado se alguma das seguintes condições for atendida: - O diretório atual tenha um arquivo `Package.swift` - O diretório atual tenha um arquivo com a extensão `.swift` @@ -3791,18 +3793,18 @@ By default the `swift` module shows the currently installed version of [Swift](h | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐦 '` | A format string representing the symbol of Swift | +| `symbol` | `'🐦 '` | Uma string que representa o simbolo do Swift | | `detect_extensions` | `['swift']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Package.swift']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'bold 202'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `swift` module. | +| `disabled` | `false` | Desabilita o módulo `swift`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v5.2.4` | The version of `swift` | +| version | `v5.2.4` | A versão do `swift` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3819,11 +3821,11 @@ format = 'via [🏎 $version](red bold)' ## Terraform -The `terraform` module shows the currently selected [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) and version. +O módulo `terraform` exibe o [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) selecionado e sua versão. ::: tip -By default the Terraform version is not shown, since this is slow for current versions of Terraform when a lot of plugins are in use. If you still want to enable it, [follow the example shown below](#with-terraform-version). +Por padrão a versão do Terraform não é exibida, desde que é lento recuperar a versão atual quando muitos plugins estão em uso. Se você deseja habilitar,, [Siga o exemplo abaixo](#with-terraform-version). ::: @@ -3838,19 +3840,19 @@ Por padrão o módulo vai exibir se uma das condições a seguir for atendida: | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol$workspace]($style) '` | A string de formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'💠'` | A format string shown before the terraform workspace. | +| `symbol` | `'💠'` | Uma string que é exibida antes do workspace terraform. | | `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Quais extensões devem ativar este módulo. | | `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `['.terraform']` | Quais pastas devem ativar este módulo. | | `style` | `'bold 105'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | Desabilita o módulo `terraform`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ---------- | --------------------------------- | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `default` | The current Terraform workspace | +| version | `v0.12.24` | A versão do `terraform` | +| workspace | `default` | O workspace atual do Terraform | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -3878,33 +3880,33 @@ format = '[🏎💨 $workspace]($style) ' ## Horário -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +O módulo `time` exibe a hora **local** atual. A configuração de `format` é usada pelo [`chrono`](https://crates.io/crates/chrono) para controlar qual hora é exibida. Dê uma olhada na [documentação do chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) para ver quais opções estão disponíveis. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Este módulo é desabilitado por padrão. Para habilitar, defina `disabled` para `false` no seu arquivo de configuração. ::: ### Opções -| Opções | Padrão | Descrição | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | A string de formato do módulo. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Opções | Padrão | Descrição | +| ----------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | A string de formato do módulo. | +| `use_12hr` | `false` | Habilita a formatação de 12 horas | +| `time_format` | veja abaixo | A string [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) usada para formatar a hora. | +| `style` | `'bold yellow'` | O estilo do módulo time | +| `utc_time_offset` | `'local'` | Define o UTC a ser usado. Intervalo de -24 < x < 24. Aceita floats para acomodar timezones 30/45. | +| `disabled` | `true` | Desabilita o módulo `time`. | +| `time_range` | `'-'` | Define o intervalo de tempo o qual o módulo será exibido. O horário deve ser especificado no formato de 24-hours | -If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. +If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Ajustes manuais no `time_format` irão sobrescrever a configuração `use_12hr`. ### Variáveis | Variável | Exemplo | Descrição | | --------- | ---------- | -------------------------------- | -| time | `13:08:10` | The current time. | +| time | `13:08:10` | A hora atual. | | style\* | | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo @@ -3922,9 +3924,9 @@ utc_time_offset = '-5' time_range = '10:00:00-14:00:00' ``` -## Username +## Nome do usuário -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +O módulo `username` mostra o nome de usuário do usuário ativo. O módulo será mostrado se alguma das seguintes condições for atendida: - O usuário atual é root/admin - O usuário atual não é o mesmo que está logado @@ -3933,26 +3935,26 @@ The `username` module shows active user's username. The module will be shown if ::: tip -SSH connection is detected by checking environment variables `SSH_CONNECTION`, `SSH_CLIENT`, and `SSH_TTY`. If your SSH host does not set up these variables, one workaround is to set one of them with a dummy value. +Conexões SSH são detectadas checando as variáveis de ambiente `SSH_CONNECTION`, `SSH_CLIENT`, and `SSH_TTY`. Se seu host SSH não tem estas variáveis configuradas, uma alternativa é definir uma delas com valor burro. ::: ### Opções -| Opções | Padrão | Descrição | -| ------------- | ----------------------- | ------------------------------------------- | -| `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 '` | O formato do módulo. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| Opções | Padrão | Descrição | +| ------------- | ----------------------- | --------------------------------------------- | +| `style_root` | `'bold red'` | O estilo usado quando o usuário é root/admin. | +| `style_user` | `'bold yellow'` | O estilo usado para usuários não root. | +| `format` | `'[$user]($style) in '` | O formato do módulo. | +| `show_always` | `false` | Sempre exibe o módulo `username`. | +| `disabled` | `false` | Desabilita o módulo `username`. | ### Variáveis -| Variável | Exemplo | Descrição | -| -------- | ------------ | ------------------------------------------------------------------------------------------- | -| `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. | +| Variável | Exemplo | Descrição | +| -------- | ------------ | -------------------------------------------------------------------------------------- | +| `style` | `'red bold'` | Espelha o valor da opção `style_root` quando o root esta logado e `style_user` se não. | +| `user` | `'fulano'` | O ID do usuário logado atualmente. | ### Exemplo @@ -3969,7 +3971,7 @@ show_always = true ## Vagrant -The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `vagrant` exibe a versão atual instalada do [Vagrant](https://www.vagrantup.com/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual contem um arquivo `Vagrantfile` @@ -3979,18 +3981,18 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'⍱ '` | A format string representing the symbol of Vagrant. | +| `symbol` | `'⍱ '` | Um formato de string que representa o simbolo do Vagrant. | | `detect_extensions` | `[]` | Quais extensões devem ativar este módulo. | | `detect_files` | `['Vagrantfile']` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'cyan bold'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `vagrant` module. | +| `disabled` | `false` | Desabilita o módulo `vagrant`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ---------------- | --------------------------------- | -| version | `Vagrant 2.2.10` | The version of `Vagrant` | +| version | `Vagrant 2.2.10` | A versão do `Vagrant` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -4007,7 +4009,7 @@ format = 'via [⍱ $version](bold white) ' ## V -The `vlang` module shows you your currently installed version of [V](https://vlang.io/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: +O módulo `vlang` exibe a versão atual instalada do [V](https://vlang.io/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida: - O diretório atual cotem qualquer arquivo com a extensão `.v` - O diretório atual contem um arquivo `v.mod`, `vpkg.json` ou `.vpkg-lock.json` @@ -4018,18 +4020,18 @@ The `vlang` module shows you your currently installed version of [V](https://vla | ------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'V '` | A format string representing the symbol of V | +| `symbol` | `'V '` | Um formato de string que representa o simbolo do V | | `detect_extensions` | `['v']` | Quais extensões devem ativar este módulo. | | `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | | `style` | `'blue bold'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `vlang` module. | +| `disabled` | `false` | Desabilita o módulo `vlang`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------- | --------------------------------- | -| version | `v0.2` | The version of `v` | +| version | `v0.2` | A versão do `v` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -4043,22 +4045,22 @@ format = 'via [V $version](blue bold) ' ## VCSH -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. +O módulo `vcsh` exibe o repositório [VCSH](https://github.com/RichiH/vcsh) atual ativo. O módulo vai ser exibido apenas se um repositório estiver em uso. ### Opções | Opções | Padrão | Descrição | | ---------- | -------------------------------- | ------------------------------------------------------ | -| `symbol` | `''` | The symbol used before displaying the repository name. | +| `symbol` | `''` | O simbolo usado antes de exibir o nome do repositório. | | `style` | `'bold yellow'` | O estilo do módulo. | | `format` | `'vcsh [$symbol$repo]($style) '` | O formato do módulo. | -| `disabled` | `false` | Disables the `vcsh` module. | +| `disabled` | `false` | Desabilita o módulo `vcsh`. | ### Variáveis | Variável | Exemplo | Descrição | | --------- | ------------------------------------------- | --------------------------------- | -| repo | `dotfiles` if in a VCSH repo named dotfiles | The active repository name | +| repo | `dotfiles` if in a VCSH repo named dotfiles | O nome do repositório ativo | | symbol | | Espelha o valor da opção `symbol` | | style\* | `black bold dimmed` | Espelha o valor da opção `style` | @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). O módulo será mostrado se alguma das seguintes condições for atendida: - O diretório atual contém arquivo com a extensão `.zig` @@ -4085,9 +4087,9 @@ By default the the `zig` module shows the currently installed version of [Zig](h | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | O formato do módulo. | | `version_format` | `'v${raw}'` | A versão formatada. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. | +| `symbol` | `'↯ '` | O símbolo usado antes de exibir a versão do Zig. | | `style` | `'bold yellow'` | O estilo do módulo. | -| `disabled` | `false` | Disables the `zig` module. | +| `disabled` | `false` | Desabilita o módulo `zig`. | | `detect_extensions` | `['zig']` | Quais extensões devem ativar este módulo. | | `detect_files` | `[]` | Quais nomes de arquivos devem ativar este módulo. | | `detect_folders` | `[]` | Quais pastas devem ativar este módulo. | @@ -4096,7 +4098,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | Variável | Exemplo | Descrição | | --------- | -------- | --------------------------------- | -| version | `v0.6.0` | The version of `zig` | +| version | `v0.6.0` | A versão do `zig` | | symbol | | Espelha o valor da opção `symbol` | | style\* | | Espelha o valor da opção `style` | @@ -4111,11 +4113,11 @@ By default the the `zig` module shows the currently installed version of [Zig](h symbol = '⚡️ ' ``` -## Custom commands +## Comandos Personalizados -The `custom` modules show the output of some arbitrary commands. +Os módulos `custom` mostram a saída de alguns comandos arbitrários. -These modules will be shown if any of the following conditions are met: +Esses módulos serão mostrados se alguma das seguintes condições for atendida: - O diretório atual contém um arquivo cujo nome está em `detect_files` - O diretório atual contém um diretório cujo nome está em `detect_folders` @@ -4125,85 +4127,85 @@ These modules will be shown if any of the following conditions are met: ::: tip -Multiple custom modules can be defined by using a `.`. +Vários módulos personalizados podem ser definidos usando um `.`. ::: ::: tip -The order in which custom modules are shown can be individually set by including `${custom.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`). By default, the `custom` module will simply show all custom modules in the order they were defined. +A ordem na qual os módulos personalizados são mostrados pode ser definida individualmente incluindo `${custom.foo}` no `format` de nível superior (como inclui um ponto, você precisa usar `${...}`). Por padrão, o módulo `custom` mostrará todos os módulos personalizados na ordem em que eles foram definidos. ::: ::: tip -[Issue #1252](https://github.com/starship/starship/discussions/1252) contains examples of custom modules. If you have an interesting example not covered there, feel free to share it there! +A [Issue #1252](https://github.com/starship/starship/discussions/1252) contém exemplos de módulos personalizados. Se você tem um exemplo interessante que não esta coberto lá, sinta-se livre para compartilha-lo! ::: -::: warning Command output is printed unescaped to the prompt +::: warning A saída do comando é exibido unescaped no prompt -Whatever output the command generates is printed unmodified in the prompt. This means if the output contains special sequences that are interpreted by your shell they will be expanded when displayed. These special sequences are shell specific, e.g. you can write a command module that writes bash sequences, e.g. `\h`, but this module will not work in a fish or zsh shell. +Seja qual for a saída o comando irá gerar uma saída sem modificações no prompt. Isto siguinifica que a saída tenha sequencias especiais estas serão interpretadas pelo seu shell, elas serão expandidas quando exibidas. Estas sequencias especiais são especificas da shell, ex: você pode escrever um módulo de comando que escreve uma sequencia de bash, ex:. `\h`, mas este módulo não irá funcionar no shell fish ou zsh. -Format strings can also contain shell specific prompt sequences, e.g. [Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html), [Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html). +Strings de formatação também podem conter sequencias de prompt especificas de shell, ex: [Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html), [Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html). ::: ### Opções -| Opções | Padrão | Descrição | -| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `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` | | [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'` | O estilo do módulo. | -| `format` | `'[$symbol($output )]($style)'` | O formato do módulo. | -| `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. | -| `ignore_timeout` | `false` | Ignore global `command_timeout` setting and keep running external commands, no matter how long they take. | +| Opções | Padrão | Descrição | +| ------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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`. | +| `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. | +| `detect_folders` | `[]` | Os diretórios que serão buscados por correspondência no diretório atual. | +| `detect_extensions` | `[]` | As extensões que serão buscadas por correspondência no diretório atual. | +| `symbol` | `''` | O simbolo usado antes de exibir a saída do comando. | +| `style` | `'bold green'` | O estilo do módulo. | +| `format` | `'[$symbol($output )]($style)'` | O formato do módulo. | +| `disabled` | `false` | Desabilita este módulo `custom`. | +| `os` | | Nome do sistema operacional onde módulo sera exibido (unix, linux, macos, windows, ... ) [Veja os possíveis valores](https://doc.rust-lang.org/std/env/consts/constant.OS.html). | +| `use_stdin` | | Um valor booleano opcional que substitui se os comandos devem ser encaminhados para o shell por meio da entrada padrão ou como um argumento. Se a entrada padrão não definida for usada por padrão, a menos que o shell não a suporte (cmd, nushell). Configurar isso desativa a manipulação de argumentos específicos do shell. | +| `ignore_timeout` | `false` | Ignora a configuração global do `command_timeout` e continua executando comandos externos, não importa quanto tempo eles demorem. | ### Variáveis -| Variável | Descrição | -| --------- | -------------------------------------- | -| output | The output of shell command in `shell` | -| symbol | Espelha o valor da opção `symbol` | -| style\* | Espelha o valor da opção `style` | +| Variável | Descrição | +| --------- | --------------------------------- | +| output | A saída do comando no `shell` | +| symbol | Espelha o valor da opção `symbol` | +| style\* | Espelha o valor da opção `style` | *: Esta variável só pode ser usada como parte de uma string de estilo #### Comandos personalizados de shell -`shell` accepts a non-empty list of strings, where: +`shell` aceita uma lista não vazia de string, onde: - A primeira string é o caminho para o shell que executará o comando. - Outros argumentos que serão passados para o shell. If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows. -The `command` will be passed in on stdin. +O `command` será passado no stdin. -If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g. +Se o `shell` não for dado ou apenas conter um elemento e o Starship detectar PowerShell ele será usado, os seguintes argumentos serão automaticamente adicionados: `-NoProfile -Command -`. Se `shell` não for fornecido ou contiver apenas um elemento e o Starship detectar que o Cmd será usado, o seguinte argumento será adicionado automaticamente: `/C` e `stdin` serão definidos como `false`. Se `shell` não for fornecido ou contiver apenas um elemento e o Starship detectar que o Nushell será usado, os seguintes argumentos serão adicionados automaticamente: `-c` e `stdin` serão definidos como `false`. Este comportamento pode ser evitado passando explicitamente argumento para o shell, ex. ```toml shell = ['pwsh', '-Command', '-'] ``` -::: warning Make sure your custom shell configuration exits gracefully +::: warning Tenha certeza que tenha uma configuração de shell -If you set a custom command, make sure that the default Shell used by starship will properly execute the command with a graceful exit (via the `shell` option). +Se você definir um comando personalizado, tenha certeza que o shell padrão usado pelo starship execute este comando com uma saída graciosa (via the `shell` option). -For example, PowerShell requires the `-Command` parameter to execute a one liner. Omitting this parameter might throw starship into a recursive loop where the shell might try to load a full profile environment with starship itself again and hence re-execute the custom command, getting into a never ending loop. +Por exemplo, PowerShell requer o parâmetro `-Command` para executar um liner. Omitindo este parâmetro pode ser que o starship entre em um loop recursivo, onde o shell tente carrega um ambiente completo de perfil com o próprio starship novamente e portanto execute novamente o comando, entrando em um loop sem fim. -Parameters similar to `-NoProfile` in PowerShell are recommended for other shells as well to avoid extra loading time of a custom profile on every starship invocation. +Parâmetros similares ao `-NoProfile` no PowerShell são recomendados para outras shells, bem como para evitar um tempo de carregamento maior toda vez que o starship for chamado. -Automatic detection of shells and proper parameters addition are currently implemented, but it's possible that not all shells are covered. [Please open an issue](https://github.com/starship/starship/issues/new/choose) with shell details and starship configuration if you hit such scenario. +Detecção automática de shell e adição de parâmetros estão sendo implementados atualmente, mas é possível que nem todas as shells sejam cobertas. [Por favor abra uma issue](https://github.com/starship/starship/issues/new/choose) com detalhes do shell e configurações do starship se você acertar algum cenário. ::: diff --git a/docs/pt-BR/faq/README.md b/docs/pt-BR/faq/README.md index 6f502999..6260d971 100644 --- a/docs/pt-BR/faq/README.md +++ b/docs/pt-BR/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings Isto vai retornar o rastreamento do log e um detalhamento de todos os módulos que levam mais que 1ms para executar ou produzir alguma saída. -Finalmente se você quer procurar um bug você pode usar o comando `bug-report` para criar uma issue no Github. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/pt-BR/guide/README.md b/docs/pt-BR/guide/README.md index 436fc80a..0d2d96b4 100644 --- a/docs/pt-BR/guide/README.md +++ b/docs/pt-BR/guide/README.md @@ -169,7 +169,7 @@ ### Pré-requisitos -- Uma [Nerd Font](https://www.nerdfonts.com/) instalada e funcionando no seu terminal (por exemplo, experimente a [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### 1º passo. Instalar o Starship diff --git a/docs/pt-PT/config/README.md b/docs/pt-PT/config/README.md index 64db4cb0..c7c059de 100644 --- a/docs/pt-PT/config/README.md +++ b/docs/pt-PT/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/pt-PT/faq/README.md b/docs/pt-PT/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/pt-PT/faq/README.md +++ b/docs/pt-PT/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/pt-PT/guide/README.md b/docs/pt-PT/guide/README.md index 8b73fa92..77113c00 100644 --- a/docs/pt-PT/guide/README.md +++ b/docs/pt-PT/guide/README.md @@ -169,7 +169,7 @@ ### Prerequisites -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Step 1. Install Starship diff --git a/docs/ru-RU/advanced-config/README.md b/docs/ru-RU/advanced-config/README.md index 4c627fcd..c61dbea3 100644 --- a/docs/ru-RU/advanced-config/README.md +++ b/docs/ru-RU/advanced-config/README.md @@ -8,7 +8,7 @@ ::: -## TransientPrompt in PowerShell +## TransientPrompt для PowerShell It is possible to replace the previous-printed prompt with a custom string. This is useful in cases where all the prompt information is not always needed. To enable this, run `Enable-TransientPrompt` in the shell session. To make it permanent, put this statement in your `$PROFILE`. Transience can be disabled on-the-fly with `Disable-TransientPrompt`. @@ -131,7 +131,7 @@ set +o functrace ## Custom pre-prompt and pre-execution Commands in PowerShell -PowerShell does not have a formal preexec/precmd framework like most other shells. Because of this, it is difficult to provide fully customizable hooks in `powershell`. Тем не менее, Starship дает вам ограниченную возможность вставить собственные функции в процедуру отображения подсказки: +PowerShell does not have a formal preexec/precmd framework like most other shells. Из-за этого трудно предоставить полностью настраиваемые хуки в `powershell`. Тем не менее, Starship дает вам ограниченную возможность вставить собственные функции в процедуру отображения подсказки: Create a function named `Invoke-Starship-PreCommand` diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md index 4d4ac44f..dc78f819 100644 --- a/docs/ru-RU/config/README.md +++ b/docs/ru-RU/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Логгирование (Запись действий) -По умолчанию в starship записываются предупреждения и ошибки в файл с именем `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, где ключ сессии соответствует экземпляру терминала. Это, однако, может быть изменено с помощью переменной окружения `STARSHIP_CACHE`: +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. Это, однако, может быть изменено с помощью переменной окружения `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ format = 'via [🦕 $version](green bold) ' 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` взаимодействует со стандартными параметрами усечения, которые могут сначала показаться странными: если он не равен нулю, элементы пути, который обычно усекается, вместо этого отображаются с указанным количеством символов. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` взаимодействует со стандартными параметрами усечения, которые могут сначала показаться странными: если он не равен нулю, элементы пути, который обычно усекается, вместо этого отображаются с указанным количеством символов. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Опции -| Параметр | По умолчанию | Описание | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | Символ, используемый перед отображением значения переменной. | -| `variable` | | Отображаемая переменная окружения. | -| `default` | | Значение отображаемое, когда выбранная переменная не определена. | -| `format` | `"with [$env_value]($style) "` | Формат модуля. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Отключает модуль `env_var`. | +| Параметр | По умолчанию | Описание | +| ---------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | Символ, используемый перед отображением значения переменной. | +| `variable` | | Отображаемая переменная окружения. | +| `default` | | Значение отображаемое, когда выбранная переменная не определена. | +| `format` | `"with [$env_value]($style) "` | Формат модуля. | +| `описание` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Отключает модуль `env_var`. | ### Переменные @@ -1399,7 +1399,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### Опции -| Параметр | По умолчанию | Описание | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `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'` | Стиль модуля. | -| `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. | +| Параметр | По умолчанию | Описание | +| ------------------- | -------------------------------- | --------------------------------------------------------------------------------------------- | +| `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'` | Стиль модуля. | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | Символ, используемый для обозначения усечения названия ветки. You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Переменные @@ -1586,23 +1586,23 @@ format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' very-long-project-name = 'vlpn' ``` -## Git Branch +## Ветвь Git -The `git_branch` module shows the active branch of the repo in your current directory. +Модуль `git_branch` показывает активную ветку репозитория в вашем текущей директории. ### Опции -| Параметр | По умолчанию | Описание | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | Формат модуля. Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | Стиль модуля. | -| `truncation_length` | `2^63 - 1` | Truncates a git branch to `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Параметр | По умолчанию | Описание | +| -------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `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) '` | Формат модуля. Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | A format string representing the symbol of git branch. | +| `style` | `'bold purple'` | Стиль модуля. | +| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | +| `truncation_symbol` | `'…'` | Символ, используемый для обозначения усечения названия ветки. You can use `''` for no symbol. | +| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | +| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | +| `disabled` | `false` | Отключает модуль `git_branch`. | ### Переменные @@ -1636,14 +1636,14 @@ The `git_commit` module shows the current commit hash and also the tag (if any) | Параметр | По умолчанию | Описание | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | Длина отображаемого хэша коммита git. | | `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. | | `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `disabled` | `false` | Отключает модуль `git_commit`. | ### Переменные @@ -1665,9 +1665,9 @@ commit_hash_length = 4 tag_symbol = '🔖 ' ``` -## Git State +## Состояние Git -The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too. +Модуль `git_state` будет отображаться в директориях, являющимися частью репозитория git, и там, где выполняется операция, такие как: _REBASING_, _BISECTING_, и т. д. Если есть информация о прогрессе (например, REBASING 3/10), эта информация также будет показана. ### Опции @@ -1682,7 +1682,7 @@ The `git_state` module will show in directories which are part of a git reposito | `am_or_rebase` | `'AM/REBASE'` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. | | `style` | `'bold yellow'` | Стиль модуля. | | `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Формат модуля. | -| `disabled` | `false` | Disables the `git_state` module. | +| `disabled` | `false` | Отключает модуль `git_state`. | ### Переменные @@ -1693,7 +1693,7 @@ The `git_state` module will show in directories which are part of a git reposito | progress_total | `2` | The total operation progress | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: @@ -1734,7 +1734,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | 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 +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -1748,7 +1748,7 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Статус Git -The `git_status` module shows symbols representing the state of the repo in your current directory. +Модуль `git_status` отображает символы, представляющие состояние репозитория в вашей текущей директории. ::: tip @@ -1761,7 +1761,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | Параметр | По умолчанию | Описание | | ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | +| `conflicted` | `'='` | Эта ветка имеет конфликты слияния. | | `ahead` | `'⇡'` | The format of `ahead` | | `behind` | `'⇣'` | The format of `behind` | | `diverged` | `'⇕'` | The format of `diverged` | @@ -1774,7 +1774,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | `deleted` | `'✘'` | The format of `deleted` | | `style` | `'bold red'` | Стиль модуля. | | `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| `disabled` | `false` | Отключает модуль `git_status`. | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Переменные @@ -1794,7 +1794,7 @@ The following variables can be used in `format`: | `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. | | style\* | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style The following variables can be used in `diverged`: @@ -1805,9 +1805,9 @@ The following variables can be used in `diverged`: The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: -| Переменная | Описание | -| ---------- | ------------------------ | -| `count` | Show the number of files | +| Переменная | Описание | +| ---------- | -------------------------- | +| `count` | Показать количество файлов | ### Пример @@ -1828,7 +1828,7 @@ renamed = '👅' deleted = '🗑' ``` -Show ahead/behind count of the branch being tracked +Показывать счетчик впереди/позади для отслеживаемой ветки ```toml # ~/.config/starship.toml @@ -1873,7 +1873,7 @@ The `golang` module shows the currently installed version of [Go](https://golang | `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'` | Стиль модуля. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Отключает модуль `golang`. | ### Переменные @@ -1914,7 +1914,7 @@ The `guix_shell` module shows the [guix-shell](https://guix.gnu.org/manual/devel | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -1959,7 +1959,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c | symbol | | Отражает значение параметра `symbol` | | style* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ## Haskell @@ -1980,7 +1980,7 @@ By default the module will be shown if any of the following conditions are met: | `detect_files` | `['stack.yaml', 'cabal.project']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold purple'` | Стиль модуля. | -| `disabled` | `false` | Disables the `haskell` module. | +| `disabled` | `false` | Отключает модуль `haskell`. | ### Переменные @@ -2075,24 +2075,24 @@ format = 'via [⎈ $version](bold white) ' ## Имя хоста -The `hostname` module shows the system hostname. +Модуль `hostname` отображает имя системы (хоста). ### Опции -| Параметр | По умолчанию | Описание | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | Формат модуля. | -| `style` | `'bold dimmed green'` | Стиль модуля. | -| `disabled` | `false` | Disables the `hostname` module. | +| Параметр | По умолчанию | Описание | +| ------------ | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | Показывать имя хоста только при подключении через SSH. | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | Символы, по которую имя хоста будет сокращено после первого совпадения. `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | Формат модуля. | +| `style` | `'bold dimmed green'` | Стиль модуля. | +| `disabled` | `false` | Отключает модуль `hostname`. | ### Переменные | Переменная | Пример | Описание | | ---------- | ---------- | ----------------------------------------------------- | -| hostname | `computer` | The hostname of the computer | +| имя хоста | `computer` | The hostname of the computer | | style\* | | Отражает значение параметра `style` | | ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### Опции -| Параметр | По умолчанию | Описание | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | Формат модуля. | -| `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']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | Стиль модуля. | -| `disabled` | `false` | Disables the `java` module. | +| Параметр | По умолчанию | Описание | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | Формат модуля. | +| `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'` | Стиль модуля. | +| `disabled` | `false` | Отключает модуль `java`. | ### Переменные @@ -2138,7 +2138,7 @@ The `java` module shows the currently installed version of [Java](https://www.or | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -2149,9 +2149,9 @@ The `java` module shows the currently installed version of [Java](https://www.or symbol = '🌟 ' ``` -## Jobs +## Работы -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +Модуль `jobs` отображает текущее количество запущенных работ. Модуль будет показан только если работы выполняются в фоне. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. The default functionality is: @@ -2175,13 +2175,13 @@ The `threshold` option is deprecated, but if you want to use it, the module will | Параметр | По умолчанию | Описание | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `threshold`* | `1` | Show number of jobs if exceeded. | +| `threshold`* | `1` | Показывать количество работ, если превышено. | | `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) '` | Формат модуля. | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | | `style` | `'bold blue'` | Стиль модуля. | -| `disabled` | `false` | Disables the `jobs` module. | +| `disabled` | `false` | Отключает модуль `jobs`. | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2274,7 +2274,7 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -2299,7 +2299,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2317,7 +2317,7 @@ When the module is enabled it will always be active, unless any of `detect_exten | `detect_extensions` | `[]` | Which extensions should trigger this module. | | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this modules. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| `disabled` | `true` | Отключает модуль `kubernetes`. | ### Переменные @@ -2330,7 +2330,7 @@ When the module is enabled it will always be active, unless any of `detect_exten | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,23 +2372,23 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## Разрыв Строки -The `line_break` module separates the prompt into two lines. +Модуль `line_break` разделяет командную строку на две строки. ### Опции -| Параметр | По умолчанию | Описание | -| ---------- | ------------ | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Параметр | По умолчанию | Описание | +| ---------- | ------------ | ------------------------------------------------------------------------ | +| `disabled` | `false` | Отключает модуль `line_break`, отображая командную строку в одну строку. | ### Пример @@ -2462,7 +2462,7 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -2473,27 +2473,27 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## Использование памяти -The `memory_usage` module shows current system memory and swap usage. +Модуль `memory_usage` отображает текущую системную память и использование подкачки. -By default the swap usage is displayed if the total system swap is non-zero. +По умолчанию использование подкачки отображается, если общая сумма подкачки системы не равна нулю. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: ### Опции -| Параметр | По умолчанию | Описание | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Формат модуля. | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | Стиль модуля. | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Параметр | По умолчанию | Описание | +| ----------- | ----------------------------------------------- | ------------------------------------------------------------------ | +| `threshold` | `75` | Скрывать использование памяти, если она не превышает этот процент. | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | Формат модуля. | +| `symbol` | `'🐏'` | Символ, используемый перед отображением использования памяти. | +| `style` | `'bold dimmed white'` | Стиль модуля. | +| `disabled` | `true` | Отключает модуль `memory_usage`. | ### Переменные @@ -2559,20 +2559,20 @@ symbol = ' ' style = 'bold dimmed green' ``` -## Mercurial Branch +## Ветвь Mercurial The `hg_branch` module shows the active branch and topic of the repo in your current directory. ### Опции -| Параметр | По умолчанию | Описание | -| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | -| `symbol` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `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. | +| Параметр | По умолчанию | Описание | +| ------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------- | +| `symbol` | `' '` | Символ, используемый перед закладкой hg или именем ветви репозитория в текущем каталоге. | +| `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` | `'…'` | Символ, используемый для обозначения усечения названия ветки. | +| `disabled` | `true` | Отключает модуль `hg_branch`. | ### Переменные @@ -2609,7 +2609,7 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Параметр | По умолчанию | Описание | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `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 Nim. | | `detect_extensions` | `['nim', 'nims', 'nimble']` | Which extensions should trigger this module. | @@ -2640,7 +2640,7 @@ symbol = '🎣 ' ## Nix-shell -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. +The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. Модуль будет показываться внутри среды nix-shell. ### Опции @@ -2652,7 +2652,7 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `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. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | Отключает модуль `nix_shell`. | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Переменные @@ -2701,7 +2701,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n | `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | | `detect_folders` | `['node_modules']` | Which folders should trigger this module. | | `style` | `'bold green'` | Стиль модуля. | -| `disabled` | `false` | Disables the `nodejs` module. | +| `disabled` | `false` | Отключает модуль `nodejs`. | | `not_capable_style` | `bold red` | The style for the module when an engines property in package.json does not match the Node.js version. | ### Переменные @@ -2828,7 +2828,7 @@ The `openstack` module shows the current OpenStack cloud and project. The module | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,9 +2940,9 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## Версия пакета -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +Модуль `package` отображается, когда текущий каталог является репозиторием для пакета и показывает его текущую версию. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2967,11 +2969,11 @@ The `package` module is shown when the current directory is the repository for a | Параметр | По умолчанию | Описание | | ----------------- | --------------------------------- | ------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | Формат модуля. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | Символ, используемый перед отображением версии пакета. | | `version_format` | `'v${raw}'` | The version format. 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. | +| `disabled` | `false` | Отключает модуль `package`. | ### Переменные @@ -2981,7 +2983,7 @@ The `package` module is shown when the current directory is the repository for a | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3046,12 +3048,12 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `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 PHP. | +| `symbol` | `'🐘 '` | Символ, используемый перед отображением версии 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'` | Стиль модуля. | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | Отключает модуль `php`. | ### Переменные @@ -3061,7 +3063,7 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `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. | +| `truncation_symbol` | `'…'` | Символ, используемый для обозначения усечения названия ветки. | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3115,13 +3117,13 @@ By default the module will be shown if any of the following conditions are met: ### Переменные -| Переменная | Пример | Описание | -| ---------- | ---------- | ------------------------------------ | -| version | `v0.12.24` | The version of `pulumi` | -| stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | -| symbol | | Отражает значение параметра `symbol` | -| style\* | | Отражает значение параметра `style` | +| Переменная | Пример | Описание | +| ---------------- | ---------- | ------------------------------------ | +| version | `v0.12.24` | The version of `pulumi` | +| stack | `dev` | The current Pulumi stack | +| имя пользователя | `alice` | The current Pulumi username | +| symbol | | Отражает значение параметра `symbol` | +| style\* | | Отражает значение параметра `style` | *: Эта переменная может использоваться только в качестве части строки style @@ -3173,7 +3175,7 @@ The `purescript` module shows the currently installed version of [PureScript](ht | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3210,7 +3212,7 @@ By default the module will be shown if any of the following conditions are met: | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `'🐍 '` | A format string representing the symbol of Python | | `style` | `'yellow bold'` | Стиль модуля. | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | Использовать pyenv для получения версии Python | | `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 | @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). Модуль будет показан, если любое из следующих условий соблюдено: - The current directory contains a file with `.red` or `.reds` extension @@ -3380,7 +3382,7 @@ By default the `red` module shows the currently installed version of [Red](https | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). Модуль будет показан, если любое из следующих условий соблюдено: - Текущий каталог содержит файл `Gemfile` - Текущий каталог содержит файл `.ruby-version` @@ -3414,7 +3416,7 @@ Starship gets the current Ruby version by running `ruby -v`. | `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. | +| `disabled` | `false` | Отключает модуль `ruby`. | ### Переменные @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). Модуль будет показан, если любое из следующих условий соблюдено: - Текущий каталог содержит файл `Cargo.toml` - Текущий каталог содержит файл с расширением `.rs` @@ -3453,7 +3455,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold red'` | Стиль модуля. | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | Отключает модуль `rust`. | ### Переменные @@ -3505,7 +3507,7 @@ The `scala` module shows the currently installed version of [Scala](https://www. | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Переменная | По умолчанию | Описание | | ---------- | ------------ | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | Отражает значение параметра `style`. | *: Эта переменная может использоваться только в качестве части строки style @@ -3657,7 +3659,7 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: @@ -3700,20 +3702,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Переменные -| Переменная | Пример | Описание | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Отражает значение параметра `symbol` | -| style\* | | Отражает значение параметра `style` | +| Переменная | Пример | Описание | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | +| style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). Модуль будет показан, если любое из следующих условий соблюдено: - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension @@ -3806,7 +3808,7 @@ By default the `swift` module shows the currently installed version of [Swift](h | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3843,7 +3845,7 @@ By default the module will be shown if any of the following conditions are met: | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `['.terraform']` | Which folders should trigger this module. | | `style` | `'bold 105'` | Стиль модуля. | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | Отключает модуль `terraform`. | ### Переменные @@ -3854,7 +3856,7 @@ By default the module will be shown if any of the following conditions are met: | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3878,25 +3880,25 @@ format = '[🏎💨 $workspace]($style) ' ## Время -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +Модуль `time` показывает текущее **локальное** время. Значение конфигурации `format` используется пакетом [`chrono`](https://crates.io/crates/chrono) для контроля того, как отображается время. Ознакомьтесь с [документацией chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html), чтобы увидеть доступные параметры. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации. ::: ### Опции -| Параметр | По умолчанию | Описание | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | The format string for the module. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Параметр | По умолчанию | Описание | +| ----------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | The format string for the module. | +| `use_12hr` | `false` | Включить 12-часовое форматирование | +| `time_format` | см. ниже | [Строка формата chrono](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html), используемая для форматирования времени. | +| `style` | `'bold yellow'` | Стиль модуля времени | +| `utc_time_offset` | `'local'` | Устанавливает смещение UTC. Range from -24 < x < 24. Разрешает числам с плавающей точкой встраивать 30/45-минутное смещение временной зоны. | +| `disabled` | `true` | Отключает модуль `time`. | +| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. @@ -3904,10 +3906,10 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | Переменная | Пример | Описание | | ---------- | ---------- | ----------------------------------- | -| time | `13:08:10` | The current time. | +| время | `13:08:10` | The current time. | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -3922,9 +3924,9 @@ utc_time_offset = '-5' time_range = '10:00:00-14:00:00' ``` -## Username +## Имя пользователя -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +Модуль `username` показывает имя текущего пользователя. Модуль будет показан, если любое из следующих условий соблюдено: - The current user is root/admin - Текущий пользователь отличается от залогиненного @@ -3939,13 +3941,13 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` ### Опции -| Параметр | По умолчанию | Описание | -| ------------- | ----------------------- | ------------------------------------------- | -| `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 '` | Формат модуля. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| Параметр | По умолчанию | Описание | +| ------------- | ----------------------- | ------------------------------------------------------- | +| `style_root` | `'bold red'` | The style used when the user is root/admin. | +| `style_user` | `'bold yellow'` | Стиль, используемый для всех пользователей, кроме root. | +| `format` | `'[$user]($style) in '` | Формат модуля. | +| `show_always` | `false` | Всегда показывать модуль `username`. | +| `disabled` | `false` | Отключает модуль `username`. | ### Переменные @@ -3994,7 +3996,7 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). Модуль будет показан, если любое из следующих условий соблюдено: - The current directory contains a `.zig` file @@ -4100,7 +4102,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | symbol | | Отражает значение параметра `symbol` | | style\* | | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style ### Пример @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `описание` | `''` | 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. | @@ -4176,7 +4178,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | symbol | Отражает значение параметра `symbol` | | style\* | Отражает значение параметра `style` | -*: This variable can only be used as a part of a style string +*: Эта переменная может использоваться только в качестве части строки style #### Custom command shell diff --git a/docs/ru-RU/faq/README.md b/docs/ru-RU/faq/README.md index b8c56ab1..fd295b14 100644 --- a/docs/ru-RU/faq/README.md +++ b/docs/ru-RU/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/ru-RU/guide/README.md b/docs/ru-RU/guide/README.md index e4a89a0e..c1cc9969 100644 --- a/docs/ru-RU/guide/README.md +++ b/docs/ru-RU/guide/README.md @@ -169,7 +169,7 @@ ### Обязательные требования -- Установленный и включённый [шрифт Powerline](https://www.nerdfonts.com/) (например, [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Шаг 1. Установите Starship diff --git a/docs/tr-TR/advanced-config/README.md b/docs/tr-TR/advanced-config/README.md index eb1df7e8..c7ba00fc 100644 --- a/docs/tr-TR/advanced-config/README.md +++ b/docs/tr-TR/advanced-config/README.md @@ -8,15 +8,16 @@ Bu bölümdeki yapılandırmalar, Starship'in gelecekteki sürümlerinde değiş ::: -## TransientPrompt in PowerShell +## PowerShell'de TransientPrompt -It is possible to replace the previous-printed prompt with a custom string. This is useful in cases where all the prompt information is not always needed. To enable this, run `Enable-TransientPrompt` in the shell session. To make it permanent, put this statement in your `$PROFILE`. Transience can be disabled on-the-fly with `Disable-TransientPrompt`. +Önceden yazdırılan istemi özel bir dizeyle değiştirmek mümkündür. Bu tüm bilgi istemi bilgilerinin her zaman gerekli olmadığı durumlarda kullanışlıdır. Etkinleştirmek için shell oturumunda `Enable-TransientPrompt`'u çalıştırın. Kalıcı hale getirmek için, profilinize `$PROFILE` ifadesini koyun. Geçicilik anında devre dışı bırakılabilir `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 +Varsayılan olarak, girişin sol tarafı `>` ile değiştirilir. Bunu özelleştirmek için `Invoke-Starship-TransientFunction` adında yeni bir fonksiyon tanımlayın. Örneğin, Starship'in `karakter` modülünü burada göster, yapın ```powershell + function Invoke-Starship-TransientFunction { - &starship module character + &starhip modülü karakteri } Invoke-Expression (&starship init powershell) @@ -26,7 +27,7 @@ Enable-TransientPrompt ## TransientPrompt and TransientRightPrompt in Cmd -Clink allows you to replace the previous-printed prompt with custom strings. This is useful in cases where all the prompt information is not always needed. To enable this, run `clink set prompt.transient ` where \ can be one of: +Clink allows you to replace the previous-printed prompt with custom strings. Bu tüm bilgi istemi bilgilerinin her zaman gerekli olmadığı durumlarda kullanışlıdır. To enable this, run `clink set prompt.transient ` where \ can be one of: - `always`: always replace the previous prompt - `same_dir`: replace the previous prompt only if the working directory is same @@ -34,7 +35,7 @@ Clink allows you to replace the previous-printed prompt with custom strings. Thi 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: -- 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 +- Varsayılan olarak, girişin sol tarafı `>` ile değiştirilir. 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. Örneğin, Starship'in `karakter` modülünü burada göster, yapın ```lua function starship_transient_prompt_func(prompt) @@ -56,11 +57,11 @@ load(io.popen('starship init cmd'):read("*a"))() ## TransientPrompt and TransientRightPrompt in Fish -It is possible to replace the previous-printed prompt with a custom string. This is useful in cases where all the prompt information is not always needed. 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`. +Önceden yazdırılan istemi özel bir dizeyle değiştirmek mümkündür. Bu tüm bilgi istemi bilgilerinin her zaman gerekli olmadığı durumlarda kullanışlıdır. 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`. Note that in case of Fish, the transient prompt is only printed if the commandline is non-empty, and syntactically correct. -- 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 +- 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`. Örneğin, Starship'in `karakter` modülünü burada göster, yapın ```fish function starship_transient_prompt_func diff --git a/docs/tr-TR/config/README.md b/docs/tr-TR/config/README.md index 2db83caf..4aa80dc9 100644 --- a/docs/tr-TR/config/README.md +++ b/docs/tr-TR/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `stil` | `'red dimmed'` | The style for the module. | -| `disabled` | `false` | Disables the `java` module. | +| 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 | +| `stil` | `'red dimmed'` | The style for the module. | +| `disabled` | `false` | Disables the `java` module. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/tr-TR/faq/README.md b/docs/tr-TR/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/tr-TR/faq/README.md +++ b/docs/tr-TR/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/tr-TR/guide/README.md b/docs/tr-TR/guide/README.md index 04db9c13..a30e9186 100644 --- a/docs/tr-TR/guide/README.md +++ b/docs/tr-TR/guide/README.md @@ -169,7 +169,7 @@ ### Ön koşullar -- [Nerd Font](https://www.nerdfonts.com/) kurulu ve terminalinizde kullanılıyor olmalı (başlarken [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)'u deneyebilirsiniz). +- 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)). ### 1. Adım Starship'i Kur diff --git a/docs/uk-UA/config/README.md b/docs/uk-UA/config/README.md index 64db4cb0..c7c059de 100644 --- a/docs/uk-UA/config/README.md +++ b/docs/uk-UA/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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']` | 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. | +| 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. | ### Variables @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -3700,18 +3702,18 @@ 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 | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | Example | Description | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: - The current directory contains a `.zig` file diff --git a/docs/uk-UA/faq/README.md b/docs/uk-UA/faq/README.md index c3c797e7..41bb2d39 100644 --- a/docs/uk-UA/faq/README.md +++ b/docs/uk-UA/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/uk-UA/guide/README.md b/docs/uk-UA/guide/README.md index b9032634..b3533468 100644 --- a/docs/uk-UA/guide/README.md +++ b/docs/uk-UA/guide/README.md @@ -169,7 +169,7 @@ ### Передумови -- Установлений та ввімкнений у Вашому терміналі набір шрифтів [Nerd Font](https://www.nerdfonts.com/) (для прикладу, спробуйте [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Крок 1. Установіть starship diff --git a/docs/vi-VN/config/README.md b/docs/vi-VN/config/README.md index 6ac4654a..f43a0615 100644 --- a/docs/vi-VN/config/README.md +++ b/docs/vi-VN/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### Logging -Mặc định, starship logs các cảnh báo và các lỗi trong một tập tin tên là `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, nơi đó khoá của phiên làm việc tương ứng với thực thể terminal của bạn. Cái này, tuy nhiên có thể được thay đổi bằng cách sử dụng biến môi trường `STARSHIP_CACHE`: +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. Cái này, tuy nhiên có thể được thay đổi bằng cách sử dụng biến môi trường `STARSHIP_CACHE`: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ Cho ví dụ, `~/Dev/Nix/nixpkgs/pkgs` nơi `nixpkgs` là gốc của repo, và 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | Biểu tượng sử dụng để hiển thị trước giá trị của biến. | -| `variable` | | Biến môi trường được hiển thị. | -| `default` | | Giá trị mặc định được hiển thị khi biến được chọn không được định nghĩa. | -| `format` | `"with [$env_value]($style) "` | Định dạng cho module. | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | Vô hiệu `env_var`. | +| Tuỳ chọn | Mặc định | Mô tả | +| ---------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | Biểu tượng sử dụng để hiển thị trước giá trị của biến. | +| `variable` | | Biến môi trường được hiển thị. | +| `default` | | Giá trị mặc định được hiển thị khi biến được chọn không được định nghĩa. | +| `format` | `"with [$env_value]($style) "` | Định dạng cho module. | +| `mô tả` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Vô hiệu `env_var`. | ### Các biến @@ -1399,7 +1399,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | Định dạng cho module. 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'` | Kiểu cho module. | -| `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. | +| Tuỳ chọn | Mặc định | Mô tả | +| ------------------- | -------------------------------- | ------------------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | Định dạng cho module. 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'` | Kiểu cho module. | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | Biểu tượng sử dụng để nhận biết một tên nhánh được rút gọn. You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Các biến @@ -1515,30 +1515,30 @@ truncation_symbol = '' ## Google Cloud (`gcloud`) -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. +Mô đun `gcloud` hiển thị cấu hình hiện tại của [`gcloud`](https://cloud.google.com/sdk/gcloud) CLI. Cái này dựa trên tập tin `~/.config/gcloud/active_config`, `~/.config/gcloud/configurations/config_{CONFIG NAME}` và biến môi trường `CLOUDSDK_CONFIG`. ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Định dạng cho module. | -| `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'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| ----------------- | ---------------------------------------------------------- | ----------------------------------------------------------------- | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Định dạng cho module. | +| `symbol` | `'☁️ '` | Kí hiệu sử dụng hiển thị trước profile GCP hiện tại. | +| `region_aliases` | `{}` | Bảng ánh xạ của các bí danh của region để hiển thị ngoài tên GCP. | +| `project_aliases` | `{}` | Table of project aliases to display in addition to the GCP name. | +| `style` | `'bold blue'` | Kiểu cho module. | +| `disabled` | `false` | Vô hiệu mô đun `gcloud`. | ### Các biến -| Biến | Ví dụ | Mô tả | -| --------- | ------------- | ------------------------------------------------------------------ | -| 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 | | Giá trị ghi đè tuỳ chọn `symbol` | -| style\* | | Giá trị ghi đè của `style` | +| Biến | Ví dụ | Mô tả | +| --------- | ------------- | -------------------------------------------------------------------- | +| region | `us-central1` | Region GCP hiện tại | +| account | `foo` | Profile hiện tại của GCP | +| domain | `example.com` | The current GCP profile domain | +| project | | Dự án hiện tại của GCP | +| active | `default` | Tên cấu hình có hiệu lực viết trong `~/.config/gcloud/active_config` | +| symbol | | Giá trị ghi đè tuỳ chọn `symbol` | +| style\* | | Giá trị ghi đè của `style` | *: Biến này có thể chỉ được sử dụng như một phần của style string @@ -1588,29 +1588,29 @@ very-long-project-name = 'vlpn' ## Git Branch -The `git_branch` module shows the active branch of the repo in your current directory. +Mô đun `git_branch` hiển thị nhánh hiệu lực của repo trong thư mục hiện tại của bạn. ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | Định dạng cho module. Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | Kiểu cho module. | -| `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| -------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `always_show_remote` | `false` | Hiển thị tên nhánh remote tracking, thậm chí nếu nó bằng với tên nhánh local. | +| `format` | `'on [$symbol$branch(:$remote_branch)]($style) '` | Định dạng cho module. Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | Một chuỗi định dạng hiển thị biểu tượng của nhánh git. | +| `style` | `'bold purple'` | Kiểu cho module. | +| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | +| `truncation_symbol` | `'…'` | Biểu tượng sử dụng để nhận biết một tên nhánh được rút gọn. You can use `''` for no symbol. | +| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | +| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | +| `disabled` | `false` | Vô hiệu mô đun `git_branch`. | ### Các biến | Biến | Ví dụ | Mô tả | | ------------- | -------- | ------------------------------------------------------------------------------------------------------ | | 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`. | +| remote_name | `origin` | Tên remote. | +| remote_branch | `master` | Tên của nhánh đã theo dõi trên `remote_name`. | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | @@ -1630,26 +1630,26 @@ ignore_branches = ['master', 'main'] ## Git Commit -The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory. +Mô đun `git_commit` hiển thị hash commit hiện tại và tag (nếu có) của repo trong thư mục hiện tại của bạn. ### Options | Tuỳ chọn | Mặc định | Mô tả | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | Độ dài của git commit hash được hiển thị. | | `format` | `'[\($hash$tag\)]($style) '` | Định dạng cho module. | | `style` | `'bold green'` | Kiểu cho module. | | `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_disabled` | `true` | Vô hiệu hiển thị thông tin tag trong mô đun `git_commit`. | | `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. | -| `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `tag_symbol` | `' 🏷 '` | Biểu tượng tag trước thông tin được hiển thị | +| `disabled` | `false` | Vô hiệu mô đun `git_commit`. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | --------- | -------------------------------------------- | -| hash | `b703eb3` | The current git commit hash | +| hash | `b703eb3` | Git commit hash hiện tại | | tag | `v1.0.0` | The tag name if showing tag info is enabled. | | style\* | | Giá trị ghi đè của `style` | @@ -1667,33 +1667,33 @@ tag_symbol = '🔖 ' ## Git State -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. +Mô đun `git_state` sẽ hiển hiển thị trong các thư mục là một phần của gt repository và những nơi tồn tại một hoạt động trong tiến trình như _REBASING_, _BISECTING_. Nếu có thông tin tiến trình (ví dụ, REBASING 3/10), thông tin đó cũng sẽ được hiển thị. ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. | -| `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. | -| `revert` | `'REVERTING'` | A format string displayed when a `revert` is in progress. | -| `cherry_pick` | `'CHERRY-PICKING'` | A format string displayed when a `cherry-pick` is in progress. | -| `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'` | Kiểu cho module. | -| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Định dạng cho module. | -| `disabled` | `false` | Disables the `git_state` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| -------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `rebase` | `'REBASING'` | Một format sring hiển thị khi một `rebase` đang trong quá trình. | +| `merge` | `'MERGING'` | Một format sring hiển thị khi một `merge` đang trong quá trình. | +| `revert` | `'REVERTING'` | Một format sring hiển thị khi một `revert` đang trong quá trình. | +| `cherry_pick` | `'CHERRY-PICKING'` | Một format sring hiển thị khi một `cherry-pick` đang trong quá trình. | +| `bisect` | `'BISECTING'` | Một format sring hiển thị khi một `bisect` đang trong quá trình. | +| `am` | `'AM'` | Một format sring hiển thị khi một `apply-mailbox` (`git am`) đang trong quá trình. | +| `am_or_rebase` | `'AM/REBASE'` | Một format sring hiển thị khi một `apply-mailbox` (`rebase`) đang trong quá trình. | +| `style` | `'bold yellow'` | Kiểu cho module. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Định dạng cho module. | +| `disabled` | `false` | Vô hiệu `git_state` module. | ### Các biến -| Biến | Ví dụ | Mô tả | -| ---------------- | ---------- | ------------------------------ | -| state | `REBASING` | The current state of the repo | -| progress_current | `1` | The current operation progress | -| progress_total | `2` | The total operation progress | -| style\* | | Giá trị ghi đè của `style` | +| Biến | Ví dụ | Mô tả | +| ---------------- | ---------- | --------------------------------- | +| state | `REBASING` | Trạng thái của repo hiện tại | +| progress_current | `1` | Trạng thái của quá trình hiện tại | +| progress_total | `2` | Tổng số các quá trình | +| style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -1734,7 +1734,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | 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 +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -1748,7 +1748,7 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git Status -The `git_status` module shows symbols representing the state of the repo in your current directory. +Mô đun `git_status` hiển thị các biểu tượng đại diện cho trạng thái của repo trong thư mục hiện tại của bạn. ::: tip @@ -1760,54 +1760,54 @@ The Git Status module is very slow in Windows directories (for example under `/m | Tuỳ chọn | Mặc định | Mô tả | | ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | -| `ahead` | `'⇡'` | The format of `ahead` | -| `behind` | `'⇣'` | The format of `behind` | -| `diverged` | `'⇕'` | The format of `diverged` | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | Định dạng mặc định cho `git_status` | +| `conflicted` | `'='` | Nhánh này có nhiều merge conflicts. | +| `ahead` | `'⇡'` | Định dạng của `ahead` | +| `behind` | `'⇣'` | Định dạng của `behind` | +| `diverged` | `'⇕'` | Định dạng của `diverged` | | `up_to_date` | `''` | The format of `up_to_date` | -| `untracked` | `'?'` | The format of `untracked` | -| `stashed` | `'$'` | The format of `stashed` | -| `modified` | `'!'` | The format of `modified` | -| `staged` | `'+'` | The format of `staged` | -| `renamed` | `'»'` | The format of `renamed` | -| `deleted` | `'✘'` | The format of `deleted` | +| `untracked` | `'?'` | Định dạng của `untracked` | +| `stashed` | `'$'` | Định dạng của `stashed` | +| `modified` | `'!'` | Định dạng của `modified` | +| `staged` | `'+'` | Định dạng của `modified` | +| `renamed` | `'»'` | Định dạng của `renamed` | +| `deleted` | `'✘'` | Định dạng của `deleted` | | `style` | `'bold red'` | Kiểu cho module. | | `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| `disabled` | `false` | Vô hiệu `git_status` module. | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Các biến -The following variables can be used in `format`: +Các biến dưới đây có thể được sử dụng trong `format`: | Biến | Mô tả | | -------------- | ------------------------------------------------------------------------------------------------------------- | -| `all_status` | Shortcut for`$conflicted$stashed$deleted$renamed$modified$staged$untracked` | +| `all_status` | Shortcut cho `$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. | -| `conflicted` | Displays `conflicted` when this branch has merge conflicts. | -| `untracked` | Displays `untracked` when there are untracked files in the working directory. | -| `stashed` | Displays `stashed` when a stash exists for the local repository. | -| `modified` | Displays `modified` when there are file modifications in the working directory. | -| `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. | +| `conflicted` | Hiển thị `conflicted` khi nhánh này có merge conflicts. | +| `untracked` | Hiển thị `untracked` khi có tệp tin untracked trong thư mục làm việc. | +| `stashed` | Hiển thị `stashed` khi một stash tồn tại trong local repository. | +| `modified` | Hiển thị `modified` khi có tệp tin được chỉnh sửa trong thư mục làm việc. | +| `staged` | Hiển thị `staged` khi một tệp tin mới được thêm vào staging area. | +| `renamed` | Hiển thị `renamed` khi một tệp tin đổi tên đã được thêm vào staging area. | +| `deleted` | Hiển thị `deleted` khi một tệp tin bị xóa đã được thêm vào staging area. | | style\* | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string -The following variables can be used in `diverged`: +Các biến sau có thể được sử dụng trong `diverged`: -| Biến | Mô tả | -| -------------- | ---------------------------------------------- | -| `ahead_count` | Number of commits ahead of the tracking branch | -| `behind_count` | Number of commits behind the tracking branch | +| Biến | Mô tả | +| -------------- | --------------------------------------------- | +| `ahead_count` | Số lượng commit phía trước của nhánh tracking | +| `behind_count` | Số lượng commit phía sau nhánh tracking | -The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: +Các biến sau có thể được sử dụng trong `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: -| Biến | Mô tả | -| ------- | ------------------------ | -| `count` | Show the number of files | +| Biến | Mô tả | +| ------- | ----------------------------- | +| `count` | Hiển thị số lượng các tệp tin | ### Ví dụ @@ -1828,7 +1828,7 @@ renamed = '👅' deleted = '🗑' ``` -Show ahead/behind count of the branch being tracked +Hiển thị tổng số nhánh phía trước/phía sau của nhánh được track ```toml # ~/.config/starship.toml @@ -1868,18 +1868,18 @@ The `golang` module shows the currently installed version of [Go](https://golang | ------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `format` | `'via [$symbol($version )]($style)'` | Định dạng cho module. | | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `'🐹 '` | A format string representing the symbol of Go. | +| `symbol` | `'🐹 '` | Một format string đại diện cho biểu tượng của Go. | | `detect_extensions` | `['go']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | | `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Những tên tệp nào sẽ kích hoạt mô-đun này. | | `detect_folders` | `['Godeps']` | Những thư mục nào sẽ kích hoạt mô-đun này. | | `style` | `'bold cyan'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | Vô hiệu `golang` module. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | --------- | -------------------------------- | -| version | `v1.12.1` | The version of `go` | +| version | `v1.12.1` | Phiên bản của `go` | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | @@ -1914,7 +1914,7 @@ The `guix_shell` module shows the [guix-shell](https://guix.gnu.org/manual/devel | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -1959,7 +1959,7 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ## Haskell @@ -2011,7 +2011,7 @@ The `haxe` module shows the currently installed version of [Haxe](https://haxe.o | `detect_extensions` | `["hx", "hxml"]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | | `detect_files` | `["project.xml", "Project.xml", "application.xml", "haxelib.json", "hxformat.json", ".haxerc"]` | Những tên tệp nào sẽ kích hoạt mô-đun này. | | `detect_folders` | `[".haxelib", "haxe_libraries"]` | Những thư mục nào nên kích hoạt các mô đun này. | -| `symbol` | `"⌘ "` | A format string representing the symbol of Helm. | +| `symbol` | `"⌘ "` | Một format string đại diện cho biểu tượng của Helm. | | `style` | `"bold fg:202"` | Kiểu cho module. | | `disabled` | `false` | Disables the `haxe` module. | @@ -2050,15 +2050,15 @@ The `helm` module shows the currently installed version of [Helm](https://helm.s | `detect_extensions` | `[]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | | `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Những tên tệp nào sẽ kích hoạt mô-đun này. | | `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | -| `symbol` | `'⎈ '` | A format string representing the symbol of Helm. | +| `symbol` | `'⎈ '` | Một format string đại diện cho biểu tượng của Helm. | | `style` | `'bold white'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `helm` module. | +| `disabled` | `false` | Vô hiệu `helm` module. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | -------- | -------------------------------- | -| version | `v3.1.1` | The version of `helm` | +| version | `v3.1.1` | Phiên bản của `helm` | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | @@ -2075,18 +2075,18 @@ format = 'via [⎈ $version](bold white) ' ## Hostname -The `hostname` module shows the system hostname. +Mô đun `hostname` hiển thị hostnam hệ thống. ### Các tuỳ chọn -| Tuỳ chọn | Mặc định | Mô tả | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | Định dạng cho module. | -| `style` | `'bold dimmed green'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `hostname` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| ------------ | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | Chỉ hiển thị hostname khi được kết nối tới một phiên SSH. | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | Chuỗi mà hostname được cắt ngắn, sau khi khớp lần đầu tiên. `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | Định dạng cho module. | +| `style` | `'bold dimmed green'` | Kiểu cho module. | +| `disabled` | `false` | Vô hiệu `hastname` module. | ### Các biến @@ -2114,31 +2114,31 @@ disabled = false The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn: -- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, `build.boot`, or `.sdkmanrc` file - Thư mục hiện tại chứa một tệp tin với phần mở rộng `.java`, `.class`, `.gradle`, `.jar`, `.clj`, or `.cljc` ### Các tuỳ chọn -| Tuỳ chọn | Mặc định | Mô tả | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | Định dạng cho module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | -| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot']` | Những tên tệp nào sẽ kích hoạt mô-đun này. | -| `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `java` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | Định dạng cho module. | +| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | +| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Những tên tệp nào sẽ kích hoạt mô-đun này. | +| `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | +| `symbol` | `'☕ '` | Một format string đại diện cho biểu tượng Java | +| `style` | `'red dimmed'` | Kiểu cho module. | +| `disabled` | `false` | Vô hiệu `java` module. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | ----- | -------------------------------- | -| version | `v14` | The version of `java` | +| version | `v14` | Phiên bản của `java` | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -2151,7 +2151,7 @@ symbol = '🌟 ' ## Jobs -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +`jobs` module cho biết số lượng các jobs đang chạy. Mô đun sẽ được hiển thị chỉ khi có background jobs đang chạy. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. The default functionality is: @@ -2175,13 +2175,13 @@ The `threshold` option is deprecated, but if you want to use it, the module will | Tuỳ chọn | Mặc định | Mô tả | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `threshold`* | `1` | Show number of jobs if exceeded. | +| `threshold`* | `1` | Cho biết số lượng jobs nếu nó vượt quá. | | `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) '` | Định dạng cho module. | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | | `style` | `'bold blue'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `jobs` module. | +| `disabled` | `false` | Vô hiệu `jobs` module. | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2189,7 +2189,7 @@ The `threshold` option is deprecated, but if you want to use it, the module will | Biến | Ví dụ | Mô tả | | --------- | ----- | -------------------------------- | -| number | `1` | The number of jobs | +| number | `1` | Số lượng job | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | @@ -2223,15 +2223,15 @@ The `julia` module shows the currently installed version of [Julia](https://juli | `detect_extensions` | `['jl']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | | `detect_files` | `['Project.toml', 'Manifest.toml']` | Những tên tệp nào sẽ kích hoạt mô-đun này. | | `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | -| `symbol` | `'ஃ '` | A format string representing the symbol of Julia. | +| `symbol` | `'ஃ '` | Một format string đại diện cho biếu tượng của Julia. | | `style` | `'bold purple'` | Kiểu cho module. | -| `disabled` | `false` | Disables the `julia` module. | +| `disabled` | `false` | Vô hiệu `julia` module. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | -------- | -------------------------------- | -| version | `v1.4.0` | The version of `julia` | +| version | `v1.4.0` | Phiên bản của `julia` | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | @@ -2254,27 +2254,27 @@ The `kotlin` module shows the currently installed version of [Kotlin](https://ko ### Options -| Tuỳ chọn | Mặc định | Mô tả | -| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | Định dạng cho module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `detect_extensions` | `['kt', 'kts']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | -| `detect_files` | `[]` | Những tên tệp nào sẽ kích hoạt mô-đun này. | -| `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | -| `symbol` | `'🅺 '` | A format string representing the symbol of Kotlin. | -| `style` | `'bold blue'` | Kiểu cho module. | -| `kotlin_binary` | `'kotlin'` | Configures the kotlin binary that Starship executes when getting the version. | -| `disabled` | `false` | Disables the `kotlin` module. | +| Tuỳ chọn | Mặc định | Mô tả | +| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | Định dạng cho module. | +| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `detect_extensions` | `['kt', 'kts']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | +| `detect_files` | `[]` | Những tên tệp nào sẽ kích hoạt mô-đun này. | +| `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. | +| `symbol` | `'🅺 '` | Một format string đại diện cho biết tượng của Kotllin. | +| `style` | `'bold blue'` | Kiểu cho module. | +| `kotlin_binary` | `'kotlin'` | Cấu hình kotlin nhị phân mà Starship thực thi khi lấy phiên bản. | +| `disabled` | `false` | Vô hiệu `kotlin` module. | ### Các biến | Biến | Ví dụ | Mô tả | | --------- | --------- | -------------------------------- | -| version | `v1.4.21` | The version of `kotlin` | +| version | `v1.4.21` | Phiên bản của `kotlin` | | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -2295,11 +2295,11 @@ kotlin_binary = 'kotlinc' ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. Nếu biến môi trường `$KUBECONFIG` được thiết lập, mô đun sẽ sử dụng cái đó nếu nó không sử dụng `~/.kube/config`. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2330,7 +2330,7 @@ When the module is enabled it will always be active, unless any of `detect_exten | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,12 +2372,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break @@ -2462,7 +2462,7 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -2481,7 +2481,7 @@ By default the swap usage is displayed if the total system swap is non-zero. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -2571,7 +2571,7 @@ The `hg_branch` module shows the active branch and topic of the repo in your cur | `style` | `'bold purple'` | Kiểu cho module. | | `format` | `'on [$symbol$branch(:$topic)]($style) '` | Định dạng cho module. | | `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. | +| `truncation_symbol` | `'…'` | Biểu tượng sử dụng để nhận biết một tên nhánh được rút gọn. | | `disabled` | `true` | Disables the `hg_branch` module. | ### Các biến @@ -2609,7 +2609,7 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang | Tuỳ chọn | Mặc định | Mô tả | | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module | +| `format` | `'via [$symbol($version )]($style)'` | Định dạng cho 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']` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. | @@ -2828,7 +2828,7 @@ The `openstack` module shows the current OpenStack cloud and project. The module | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2981,7 +2983,7 @@ The `package` module is shown when the current directory is the repository for a | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3061,7 +3063,7 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | Kiểu cho module. | | `format` | `'on [$symbol$channel]($style) '` | Định dạng cho module. | | `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. | +| `truncation_symbol` | `'…'` | Biểu tượng sử dụng để nhận biết một tên nhánh được rút gọn. | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3173,7 +3175,7 @@ The `purescript` module shows the currently installed version of [PureScript](ht | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current directory contains a file with `.red` or `.reds` extension @@ -3380,7 +3382,7 @@ By default the `red` module shows the currently installed version of [Red](https | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current directory contains a `Gemfile` file - The current directory contains a `.ruby-version` file @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current directory contains a `Cargo.toml` file - The current directory contains a file with the `.rs` extension @@ -3505,7 +3507,7 @@ The `scala` module shows the currently installed version of [Scala](https://www. | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Biến | Mặc định | Mô tả | | --------- | -------- | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | Giá trị ghi đè của `style`. | *: Biến này có thể chỉ được sử dụng như một phần của style string @@ -3657,7 +3659,7 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -3700,20 +3702,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Các biến -| Biến | Ví dụ | Mô tả | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Giá trị ghi đè tuỳ chọn `symbol` | -| style\* | | Giá trị ghi đè của `style` | +| Biến | Ví dụ | Mô tả | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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 | | Giá trị ghi đè tuỳ chọn `symbol` | +| style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension @@ -3806,7 +3808,7 @@ By default the `swift` module shows the currently installed version of [Swift](h | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3854,7 +3856,7 @@ Mặc định module sẽ được hiển thị nếu có bất kì điều ki | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3882,7 +3884,7 @@ The `time` module shows the current **local** time. The `format` configuration v ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +Mặc định, mô đun này được vô hiệu. Để kích hoạt nó, thiết lập `disabled` sang `false` trong tập tin cấu hình của bạn. ::: @@ -3904,10 +3906,10 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | Biến | Ví dụ | Mô tả | | --------- | ---------- | -------------------------- | -| time | `13:08:10` | The current time. | +| thời gian | `13:08:10` | The current time. | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -3924,7 +3926,7 @@ time_range = '10:00:00-14:00:00' ## Username -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +The `username` module shows active user's username. Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current user is root/admin - The current user isn't the same as the one that is logged in @@ -3994,7 +3996,7 @@ The `vagrant` module shows the currently installed version of [Vagrant](https:// | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). Module cho sẽ được hiện nếu bất kì điều kiện nào dưới đây thoả mãn: - The current directory contains a `.zig` file @@ -4100,7 +4102,7 @@ By default the the `zig` module shows the currently installed version of [Zig](h | symbol | | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string ### Ví dụ @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `mô tả` | `''` | 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. | @@ -4176,7 +4178,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | symbol | Giá trị ghi đè tuỳ chọn `symbol` | | style\* | Giá trị ghi đè của `style` | -*: This variable can only be used as a part of a style string +*: Biến này có thể chỉ được sử dụng như một phần của style string #### Custom command shell diff --git a/docs/vi-VN/faq/README.md b/docs/vi-VN/faq/README.md index f713fcc8..9af777e5 100644 --- a/docs/vi-VN/faq/README.md +++ b/docs/vi-VN/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/vi-VN/guide/README.md b/docs/vi-VN/guide/README.md index 5be25359..a790b135 100644 --- a/docs/vi-VN/guide/README.md +++ b/docs/vi-VN/guide/README.md @@ -169,7 +169,7 @@ ### Yêu cầu -- Đã cài đặt [Nerd Font](https://www.nerdfonts.com/) và đã kích hoạt trong giao diện dòng lệnh của bạn (ví dụ, thử [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). +- 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)). ### Step 1. Install Starship diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index 1a272642..f4b53e80 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -45,7 +45,7 @@ description: Starship是一款轻量级、反应迅速、可自定义的高颜 curl -sS https://starship.rs/install.sh | sh ``` - 自更新 Starship ,运行下面脚本 将会在不改动 Starship 配置文件的情况下升级版本 + 要更新 Starship ,运行上面的脚本 将会在不改动 Starship 配置文件的情况下升级版本 #### 通过软件包管理器安装 @@ -55,13 +55,13 @@ description: Starship是一款轻量级、反应迅速、可自定义的高颜 ```sh brew install starship ``` - With [Winget](https://github.com/microsoft/winget-cli): + 使用 [ Winget](https://github.com/microsoft/winget-cli): ```powershell winget install starship ``` -1. 将初始化脚本添加到您的 shell 的配置文件: +1. 将初始化脚本添加到您的 shell 的配置文件中: #### Bash @@ -97,7 +97,7 @@ description: Starship是一款轻量级、反应迅速、可自定义的高颜 ``` - #### Power Shell + #### PowerShell 将以下内容添加到 `Microsoft.PowerShell_profile.ps1`。 你可以在 PowerShell 通过 `$PROFILE` 变量来查询文件的位置。 对于 -Nix 来说,通常文件路径是 `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` 或 `~/.config/powershell/Microsoft.PowerShell_profile.ps1`。 diff --git a/docs/zh-CN/advanced-config/README.md b/docs/zh-CN/advanced-config/README.md index f98322a7..49ccba76 100644 --- a/docs/zh-CN/advanced-config/README.md +++ b/docs/zh-CN/advanced-config/README.md @@ -24,7 +24,7 @@ Invoke-Expression (&starship init powershell) Enable-TransientPrompt ``` -## 在 Cmd 中的 命令行提示(TransitentPrompt )和 语法高亮(TransentRightPrompt) +## 在 Cmd 中的命令行提示(TransientPrompt)和语法高亮(TransientRightPrompt) 可以用自定义字符串替换预设的命令行提示。 这在不经常需要所有提示信息的情况下很有用。 要启用该功能,运行命令`clink set prompt.transient `,<prompt.transient>之后跟以下单词中的一个: @@ -54,7 +54,7 @@ end load(io.popen('starship init cmd'):read("*a"))() ``` -## 在 Fish 中的 命令行提示(TransitentPrompt)和语法高亮(TransentRightPrompt) +## 在 Fish 中的命令行提示(TransientPrompt)和语法高亮(TransientRightPrompt) 可以用自定义字符串替换预设的命令行提示。 这在不经常需要所有提示信息的情况下很有用。 若要启用该功能,请在 shell 中运行 `Enable-TransitientPrompt`命令 若要永久启用该功能,请将 上述语句放在您的 `~/.config/fish/config.fish` 中。 通过在shell中运行 `Disable-TransientPrompt`命令来禁用这项功能。 diff --git a/docs/zh-CN/config/README.md b/docs/zh-CN/config/README.md index 8773cc62..6f20919d 100644 --- a/docs/zh-CN/config/README.md +++ b/docs/zh-CN/config/README.md @@ -1088,7 +1088,7 @@ format = 'via [🦕 $version](green bold) ' 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### 配置项 -| 选项 | 默认值 | 描述 | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | 这个字段的内容会显示在环境变量值之前。 | -| `variable` | | 要显示的环境变量。 | -| `default` | | 所选变量未定义时显示的默认值。 | -| `format` | `"with [$env_value]($style) "` | 组件格式化模板。 | -| `description` | `""` | The description of the module that is shown when running `starship explain`. | -| `disabled` | `false` | 禁用 `env_var` 组件。 | +| 选项 | 默认值 | 描述 | +| ---------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | 这个字段的内容会显示在环境变量值之前。 | +| `variable` | | 要显示的环境变量。 | +| `default` | | 所选变量未定义时显示的默认值。 | +| `format` | `"with [$env_value]($style) "` | 组件格式化模板。 | +| `描述` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | 禁用 `env_var` 组件。 | ### Variables @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### 配置项 -| 选项 | 默认值 | 描述 | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `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'` | 此组件的样式。 | -| `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. | +| 选项 | 默认值 | 描述 | +| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------- | +| `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'` | 此组件的样式。 | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | 此字段的内容用来表示分支名称被截断。 You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Variables @@ -1588,21 +1588,21 @@ very-long-project-name = 'vlpn' ## Git Branch -The `git_branch` module shows the active branch of the repo in your current directory. +`git_branch` 组件显示当前目录的 git 仓库的活动分支。 ### 配置项 -| 选项 | 默认值 | 描述 | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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) '` | 组件格式化模板。 Use `'$branch'` to refer to the current branch name. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `style` | `'bold purple'` | 此组件的样式。 | -| `truncation_length` | `2^63 - 1` | Truncates a git branch to `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| 选项 | 默认值 | 描述 | +| -------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------ | +| `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) '` | 组件格式化模板。 Use `'$branch'` to refer to the current branch name. | +| `symbol` | `' '` | A format string representing the symbol of git branch. | +| `style` | `'bold purple'` | 此组件的样式。 | +| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | +| `truncation_symbol` | `'…'` | 此字段的内容用来表示分支名称被截断。 You can use `''` for no symbol. | +| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | +| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | +| `disabled` | `false` | 禁用 `git_branch` 组件。 | ### Variables @@ -1636,14 +1636,14 @@ The `git_commit` module shows the current commit hash and also the tag (if any) | 选项 | 默认值 | 描述 | | -------------------- | ------------------------------ | ------------------------------------------------------------------------------------ | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `commit_hash_length` | `7` | 显示的 git 提交哈希值的长度。 | | `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. | | `tag_symbol` | `' 🏷 '` | Tag symbol prefixing the info shown | -| `disabled` | `false` | Disables the `git_commit` module. | +| `disabled` | `false` | 禁用 `git_commit` 组件。 | ### Variables @@ -1667,7 +1667,7 @@ tag_symbol = '🔖 ' ## Git State -The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too. +`git_state` 组件会显示当前目录在哪个 git 仓库中,以及正在进行的操作,例如:_REBASING_,_BISECTING_ 等。 进度信息(例如 REBASING 3/10)如果存在则也会被显示。 ### 配置项 @@ -1682,7 +1682,7 @@ The `git_state` module will show in directories which are part of a git reposito | `am_or_rebase` | `'AM/REBASE'` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. | | `style` | `'bold yellow'` | 此组件的样式。 | | `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | 组件格式化模板。 | -| `disabled` | `false` | Disables the `git_state` module. | +| `disabled` | `false` | 禁用 `git_state` 模块 | ### Variables @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: @@ -1748,7 +1748,7 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git Status -The `git_status` module shows symbols representing the state of the repo in your current directory. +`git_status`组件通过相应的符号显示您当前目录中 git 仓库的状态。 ::: tip @@ -1761,7 +1761,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | 选项 | 默认值 | 描述 | | ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | +| `conflicted` | `'='` | 这个分支有合并冲突。 | | `ahead` | `'⇡'` | The format of `ahead` | | `behind` | `'⇣'` | The format of `behind` | | `diverged` | `'⇕'` | The format of `diverged` | @@ -1774,7 +1774,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | `deleted` | `'✘'` | The format of `deleted` | | `style` | `'bold red'` | 此组件的样式。 | | `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| `disabled` | `false` | 禁用 `git_status` 组件。 | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Variables @@ -1805,9 +1805,9 @@ The following variables can be used in `diverged`: The following variables can be used in `conflicted`, `ahead`, `behind`, `untracked`, `stashed`, `modified`, `staged`, `renamed` and `deleted`: -| 字段 | 描述 | -| ------- | ------------------------ | -| `count` | Show the number of files | +| 字段 | 描述 | +| ------- | --------- | +| `count` | 显示相应的文件数量 | ### 示例 @@ -1873,7 +1873,7 @@ The `golang` module shows the currently installed version of [Go](https://golang | `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'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | 禁用 `golang` 组件。 | ### Variables @@ -1980,7 +1980,7 @@ By default the module will be shown if any of the following conditions are met: | `detect_files` | `['stack.yaml', 'cabal.project']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold purple'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `haskell` module. | +| `disabled` | `false` | 禁用 `haskell` 组件。 | ### Variables @@ -2075,18 +2075,18 @@ format = 'via [⎈ $version](bold white) ' ## Hostname -The `hostname` module shows the system hostname. +`hostname` 组件显示系统主机名。 ### 配置项 -| 选项 | 默认值 | 描述 | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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 '` | 组件格式化模板。 | -| `style` | `'bold dimmed green'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `hostname` module. | +| 选项 | 默认值 | 描述 | +| ------------ | -------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | 仅在连接到 SSH 会话时显示主机名。 | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | 当主机名过长被截断时,会截断成第一次匹配该字符串之前的主机名。 `'.'` will stop after the first dot. `''` will disable any truncation | +| `format` | `'[$ssh_symbol$hostname]($style) in '` | 组件格式化模板。 | +| `style` | `'bold dimmed green'` | 此组件的样式。 | +| `disabled` | `false` | 禁用 `hostname` 组件。 | ### Variables @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### 配置项 -| 选项 | 默认值 | 描述 | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `format` | `'via [${symbol}(${version} )]($style)'` | 组件格式化模板。 | -| `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']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `java` module. | +| 选项 | 默认值 | 描述 | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `format` | `'via [${symbol}(${version} )]($style)'` | 组件格式化模板。 | +| `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'` | 此组件的样式。 | +| `disabled` | `false` | 禁用 `java` 组件。 | ### Variables @@ -2151,7 +2151,7 @@ symbol = '🌟 ' ## Jobs -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +`jobs` 组件显示当前正在运行的任务数量。 仅当有后台任务运行时,此组件才会显示。 The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. The default functionality is: @@ -2175,13 +2175,13 @@ The `threshold` option is deprecated, but if you want to use it, the module will | 选项 | 默认值 | 描述 | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `threshold`* | `1` | Show number of jobs if exceeded. | +| `threshold`* | `1` | 如果超过此字段的值,显示任务数量。 | | `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) '` | 组件格式化模板。 | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | | `style` | `'bold blue'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `jobs` module. | +| `disabled` | `false` | 禁用 `jobs` 组件。 | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2299,7 +2299,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,23 +2372,23 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` ## Line Break -The `line_break` module separates the prompt into two lines. +`line_break` 组件将提示分隔为两行。 ### 配置项 -| 选项 | 默认值 | 描述 | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| 选项 | 默认值 | 描述 | +| ---------- | ------- | --------------------------- | +| `disabled` | `false` | 禁用 `line_break` 组件,使提示成为单行。 | ### 示例 @@ -2475,25 +2475,25 @@ format = 'via [🌕 $version](bold blue) ' ## Memory Usage -The `memory_usage` module shows current system memory and swap usage. +`memory_usage` 组件显示当前系统内存和交换区使用情况。 -By default the swap usage is displayed if the total system swap is non-zero. +默认情况下,如果系统交换区使用不为 0,则会显示交换区使用情况。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: ### 配置项 -| 选项 | 默认值 | 描述 | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | 组件格式化模板。 | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | 此组件的样式。 | -| `disabled` | `true` | Disables the `memory_usage` module. | +| 选项 | 默认值 | 描述 | +| ----------- | ----------------------------------------------- | ---------------------- | +| `threshold` | `75` | 隐藏内存使用情况,除非它超过这个百分比。 | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | 组件格式化模板。 | +| `symbol` | `'🐏'` | 这个字段的内容会显示在当前内存使用情况之前。 | +| `style` | `'bold dimmed white'` | 此组件的样式。 | +| `disabled` | `true` | 禁用 `memory_usage` 模块 | ### Variables @@ -2565,14 +2565,14 @@ The `hg_branch` module shows the active branch and topic of the repo in your cur ### 配置项 -| 选项 | 默认值 | 描述 | -| ------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------- | -| `symbol` | `' '` | The symbol used before the hg bookmark or branch name of the repo in your current directory. | -| `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. | +| 选项 | 默认值 | 描述 | +| ------------------- | ----------------------------------------- | ----------------------------------------------------- | +| `symbol` | `' '` | 该字段的内容显示于当前仓库的 hg 书签或活动分支名之前。 | +| `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` | `'…'` | 此字段的内容用来表示分支名称被截断。 | +| `disabled` | `true` | 禁用 `hg_branch` 组件。 | ### Variables @@ -2640,7 +2640,7 @@ symbol = '🎣 ' ## Nix-shell -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. +The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. 当处于一个 nix-shell 环境中时,此组件会被显示。 ### 配置项 @@ -2650,16 +2650,16 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `symbol` | `'❄️ '` | A format string representing the symbol of nix-shell. | | `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. | +| `pure_msg` | `'纯色'` | 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. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | 禁用 `nix_shell` 组件。 | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables | 字段 | 示例 | 描述 | | --------- | ------- | -------------------------- | -| state | `pure` | The state of the nix-shell | +| state | `纯色` | The state of the nix-shell | | name | `lorri` | The name of the nix-shell | | symbol | | `symbol`对应值 | | style\* | | `style`对应值 | @@ -2701,7 +2701,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n | `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | | `detect_folders` | `['node_modules']` | Which folders should trigger this module. | | `style` | `'bold green'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `nodejs` module. | +| `disabled` | `false` | 禁用 `nodejs` 组件。 | | `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 @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2940,7 +2942,7 @@ Arch = "Arch is the best! " ## Package Version -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +当前目录是软件包的代码仓库时,将显示 `package` 组件,并显示软件包当前版本。 The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2967,11 +2969,11 @@ The `package` module is shown when the current directory is the repository for a | 选项 | 默认值 | 描述 | | ----------------- | --------------------------------- | ------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | 组件格式化模板。 | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | 这个字段的内容会显示在当前软件包版本之前。 | | `version_format` | `'v${raw}'` | The version format. 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. | +| `disabled` | `false` | 禁用 `package` 组件。 | ### Variables @@ -3046,12 +3048,12 @@ The `php` module shows the currently installed version of [PHP](https://www.php. | ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | | `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 PHP. | +| `symbol` | `'🐘 '` | 这个字段的内容会显示在当前 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'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `php` module. | +| `disabled` | `false` | 禁用 `php` 组件。 | ### Variables @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `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. | +| `truncation_symbol` | `'…'` | 此字段的内容用来表示分支名称被截断。 | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3188,7 +3190,7 @@ format = 'via [$symbol$version](bold white)' The `python` module shows the currently installed version of [Python](https://www.python.org/) and the current [Python virtual environment](https://docs.python.org/tutorial/venv.html) if one is activated. -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`. +如果`pyenv_version_name`被设置为`true`, 本组件将会展示pyenv版本名。 否则则显示通过`python --version`获得的版本号 By default the module will be shown if any of the following conditions are met: @@ -3208,15 +3210,15 @@ 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` | `'🐍 '` | A format string representing the symbol of Python | +| `symbol` | `'🐍 '` | 用于表示Python的格式化字符串。 | | `style` | `'yellow bold'` | 此组件的样式。 | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | 使用 pyenv 获取 Python 版本 | | `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_folders` | `[]` | Which folders should trigger this module | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | 禁用 `python` 组件。 | ::: tip @@ -3230,11 +3232,11 @@ The default values and order for `python_binary` was chosen to first identify th | 字段 | 示例 | 描述 | | ------------ | --------------- | ------------------------------------------ | -| version | `'v3.8.1'` | The version of `python` | +| version | `'v3.8.1'` | `python`版本 | | symbol | `'🐍 '` | `symbol`对应值 | | style | `'yellow bold'` | `style`对应值 | | pyenv_prefix | `'pyenv '` | Mirrors the value of option `pyenv_prefix` | -| virtualenv | `'venv'` | The current `virtualenv` name | +| virtualenv | `'venv'` | 当前`virtualenv`名称 | ### 示例 @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). 此组件将在符合以下任意条件时显示: - The current directory contains a file with `.red` or `.reds` extension @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). 此组件将在符合以下任意条件时显示: - 当前目录包含 `Gemfile` 文件 - The current directory contains a `.ruby-version` file @@ -3414,7 +3416,7 @@ Starship gets the current Ruby version by running `ruby -v`. | `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. | +| `disabled` | `false` | 禁用 `ruby` 组件。 | ### Variables @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). 此组件将在符合以下任意条件时显示: - 当前目录包含 `Cargo.toml` 文件 - 当前目录包含一个使用 `.rs` 扩展名的文件 @@ -3453,7 +3455,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold red'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | 禁用 `rust` 组件。 | ### Variables @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: @@ -3550,7 +3552,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | 字段 | 默认值 | 描述 | | --------- | --- | ---------------------------------------------------------- | | indicator | | Mirrors the value of `indicator` for currently used shell. | -| style\* | | Mirrors the value of option `style`. | +| style\* | | `style`对应值. | *: This variable can only be used as a part of a style string @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| 字段 | 示例 | 描述 | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | `symbol`对应值 | -| style\* | | `style`对应值 | +| 字段 | 示例 | 描述 | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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`对应值 | +| style\* | | `style`对应值 | *: This variable can only be used as a part of a style string @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). 此组件将在符合以下任意条件时显示: - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension @@ -3843,7 +3845,7 @@ By default the module will be shown if any of the following conditions are met: | `detect_files` | `[]` | Which filenames should trigger this module. | | `detect_folders` | `['.terraform']` | Which folders should trigger this module. | | `style` | `'bold 105'` | 此组件的样式。 | -| `disabled` | `false` | Disables the `terraform` module. | +| `disabled` | `false` | 禁用 `terraform` 组件。 | ### Variables @@ -3878,25 +3880,25 @@ format = '[🏎💨 $workspace]($style) ' ## Time -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +`time` 组件显示当前的 **本地** 时间。 `format` 字段值会提供给 [`chrono`](https://crates.io/crates/chrono) crate 用来控制时间显示方式。 请参阅 [chrono strftime 文档](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) 以了解可用格式选项。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。 ::: ### 配置项 -| 选项 | 默认值 | 描述 | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | The format string for the module. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| 选项 | 默认值 | 描述 | +| ----------------- | ----------------------- | ----------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | The format string for the module. | +| `use_12hr` | `false` | 启用 12 小时格式 | +| `time_format` | 见下文解释 | 用来格式化时间显示的 [chrono 格式字符串](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) | +| `style` | `'bold yellow'` | 显示时间的样式。 | +| `utc_time_offset` | `'local'` | 设置所用 UTC 偏移量。 Range from -24 < x < 24. 允许使用浮点数来得到 30/45 分钟的时区偏移。 | +| `disabled` | `true` | 禁用 `time` 组件。 | +| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. @@ -3924,7 +3926,7 @@ time_range = '10:00:00-14:00:00' ## Username -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +`username` 组件显示当前活跃的用户名。 此组件将在符合以下任意条件时显示: - The current user is root/admin - 当前用户与登录用户不相同 @@ -3942,10 +3944,10 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` | 选项 | 默认值 | 描述 | | ------------- | ----------------------- | ------------------------------------------- | | `style_root` | `'bold red'` | The style used when the user is root/admin. | -| `style_user` | `'bold yellow'` | The style used for non-root users. | +| `style_user` | `'bold yellow'` | 非 root 用户使用的样式。 | | `format` | `'[$user]($style) in '` | 组件格式化模板。 | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| `show_always` | `false` | 总是显示 `username` 组件。 | +| `disabled` | `false` | 禁用 `username` 组件。 | ### Variables @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). 此组件将在符合以下任意条件时显示: - The current directory contains a `.zig` file @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `描述` | `''` | 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-CN/faq/README.md b/docs/zh-CN/faq/README.md index e205faaa..37c6d8b4 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 毫秒的组件。 -最后,如果您发现了错误,可以使用 `bug-report` 命令创建 GitHub Issue。 +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/zh-CN/guide/README.md b/docs/zh-CN/guide/README.md index 3b80319b..b9894749 100644 --- a/docs/zh-CN/guide/README.md +++ b/docs/zh-CN/guide/README.md @@ -169,7 +169,7 @@ ### 前置要求 -- 安装一个 [Nerd Font](https://www.nerdfonts.com/) 的字体,并在终端启用(例如,可以尝试使用 [Fira Code 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 diff --git a/docs/zh-TW/config/README.md b/docs/zh-TW/config/README.md index 06da28ea..73569739 100644 --- a/docs/zh-TW/config/README.md +++ b/docs/zh-TW/config/README.md @@ -46,7 +46,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star ### 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 a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable: +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: ```sh export STARSHIP_CACHE=~/.starship/cache @@ -1088,7 +1088,7 @@ format = 'via [🦕 $version](green bold) ' 'src/com/long/java/path' = 'mypath' ``` -`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. +`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`. @@ -1330,14 +1330,14 @@ default = 'unknown user' ### 選項 -| Option | 預設 | 說明 | -| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `""` | 顯示在變數數值之前的符號。 | -| `variable` | | 要顯示的環境變數。 | -| `default` | | 在選擇的變數值沒有定義時,顯示的預設值。 | -| `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` | 停用 `env_var` 模組。 | +| Option | 預設 | 說明 | +| ---------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | 顯示在變數數值之前的符號。 | +| `variable` | | 要顯示的環境變數。 | +| `default` | | 在選擇的變數值沒有定義時,顯示的預設值。 | +| `format` | `"with [$env_value]($style) "` | The format for the module. | +| `說明` | `""` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | 停用 `env_var` 模組。 | ### Variables @@ -1483,14 +1483,14 @@ The `fossil_branch` module shows the name of the active branch of the check-out ### 選項 -| Option | 預設 | 說明 | -| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | -| `format` | `'on [$symbol$branch]($style) '` | The format for the module. 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'` | 這個模組的風格。 | -| `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. | +| Option | 預設 | 說明 | +| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------- | +| `format` | `'on [$symbol$branch]($style) '` | The format for the module. 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'` | 這個模組的風格。 | +| `truncation_length` | `2^63 - 1` | Truncates a Fossil branch name to `N` graphemes | +| `truncation_symbol` | `'…'` | 用來指示分支名稱被縮減的符號。 You can use `''` for no symbol. | +| `disabled` | `true` | Disables the `fossil_branch` module. | ### Variables @@ -1586,23 +1586,23 @@ format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' very-long-project-name = 'vlpn' ``` -## Git Branch +## Git 分支 -The `git_branch` module shows the active branch of the repo in your current directory. +`git_branch` 模組顯示現在的資料夾中使用中的儲存庫的分支。 ### 選項 -| Option | 預設 | 說明 | -| -------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `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. | -| `symbol` | `' '` | A format string representing the symbol of git branch. | -| `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. | -| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | -| `disabled` | `false` | Disables the `git_branch` module. | +| Option | 預設 | 說明 | +| -------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------ | +| `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. | +| `symbol` | `' '` | A format string representing the symbol of git branch. | +| `style` | `'bold purple'` | 這個模組的風格。 | +| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. | +| `truncation_symbol` | `'…'` | 用來指示分支名稱被縮減的符號。 You can use `''` for no symbol. | +| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. | +| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. | +| `disabled` | `false` | 停用 `git_branch` 模組。 | ### Variables @@ -1667,7 +1667,7 @@ tag_symbol = '🔖 ' ## Git State -The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too. +`git_state` 模組會顯示在 git 儲存庫中的資料夾內,以及會在有作業正在進行時顯示,像是:_REBASING_、_BISECTING_ 等等。 如果有進展的資訊 (像是 REBASING 3/10),也會一併顯示出來。 ### 選項 @@ -1682,7 +1682,7 @@ The `git_state` module will show in directories which are part of a git reposito | `am_or_rebase` | `'AM/REBASE'` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. | | `style` | `'bold yellow'` | 這個模組的風格。 | | `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | The format for the module. | -| `disabled` | `false` | Disables the `git_state` module. | +| `disabled` | `false` | 停用 `git_state` 模組。 | ### Variables @@ -1711,7 +1711,7 @@ The `git_metrics` module will show the number of added and deleted lines in the ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: @@ -1748,7 +1748,7 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' ## Git Status -The `git_status` module shows symbols representing the state of the repo in your current directory. +`git_status` 模組顯示用來表示現在資料夾之中儲存庫狀態的符號。 ::: tip @@ -1761,7 +1761,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | Option | 預設 | 說明 | | ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `'='` | This branch has merge conflicts. | +| `conflicted` | `'='` | 這個分支有合併衝突。 | | `ahead` | `'⇡'` | The format of `ahead` | | `behind` | `'⇣'` | The format of `behind` | | `diverged` | `'⇕'` | The format of `diverged` | @@ -1774,7 +1774,7 @@ The Git Status module is very slow in Windows directories (for example under `/m | `deleted` | `'✘'` | The format of `deleted` | | `style` | `'bold red'` | 這個模組的風格。 | | `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| `disabled` | `false` | 停用 `git_status` 模組。 | | `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Variables @@ -1873,7 +1873,7 @@ The `golang` module shows the currently installed version of [Go](https://golang | `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'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `golang` module. | +| `disabled` | `false` | 停用 `golang` 模組。 | ### Variables @@ -2075,24 +2075,24 @@ format = 'via [⎈ $version](bold white) ' ## 主機名稱 -The `hostname` module shows the system hostname. +`hostname` 模組顯示系統的主機名稱。 ### 選項 -| Option | 預設 | 說明 | -| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `hostname` module. | +| Option | 預設 | 說明 | +| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------- | +| `ssh_only` | `true` | 只在連接到一個 SSH session 時顯示主機名稱。 | +| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. | +| `trim_at` | `'.'` | 擷取出主機名稱的斷點,以第一個符合的為準。 `'.'` 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'` | 這個模組的風格。 | +| `disabled` | `false` | 停用 `hostname` 模組。 | ### Variables | 變數 | 範例 | 說明 | | ---------- | ---------- | ----------------------------------------------------- | -| hostname | `computer` | The hostname of the computer | +| 主機名稱 | `computer` | The hostname of the computer | | style\* | | Mirrors the value of option `style` | | ssh_symbol | `'🌏 '` | The symbol to represent when connected to SSH session | @@ -2114,21 +2114,21 @@ disabled = false 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 current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `deps.edn`, `project.clj`, or `build.boot` file +- The current directory contains a `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 ### 選項 -| Option | 預設 | 說明 | -| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `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']` | Which filenames should trigger this module. | -| `detect_folders` | `[]` | Which folders should trigger this modules. | -| `symbol` | `'☕ '` | A format string representing the symbol of Java | -| `style` | `'red dimmed'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `java` module. | +| Option | 預設 | 說明 | +| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `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'` | 這個模組的風格。 | +| `disabled` | `false` | 停用 `java` 模組。 | ### Variables @@ -2149,9 +2149,9 @@ The `java` module shows the currently installed version of [Java](https://www.or symbol = '🌟 ' ``` -## Jobs +## 工作 -The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. +`jobs` 模組顯示現在正在執行中的工作。 這個模組只會在有背景工作正在執行時顯示。 The module will show the number of jobs running if there are at least 2 jobs, or more than the `number_threshold` config value, if it exists. The module will show a symbol if there is at least 1 job, or more than the `symbol_threshold` config value, if it exists. You can set both values to 0 in order to _always_ show the symbol and number of jobs, even if there are 0 jobs running. The default functionality is: @@ -2175,13 +2175,13 @@ The `threshold` option is deprecated, but if you want to use it, the module will | Option | 預設 | 說明 | | ------------------ | ----------------------------- | ------------------------------------------------------------------------ | -| `threshold`* | `1` | Show number of jobs if exceeded. | +| `threshold`* | `1` | 在超過指定值時顯示工作數量。 | | `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. | | `symbol` | `'✦'` | The string used to represent the `symbol` variable. | | `style` | `'bold blue'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `jobs` module. | +| `disabled` | `false` | 停用 `jobs` 模組。 | *: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead. @@ -2299,7 +2299,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions. @@ -2343,7 +2343,7 @@ disabled = false [kubernetes.context_aliases] 'dev.local.cluster.k8s' = 'dev' '.*/openshift-cluster/.*' = 'openshift' -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' [kubernetes.user_aliases] 'dev.local.cluster.k8s' = 'dev' 'root/.*' = 'root' @@ -2372,23 +2372,23 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: '.*/openshift-cluster/.*' = 'openshift' # Or better, to rename every OpenShift cluster at once: -'.*/(?P[\\w-]+)/.*' = '$var_cluster' +'.*/(?P[\w-]+)/.*' = '$var_cluster' # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -'gke_.*_(?P[\\w-]+)' = 'gke-$var_cluster' +'gke_.*_(?P[\w-]+)' = 'gke-$var_cluster' ``` -## Line Break +## 換行 -The `line_break` module separates the prompt into two lines. +`line_break` 模組將提示字元分成兩行。 ### 選項 -| Option | 預設 | 說明 | -| ---------- | ------- | ------------------------------------------------------------------ | -| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. | +| Option | 預設 | 說明 | +| ---------- | ------- | ----------------------------- | +| `disabled` | `false` | 停用 `line_break` 模組,讓提示字元變成一行。 | ### 範例 @@ -2473,27 +2473,27 @@ The `lua` module shows the currently installed version of [Lua](http://www.lua.o format = 'via [🌕 $version](bold blue) ' ``` -## Memory Usage +## 記憶體使用量 -The `memory_usage` module shows current system memory and swap usage. +`memory_usage` 模組顯示現在系統記憶體與 swap 的使用量。 -By default the swap usage is displayed if the total system swap is non-zero. +預設 swap 使用量會在系統總 swap 使用量不為 0 時顯示出來。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: ### 選項 -| Option | 預設 | 說明 | -| ----------- | ----------------------------------------------- | -------------------------------------------------------- | -| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. | -| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | The format for the module. | -| `symbol` | `'🐏'` | The symbol used before displaying the memory usage. | -| `style` | `'bold dimmed white'` | 這個模組的風格。 | -| `disabled` | `true` | Disables the `memory_usage` module. | +| Option | 預設 | 說明 | +| ----------- | ----------------------------------------------- | -------------------------- | +| `threshold` | `75` | 將記憶體使用量隱藏,除非使用量超過指定值。 | +| `format` | `'via $symbol [${ram}( \| ${swap})]($style) '` | The format for the module. | +| `symbol` | `'🐏'` | 顯示在記憶體使用量之前的符號。 | +| `style` | `'bold dimmed white'` | 這個模組的風格。 | +| `disabled` | `true` | 停用 `memory_usage` 模組。 | ### Variables @@ -2571,7 +2571,7 @@ The `hg_branch` module shows the active branch and topic of the repo in your cur | `style` | `'bold purple'` | 這個模組的風格。 | | `format` | `'on [$symbol$branch(:$topic)]($style) '` | The format for the module. | | `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. | +| `truncation_symbol` | `'…'` | 用來指示分支名稱被縮減的符號。 | | `disabled` | `true` | Disables the `hg_branch` module. | ### Variables @@ -2640,7 +2640,7 @@ symbol = '🎣 ' ## Nix-shell -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. +The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. 這個模組會在 nix-shell 環境中顯示。 ### 選項 @@ -2652,7 +2652,7 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/ | `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. | -| `disabled` | `false` | Disables the `nix_shell` module. | +| `disabled` | `false` | 停用 `nix_shell` 模組。 | | `heuristic` | `false` | Attempts to detect new `nix shell`-style shells with a heuristic. | ### Variables @@ -2701,7 +2701,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n | `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | | `detect_folders` | `['node_modules']` | Which folders should trigger this module. | | `style` | `'bold green'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `nodejs` module. | +| `disabled` | `false` | 停用 `nodejs` 模組。 | | `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 @@ -2853,7 +2853,7 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: @@ -2895,6 +2895,8 @@ Mint = "🌿 " NetBSD = "🚩 " NixOS = "❄️ " OpenBSD = "🐡 " +OpenCloudOS = "☁️ " +openEuler = "🦉 " openSUSE = "🦎 " OracleLinux = "🦴 " Pop = "🍭 " @@ -2938,9 +2940,9 @@ Windows = " " Arch = "Arch is the best! " ``` -## Package Version +## 套件版本 -The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. +The `package` 模組在現在資料夾是一個套件的儲藏庫時出現,並顯示他的現在版本。 The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2967,11 +2969,11 @@ The `package` module is shown when the current directory is the repository for a | Option | 預設 | 說明 | | ----------------- | --------------------------------- | ------------------------------------------------------------------------- | | `format` | `'is [$symbol$version]($style) '` | The format for the module. | -| `symbol` | `'📦 '` | The symbol used before displaying the version the package. | +| `symbol` | `'📦 '` | 顯示在套件的版本之前的符號。 | | `version_format` | `'v${raw}'` | The version format. 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. | +| `disabled` | `false` | 停用 `package` 模組。 | ### Variables @@ -3084,7 +3086,7 @@ The `pijul_channel` module shows the active channel of the repo in your current | `style` | `'bold purple'` | 這個模組的風格。 | | `format` | `'on [$symbol$channel]($style) '` | The format for the module. | | `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. | +| `truncation_symbol` | `'…'` | 用來指示分支名稱被縮減的符號。 | | `disabled` | `true` | Disables the `pijul` module. | ## Pulumi @@ -3119,7 +3121,7 @@ By default the module will be shown if any of the following conditions are met: | --------- | ---------- | ------------------------------------ | | version | `v0.12.24` | The version of `pulumi` | | stack | `dev` | The current Pulumi stack | -| username | `alice` | The current Pulumi username | +| 使用者名稱 | `alice` | The current Pulumi username | | symbol | | Mirrors the value of option `symbol` | | style\* | | Mirrors the value of option `style` | @@ -3210,13 +3212,13 @@ By default the module will be shown if any of the following conditions are met: | `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | | `symbol` | `'🐍 '` | A format string representing the symbol of Python | | `style` | `'yellow bold'` | 這個模組的風格。 | -| `pyenv_version_name` | `false` | Use pyenv to get Python version | +| `pyenv_version_name` | `false` | 使用 pyenv 取得 Python 的版本。 | | `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_folders` | `[]` | Which folders should trigger this module | -| `disabled` | `false` | Disables the `python` module. | +| `disabled` | `false` | 停用 `python` 模組。 | ::: tip @@ -3355,7 +3357,7 @@ format = 'via [🦪 $version]($style) ' ## Red -By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met: +By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). 這個模組將在下列其中一個條件滿足時顯示: - The current directory contains a file with `.red` or `.reds` extension @@ -3393,7 +3395,7 @@ symbol = '🔴 ' ## Ruby -By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met: +By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). 這個模組將在下列其中一個條件滿足時顯示: - 目前資料夾中有一個 `Gemfile` 檔案 - The current directory contains a `.ruby-version` file @@ -3414,7 +3416,7 @@ Starship gets the current Ruby version by running `ruby -v`. | `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. | +| `disabled` | `false` | 停用 `ruby` 模組。 | ### Variables @@ -3437,7 +3439,7 @@ symbol = '🔺 ' ## Rust -By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met: +By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). 這個模組將在下列其中一個條件滿足時顯示: - 目前資料夾中有一個 `Cargo.toml` 檔案 - 現在資料夾中包含一個檔案具有 `.rs` 副檔名 @@ -3453,7 +3455,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt | `detect_files` | `['Cargo.toml']` | Which filenames should trigger this module. | | `detect_folders` | `[]` | Which folders should trigger this module. | | `style` | `'bold red'` | 這個模組的風格。 | -| `disabled` | `false` | Disables the `rust` module. | +| `disabled` | `false` | 停用 `rust` 模組。 | ### Variables @@ -3522,7 +3524,7 @@ The `shell` module shows an indicator for currently used shell. ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: @@ -3674,7 +3676,7 @@ The `status` module displays the exit code of the previous command. If $success_ ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: @@ -3700,18 +3702,18 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Variables -| 變數 | 範例 | 說明 | -| -------------- | ------- | ------------------------------------------------------------------------------------------- | -| status | `127` | The exit code of the last command | -| hex_status | `0x7F` | The exit code of the last command in hex | -| int | `127` | The exit code of the last command | -| common_meaning | `ERROR` | Meaning of the code if not a signal | -| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | -| 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's exit codes, this is only available in pipestatus_format | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| 變數 | 範例 | 說明 | +| -------------- | ------- | ------------------------------------------------------------------------------------------ | +| status | `127` | The exit code of the last command | +| hex_status | `0x7F` | The exit code of the last command in hex | +| int | `127` | The exit code of the last command | +| common_meaning | `ERROR` | Meaning of the code if not a signal | +| signal_number | `9` | Signal number corresponding to the exit code, only if signalled | +| 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` | *: This variable can only be used as a part of a style string @@ -3735,7 +3737,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: @@ -3780,7 +3782,7 @@ disabled = false ## Swift -By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met: +By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). 這個模組將在下列其中一個條件滿足時顯示: - The current directory contains a `Package.swift` file - The current directory contains a file with the `.swift` extension @@ -3878,25 +3880,25 @@ format = '[🏎💨 $workspace]($style) ' ## 時間 -The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available. +`time` 模組顯示目前的**當地**時間. `format` 設定值被 [`chrono`](https://crates.io/crates/chrono) crate 用來控制時間如何顯示。 請看 [chrono 的 strftime 文件](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html)來了解有那些選項可以使用。 ::: tip -This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +這個模組預設是停用的。 想要啟用它的話,請在設定檔中將 `disabled` 設定為 `false`。 ::: ### 選項 -| Option | 預設 | 說明 | -| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `format` | `'at [$time]($style) '` | The format string for the module. | -| `use_12hr` | `false` | Enables 12 hour formatting | -| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. | -| `style` | `'bold yellow'` | The style for the module time | -| `utc_time_offset` | `'local'` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. | -| `disabled` | `true` | Disables the `time` module. | -| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | +| Option | 預設 | 說明 | +| ----------------- | ----------------------- | ----------------------------------------------------------------------------------------------------- | +| `format` | `'at [$time]($style) '` | The format string for the module. | +| `use_12hr` | `false` | 啟用 12 小時格式。 | +| `time_format` | 請看下列 | 用來顯示時間的 [chrono 格式字串](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html)。 | +| `style` | `'bold yellow'` | 這個模組的時間的風格。 | +| `utc_time_offset` | `'local'` | 設定相對於 UTC 的時差。 Range from -24 < x < 24. 允許使用浮點數來表示 30/45 分鐘時差的時區。 | +| `disabled` | `true` | 停用 `time` 模組。 | +| `time_range` | `'-'` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format | If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it defaults to `'%T'`. Manually setting `time_format` will override the `use_12hr` setting. @@ -3904,7 +3906,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `'%r'`. Otherwise, it de | 變數 | 範例 | 說明 | | --------- | ---------- | ----------------------------------- | -| time | `13:08:10` | The current time. | +| 時間 | `13:08:10` | The current time. | | style\* | | Mirrors the value of option `style` | *: This variable can only be used as a part of a style string @@ -3922,9 +3924,9 @@ utc_time_offset = '-5' time_range = '10:00:00-14:00:00' ``` -## Username +## 使用者名稱 -The `username` module shows active user's username. The module will be shown if any of the following conditions are met: +`username` 模組顯示現在使用中的使用者名稱。 這個模組將在下列其中一個條件滿足時顯示: - The current user is root/admin - 目前使用者並非登入時的使用者 @@ -3942,10 +3944,10 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, ` | Option | 預設 | 說明 | | ------------- | ----------------------- | ------------------------------------------- | | `style_root` | `'bold red'` | The style used when the user is root/admin. | -| `style_user` | `'bold yellow'` | The style used for non-root users. | +| `style_user` | `'bold yellow'` | 非 root 使用者時使用的風格。 | | `format` | `'[$user]($style) in '` | The format for the module. | -| `show_always` | `false` | Always shows the `username` module. | -| `disabled` | `false` | Disables the `username` module. | +| `show_always` | `false` | 總是顯示 `username` 模組。 | +| `disabled` | `false` | 停用 `username` 模組。 | ### Variables @@ -4075,7 +4077,7 @@ format = '[🆅 $repo](bold blue) ' ## Zig -By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met: +By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). 這個模組將在下列其中一個條件滿足時顯示: - The current directory contains a `.zig` file @@ -4156,7 +4158,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. | | `shell` | | [See below](#custom-command-shell) | -| `description` | `''` | The description of the module that is shown when running `starship explain`. | +| `說明` | `''` | 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/faq/README.md b/docs/zh-TW/faq/README.md index b68bc85d..372f6d5b 100644 --- a/docs/zh-TW/faq/README.md +++ b/docs/zh-TW/faq/README.md @@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output. -Finally if you find a bug you can use the `bug-report` command to create a Github issue. +Finally if you find a bug you can use the `bug-report` command to create a GitHub issue. ```sh starship bug-report diff --git a/docs/zh-TW/guide/README.md b/docs/zh-TW/guide/README.md index 1bffb1d7..915814f6 100644 --- a/docs/zh-TW/guide/README.md +++ b/docs/zh-TW/guide/README.md @@ -169,7 +169,7 @@ ### 先決要求 -- 安裝至少一個 [Nerd Font](https://www.nerdfonts.com/) 字體,並在終端中啟用(例如,你可以試試 [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads))。 +- 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)). ### 第一步 安裝 Starship