From 02f741882099da48d9f4cf7936e1bb025bb44929 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 13 Oct 2020 15:09:01 -0400 Subject: docs(i18n): new Crowdin updates (#1719) --- docs/de-DE/config/README.md | 224 +++++++++++++++---------------- docs/de-DE/faq/README.md | 4 + docs/de-DE/migrating-to-0.45.0/README.md | 30 +++-- docs/es-ES/config/README.md | 218 +++++++++++++++--------------- docs/es-ES/faq/README.md | 4 + docs/es-ES/migrating-to-0.45.0/README.md | 30 +++-- docs/fr-FR/config/README.md | 224 +++++++++++++++---------------- docs/fr-FR/faq/README.md | 50 +++---- docs/fr-FR/guide/README.md | 2 +- docs/fr-FR/migrating-to-0.45.0/README.md | 30 +++-- docs/ja-JP/config/README.md | 218 +++++++++++++++--------------- docs/ja-JP/faq/README.md | 4 + docs/ja-JP/migrating-to-0.45.0/README.md | 34 ++--- docs/pt-BR/config/README.md | 218 +++++++++++++++--------------- docs/pt-BR/faq/README.md | 4 + docs/pt-BR/migrating-to-0.45.0/README.md | 30 +++-- docs/pt-PT/config/README.md | 218 +++++++++++++++--------------- docs/pt-PT/faq/README.md | 4 + docs/pt-PT/migrating-to-0.45.0/README.md | 30 +++-- docs/ru-RU/config/README.md | 218 +++++++++++++++--------------- docs/ru-RU/faq/README.md | 4 + docs/ru-RU/migrating-to-0.45.0/README.md | 30 +++-- docs/zh-CN/config/README.md | 218 +++++++++++++++--------------- docs/zh-CN/faq/README.md | 4 + docs/zh-CN/migrating-to-0.45.0/README.md | 30 +++-- docs/zh-TW/config/README.md | 218 +++++++++++++++--------------- docs/zh-TW/faq/README.md | 4 + docs/zh-TW/migrating-to-0.45.0/README.md | 30 +++-- 28 files changed, 1175 insertions(+), 1157 deletions(-) (limited to 'docs') diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md index 50194eb4a..a2a20a191 100644 --- a/docs/de-DE/config/README.md +++ b/docs/de-DE/config/README.md @@ -234,13 +234,13 @@ When using [aws-vault](https://github.com/99designs/aws-vault) the profile is re ### Optionen -| Option | Standardwert | Beschreibung | -| ---------------- | ---------------------------------------------------- | --------------------------------------------------------------- | -| `format` | `"on [$symbol$profile(\\($region\\))]($style) "` | The format for the module. | -| `symbol` | `"☁️ "` | Symbol das vor dem aktuellen AWS-Profil angezeigt wird. | -| `region_aliases` | | Table of region aliases to display in addition to the AWS name. | -| `style` | `"bold yellow"` | Stil für dieses Modul. | -| `disabled` | `false` | Deaktiviert das `aws`-Modul. | +| Option | Standardwert | Beschreibung | +| ---------------- | ------------------------------------------------ | --------------------------------------------------------------- | +| `format` | `'on [$symbol$profile(\($region\))]($style) '` | The format for the module. | +| `symbol` | `"☁️ "` | Symbol das vor dem aktuellen AWS-Profil angezeigt wird. | +| `region_aliases` | | Table of region aliases to display in addition to the AWS name. | +| `style` | `"bold yellow"` | Stil für dieses Modul. | +| `disabled` | `false` | Deaktiviert das `aws`-Modul. | ### Variables @@ -261,7 +261,7 @@ When using [aws-vault](https://github.com/99designs/aws-vault) the profile is re # ~/.config/starship.toml [aws] -format = "on [$symbol$profile(\\($region\\))]($style) " +format = 'on [$symbol$profile(\($region\))]($style) ' style = "bold blue" symbol = "🅰 " [aws.region_aliases] @@ -346,7 +346,7 @@ style = "bold red" Die `display`-Option beinhaltet ein Array mit den folgenden Werten. -| Variable | Beschreibung | +| Option | Beschreibung | | ----------- | ------------------------------------------------------- | | `threshold` | Der Schwellenwert zur Anzeige dieser Option. | | `style` | Der Stil, der zur Anzeige dieser Option verwendet wird. | @@ -575,7 +575,7 @@ The `dart` module shows the currently installed version of Dart. Das Modul wird ### Optionen -| Variable | Standartwert | Beschreibung | +| Option | Standartwert | Beschreibung | | ---------- | ---------------------------------- | ----------------------------------------------- | | `format` | `"via [$symbol$version]($style) "` | The format for the module. | | `symbol` | `"🎯 "` | A format string representing the symbol of Dart | @@ -611,7 +611,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Optionen -| Variable | Standardwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------- | | `truncation_length` | `3` | Die Anzahl der übergeordneten Ordner, die angezeigt werden. | | `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. | @@ -620,6 +620,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an | `disabled` | `false` | Deaktiviert das `directory`-Modul. | | `read_only` | `"🔒"` | The symbol indicating current directory is read only. | | `read_only_style` | `"red"` | The style for the read only symbol. | +| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
Dieses Modul hat einige erweiterte Konfigurationsoptionen, welche die Darstellung von Verzeichnissen steuern. @@ -658,6 +659,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an [directory] truncation_length = 8 +truncation_symbol = "…/" ``` ## Docker Context @@ -755,12 +757,12 @@ The `elixir` module shows the currently installed version of Elixir and Erlang/O ### Optionen -| Option | Standardwert | Beschreibung | -| ---------- | ------------------------------------------------------------- | --------------------------------------------------------------- | -| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. | -| `style` | `"bold purple"` | Stil für dieses Modul. | -| `format` | `"via [$symbol$version \\(OTP $otp_version\\)]($style) "` | The format for the module elixir. | -| `disabled` | `false` | Disables the `elixir` module. | +| Option | Standardwert | Beschreibung | +| ---------- | --------------------------------------------------------- | --------------------------------------------------------------- | +| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. | +| `style` | `"bold purple"` | Stil für dieses Modul. | +| `format` | `'via [$symbol$version \(OTP $otp_version\)]($style) '` | The format for the module elixir. | +| `disabled` | `false` | Disables the `elixir` module. | ### Variables @@ -898,13 +900,13 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud ### Optionen -| Variable | Standardwert | Beschreibung | -| ---------------- | ---------------------------------------------------- | --------------------------------------------------------------- | -| `format` | `"on [$symbol$account(\\($region\\))]($style) "` | The format for the 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. | -| `style` | `"bold blue"` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Option | Standardwert | Beschreibung | +| ---------------- | ------------------------------------------------ | --------------------------------------------------------------- | +| `format` | `'on [$symbol$account(\($region\))]($style) '` | The format for the 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. | +| `style` | `"bold blue"` | Stil für dieses Modul. | +| `disabled` | `false` | Disables the `gcloud` module. | ### Variables @@ -927,7 +929,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud # ~/.config/starship.toml [gcloud] -format = "on [$symbol$account(\\($project\\))]($style) " +format = 'on [$symbol$account(\($project\))]($style) ' ``` #### Display active config name only @@ -994,13 +996,13 @@ The `git_commit` module shows the current commit hash of the repo in your curren ### Optionen -| Option | Standartwert | Beschreibung | -| -------------------- | ------------------------------ | ----------------------------------------------------- | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | -| `format` | `"[\\($hash\\)]($style) "` | The format for the module. | -| `style` | `"bold green"` | Stil für dieses Modul. | -| `only_detached` | `true` | Only show git commit hash when in detached HEAD state | -| `disabled` | `false` | Disables the `git_commit` module. | +| Option | Standartwert | Beschreibung | +| -------------------- | -------------------------- | ----------------------------------------------------- | +| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `format` | `'[\($hash\)]($style) '` | The format for the module. | +| `style` | `"bold green"` | Stil für dieses Modul. | +| `only_detached` | `true` | Only show git commit hash when in detached HEAD state | +| `disabled` | `false` | Disables the `git_commit` module. | ### Variables @@ -1026,18 +1028,18 @@ The `git_state` module will show in directories which are part of a git reposito ### Optionen -| Option | Standardwert | Beschreibung | -| -------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `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"` | Stil für dieses Modul. | -| `format` | `"\\([$state( $progress_current/$progress_total)]($style)\\) "` | The format for the module. | -| `disabled` | `false` | Deaktiviert das `git_state`-Modul. | +| Option | Standardwert | Beschreibung | +| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `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"` | Stil für dieses Modul. | +| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | The format for the module. | +| `disabled` | `false` | Deaktiviert das `git_state`-Modul. | ### Variables @@ -1056,7 +1058,7 @@ The `git_state` module will show in directories which are part of a git reposito # ~/.config/starship.toml [git_state] -format = "[\\($state( $progress_current of $progress_total)\\)]($style) " +format = '[\($state( $progress_current of $progress_total)\)]($style) ' cherry_pick = "[🍒 PICKING](bold red)" ``` @@ -1066,21 +1068,21 @@ The `git_status` module shows symbols representing the state of the repo in your ### Optionen -| Option | Standardwert | Beschreibung | -| ------------ | --------------------------------------------- | ----------------------------------- | -| `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` | -| `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"` | Stil für dieses Modul. | -| `disabled` | `false` | Deaktiviert das `git_status`-Modul. | +| Option | Standardwert | Beschreibung | +| ------------ | ----------------------------------------------- | ----------------------------------- | +| `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` | +| `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"` | Stil für dieses Modul. | +| `disabled` | `false` | Deaktiviert das `git_status`-Modul. | ### Variables @@ -1371,14 +1373,13 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis ### Optionen -| Option | Standardwert | Beschreibung | -| ----------------------- | -------------------------------------------------------- | --------------------------------------------------------------------- | -| `symbol` | `"☸ "` | A format string representing the symbol displayed before the Cluster. | -| `format` | `"[$symbol$context( \\($namespace\\))]($style) in "` | The format for the module. | -| `style` | `"cyan bold"` | Stil für dieses Modul. | -| `namespace_spaceholder` | `none` | The value to display if no namespace was found. | -| `context_aliases` | | Table of context aliases to display. | -| `disabled` | `true` | Deaktiviert das `kubernetes`-Modul. | +| Option | Standardwert | Beschreibung | +| ----------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | +| `symbol` | `"☸ "` | A format string representing the symbol displayed before the Cluster. | +| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | The format for the module. | +| `style` | `"cyan bold"` | Stil für dieses Modul. | +| `context_aliases` | | Table of context aliases to display. | +| `disabled` | `true` | Deaktiviert das `kubernetes`-Modul. | ### Variables @@ -1397,7 +1398,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis # ~/.config/starship.toml [kubernetes] -format = "on [⛵ $context \\($namespace\\)](dimmed green) " +format = 'on [⛵ $context \($namespace\)](dimmed green) ' disabled = false [kubernetes.context_aliases] "dev.local.cluster.k8s" = "dev" @@ -1552,14 +1553,14 @@ Das `nix_shell`-Modul zeigt die nix-shell Umgebung an. Das Modul wird angezeigt, ### Optionen -| Option | Standartwert | Beschreibung | -| ------------ | -------------------------------------------------- | ----------------------------------------------------- | -| `format` | `"via [$symbol$state( \\($name\\))]($style) "` | The format for the module. | -| `symbol` | `"❄️ "` | A format string representing the symbol of nix-shell. | -| `style` | `"bold blue"` | Stil für dieses Modul. | -| `impure_msg` | `"impure"` | A format string shown when the shell is impure. | -| `pure_msg` | `"pure"` | A format string shown when the shell is pure. | -| `disabled` | `false` | Deaktiviert das `nix_shell`-Modul. | +| Option | Standartwert | Beschreibung | +| ------------ | ---------------------------------------------- | ----------------------------------------------------- | +| `format` | `'via [$symbol$state( \($name\))]($style) '` | The format for the module. | +| `symbol` | `"❄️ "` | A format string representing the symbol of nix-shell. | +| `style` | `"bold blue"` | Stil für dieses Modul. | +| `impure_msg` | `"impure"` | A format string shown when the shell is impure. | +| `pure_msg` | `"pure"` | A format string shown when the shell is pure. | +| `disabled` | `false` | Deaktiviert das `nix_shell`-Modul. | ### Variables @@ -1581,7 +1582,7 @@ Das `nix_shell`-Modul zeigt die nix-shell Umgebung an. Das Modul wird angezeigt, disabled = true impure_msg = "[impure shell](bold red)" pure_msg = "[pure shell](bold green)" -format = "via [☃️ $state( \\($name\\))](bold blue) " +format = 'via [☃️ $state( \($name\))](bold blue) ' ``` ## NodeJS @@ -1718,7 +1719,7 @@ The `perl` module shows the currently installed version of Perl. Das Modul wird ### Optionen -| Variable | Standartwert | Beschreibung | +| Option | Standartwert | Beschreibung | | ---------- | ---------------------------------- | ----------------------------------------------------- | | `format` | `"via [$symbol$version]($style) "` | The format string for the module. | | `symbol` | `"🐪 "` | The symbol used before displaying the version of Perl | @@ -1798,15 +1799,16 @@ Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: ### Optionen -| Option | Standardwert | Beschreibung | -| -------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `format` | `"via [${symbol}${pyenv_prefix}${version}( \\($virtualenv\\))]($style) "` | The format for the module. | -| `symbol` | `"🐍 "` | A format string representing the symbol of Python | -| `style` | `"yellow bold"` | Stil für dieses Modul. | -| `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 | -| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. | -| `disabled` | `false` | Deaktiviert das `python`-Modul. | +| Option | Standardwert | Beschreibung | +| -------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `format` | `'via [${symbol}${pyenv_prefix}${version}( \($virtualenv\))]($style) '` | The format for the module. | +| `symbol` | `"🐍 "` | A format string representing the symbol of Python | +| `style` | `"yellow bold"` | Stil für dieses Modul. | +| `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 | +| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. | +| `python_binary` | `python` | Configures the python binary that Starship executes when getting the version. | +| `disabled` | `false` | Deaktiviert das `python`-Modul. | ### Variables @@ -1818,32 +1820,26 @@ Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist: | pyenv_prefix | `"pyenv "` | Mirrors the value of option `pyenv_prefix` | | virtualenv | `"venv"` | The current `virtualenv` name | -
-This module has some advanced configuration options. -| Variable | Standardwert | Beschreibung | -| --------------- | ------------ | ----------------------------------------------------------------------------- | -| `python_binary` | `python` | Configures the python binary that Starship executes when getting the version. | - -The `python_binary` variable changes the binary that Starship executes to get the version of Python, it doesn't change the arguments that are used. +### Beispiel ```toml # ~/.config/starship.toml [python] -python_binary = "python3" +symbol = "👾 " +pyenv_version_name = true ``` -
+Using the `python3` binary to get the version. -### Beispiel +Note - The `python_binary` variable changes the binary that Starship executes to get the version of Python, it doesn't change the arguments that are used. ```toml # ~/.config/starship.toml [python] -symbol = "👾 " -pyenv_version_name = true +python_binary = "python3" ``` ## Ruby @@ -1856,7 +1852,7 @@ Das `ruby` Modul zeigt die derzeit installierte Version von Ruby an. Das Modul w ### Optionen -| Option | Standartwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ---------- | ---------------------------------- | ------------------------------------------------ | | `format` | `"via [$symbol$version]($style) "` | The format for the module. | | `symbol` | `"💎 "` | A format string representing the symbol of Ruby. | @@ -1891,7 +1887,7 @@ Das `rust` Modul zeigt die derzeit installierte Version von Rust an. Das Modul w ### Optionen -| Option | Standartwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ---------- | ---------------------------------- | ----------------------------------------------- | | `format` | `"via [$symbol$version]($style) "` | The format for the module. | | `symbol` | `"🦀 "` | A format string representing the symbol of Rust | @@ -1923,7 +1919,7 @@ The `shlvl` module shows the current SHLVL ("shell level") environment variable, ### Optionen -| Variable | Standartwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ----------- | ---------------------------- | --------------------------------------- | | `threshold` | `2` | Display threshold. | | `format` | `"[$symbol$shlvl]($style) "` | The format for the module. | @@ -1958,12 +1954,12 @@ The `singularity` module shows the current singularity image, if inside a contai ### Optionen -| Option | Standartwert | Beschreibung | -| ---------- | ------------------------------------ | ------------------------------------------------ | -| `format` | `"[$symbol\\[$env\\]]($style) "` | The format for the module. | -| `symbol` | `""` | A format string displayed before the image name. | -| `style` | `"bold dimmed blue"` | Stil für dieses Modul. | -| `disabled` | `false` | Disables the `singularity` module. | +| Option | Standardwert | Beschreibung | +| ---------- | -------------------------------- | ------------------------------------------------ | +| `format` | `'[$symbol\[$env\]]($style) '` | The format for the module. | +| `symbol` | `""` | A format string displayed before the image name. | +| `style` | `"bold dimmed blue"` | Stil für dieses Modul. | +| `disabled` | `false` | Disables the `singularity` module. | ### Variables @@ -1981,7 +1977,7 @@ The `singularity` module shows the current singularity image, if inside a contai # ~/.config/starship.toml [singularity] -format = "[📦 \\[$env\\]]($style) " +format = '[📦 \[$env\]]($style) ' ``` ## Swift @@ -1993,7 +1989,7 @@ The `swift` module shows the currently installed version of Swift. Das Modul wir ### Optionen -| Option | Standartwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ---------- | ---------------------------------- | ------------------------------------------------ | | `format` | `"via [$symbol$version]($style) "` | The format for the module. | | `symbol` | `"🐦 "` | A format string representing the symbol of Swift | @@ -2029,7 +2025,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis ### Optionen -| Variable | Standartwert | Beschreibung | +| Option | Standardwert | Beschreibung | | ---------- | -------------------------- | ------------------------------------------------------ | | `format` | `[$symbol$status]($style)` | The format of the module | | `symbol` | `"✖"` | A format string representing the symbol for the status | @@ -2055,7 +2051,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis [status] style = "bg:blue" symbol = "💣 " -format = "[\\[$symbol$status\\]]($style) " +format = '[\[$symbol$status\]]($style) ' disabled = false ``` @@ -2147,7 +2143,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Andernfalls ist [time] disabled = false -format = "🕙[\\[ $time \\]]($style) " +format = '🕙[\[ $time \]]($style) ' time_format = "%T" utc_time_offset = "-5" time_range = "10:00:00-14:00:00" diff --git a/docs/de-DE/faq/README.md b/docs/de-DE/faq/README.md index f8dddf852..72d17001c 100644 --- a/docs/de-DE/faq/README.md +++ b/docs/de-DE/faq/README.md @@ -10,6 +10,10 @@ - **Konfiguration**: [Matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish) - **Prompt**: [Starship](https://starship.rs/) +## How do I get command completion as shown in the demo GIF? + +Completion support is provided by your shell of choice. In the case of the demo, the demo was done with [Fish Shell](https://fishshell.com/), which provides completions by default. If you use Z Shell (zsh), I'd suggest taking a look at [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions). + ## Do top level `format` and `.disabled` do the same thing? Ja, beide können benutzt werden, um Module in der Prompt zu deaktivieren. Wenn nur Module deaktiviert werden wollen, sollte `.disabled` benutzt werden, aus den folgenden Gründen: diff --git a/docs/de-DE/migrating-to-0.45.0/README.md b/docs/de-DE/migrating-to-0.45.0/README.md index 21c0e10ab..f7be7ec62 100644 --- a/docs/de-DE/migrating-to-0.45.0/README.md +++ b/docs/de-DE/migrating-to-0.45.0/README.md @@ -8,7 +8,7 @@ This guide is intended to walk you through the breaking changes. Previously to v0.45.0, `prompt_order` would accept an array of module names in the order which they should be rendered by Starship. -Starship v0.45.0 will instead be accepting a `format` value, allowing for customization of the prompt outside of the modules themselves. +Starship v0.45.0 instead accepts a `format` value, allowing for customization of the prompt outside of the modules themselves. **Example pre-v0.45.0 configuration** @@ -52,11 +52,11 @@ format = """\ """ ``` -## Module `prefix` and `suffix` will be replaced by `format` +## Module `prefix` and `suffix` have been replaced by `format` Previously to v0.45.0, some modules would accept `prefix` and/or `suffix` in order to stylize the way that modules are rendered. -Starship v0.45.0 will instead be accepting a `format` value, allowing for further customization of how modules are rendered. Instead of defining a prefix and suffix for the context-based variables, the variables can now be substituted from within a format string, which represents the module's output. +Starship v0.45.0 instead accepts a `format` value, allowing for further customization of how modules are rendered. Instead of defining a prefix and suffix for the context-based variables, the variables can now be substituted from within a format string, which represents the module's output. **Example pre-v0.45.0 configuration** @@ -71,7 +71,7 @@ prefix = "took " [cmd_duration] # $duration – The command duration (e.g. "15s") # $style – The default style of the module (e.g. "bold yellow") -format = "took [$duration]($style)" +format = "took [$duration]($style) " ``` ### Affected Modules @@ -93,8 +93,8 @@ format = "took [$duration]($style)" -- error_symbol = "✖" -- use_symbol_for_status = true -- vicmd_symbol = "❮" -++ success_symbol = "[❯](bold green) " -++ error_symbol = "[❯](bold red) " +++ success_symbol = "[❯](bold green)" +++ error_symbol = "[❯](bold red)" ++ vicmd_symbol = "[❮](bold green)" ``` @@ -106,9 +106,11 @@ To configure the prompt to use the older `use_symbol_for_status = true` configur ```toml [character] -error_symbol = "[✖](bold red) " +error_symbol = "[✖](bold red)" ``` +*Note:* The `character` element automatically adds a space after, so unlike the other `format` strings, we specifically do not add one in the above examples. + #### Befehlsdauer | Removed Property | Replacement | @@ -120,7 +122,7 @@ error_symbol = "[✖](bold red) " ```diff [cmd_duration] -- prefix = "took " -++ format = "took [$duration]($style)" +++ format = "took [$duration]($style) " ``` #### Verzeichnis @@ -134,7 +136,7 @@ error_symbol = "[✖](bold red) " ```diff [directory] -- prefix = "in " -++ format = "[$path]($style)[$read_only]($read_only_style)" +++ format = "[$path]($style)[$read_only]($read_only_style) " ``` #### Umgebungsvariablen @@ -166,7 +168,7 @@ error_symbol = "[✖](bold red) " [git_commit] -- prefix = "(" -- suffix = ")" -++ format = "[\\($hash\\)]($style) " +++ format = '[\($hash\)]($style) ' ``` #### Git-Status @@ -184,12 +186,12 @@ error_symbol = "[✖](bold red) " -- prefix = "[" -- suffix = "]" -- show_sync_count = false -++ format = "([$all_status$ahead_behind] )" +++ format = '([\[$all_status$ahead_behind\]]($style) )' ``` Previously, the `show_sync_count` property was used to configure the prompt to show the number of commits the branch was ahead or behind the remote branch. -With the release of v0.45.0, this has been replaced with the +With the release of v0.45.0, this has been replaced with three separate properties, `ahead`, `behind`, and `diverged`. To configure the prompt to use the older `show_sync_count = true` configuration, set the following to your config file: @@ -230,7 +232,7 @@ behind = "⇣${count}" [singularity] -- prefix = "" -- suffix = "" -++ format = "[$symbol\\[$env\\]]($style) " +++ format = '[$symbol\[$env\]]($style) ' ``` #### Zeit @@ -245,7 +247,7 @@ behind = "⇣${count}" [time] -- format = "🕙[ %T ]" ++ time_format = "%T" -++ format = "at 🕙[$time]($style) +++ format = "at 🕙[$time]($style) " ``` #### Custom Commands diff --git a/docs/es-ES/config/README.md b/docs/es-ES/config/README.md index c598c5e67..af59d628b 100644 --- a/docs/es-ES/config/README.md +++ b/docs/es-ES/config/README.md @@ -235,13 +235,13 @@ Cuando uses [aws-vault](https://github.com/99designs/aws-vault) el perfil se obt ### Opciones -| Opción | Por defecto | Descripción | -| ---------------- | ---------------------------------------------------- | ------------------------------------------------------------ | -| `format` | `"on [$symbol$profile(\\($region\\))]($style) "` | El formato del módulo. | -| `symbol` | `"☁️ "` | El símbolo que se muestra antes del perfil de AWS. | -| `region_aliases` | | Tabla de alias de región para mostrar además del nombre AWS. | -| `style` | `"bold yellow"` | El estilo del módulo. | -| `disabled` | `false` | Desactiva el módulo AWS. | +| Opción | Por defecto | Descripción | +| ---------------- | ------------------------------------------------ | ------------------------------------------------------------ | +| `format` | `'on [$symbol$profile(\($region\))]($style) '` | El formato del módulo. | +| `symbol` | `"☁️ "` | El símbolo que se muestra antes del perfil de AWS. | +| `region_aliases` | | Tabla de alias de región para mostrar además del nombre AWS. | +| `style` | `"bold yellow"` | El estilo del módulo. | +| `disabled` | `false` | Desactiva el módulo AWS. | ### Variables @@ -262,7 +262,7 @@ Cuando uses [aws-vault](https://github.com/99designs/aws-vault) el perfil se obt # ~/.config/starship.toml [aws] -format = "on [$symbol$profile(\\($region\\))]($style) " +format = 'on [$symbol$profile(\($region\))]($style) ' style = "bold blue" symbol = "🅰 " [aws.region_aliases] @@ -347,7 +347,7 @@ style = "bold red" La opción `display` es un array de la siguiente tabla. -| Variable | Descripción | +| Opción | Descripción | | ----------- | --------------------------------------------------------------- | | `threshold` | El umbral para la opción de visualización. | | `style` | El estilo usado cuando si la opción <0>display está activa. | @@ -576,7 +576,7 @@ El módulo `dart` muestra la versión actualmente instalada de Dart. El módulo ### Opciones -| Variable | Por defecto | Descripción | +| Opción | Por defecto | Descripción | | ---------- | ---------------------------------- | ------------------------------------------------------- | | `format` | `"via [$symbol$version]($style) "` | El formato del módulo. | | `symbol` | `"🎯 "` | Una cadena de formato que representa el símbolo de Dart | @@ -612,7 +612,7 @@ Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repos ### Opciones -| Variable | Por defecto | Descripción | +| Opción | Por defecto | Descripción | | ------------------- | -------------------------------------------------- | --------------------------------------------------------------------- | | `truncation_length` | `3` | El número de carpetas a las que se debe truncar el directorio actual. | | `truncate_to_repo` | `true` | Truncar o no hasta la raíz del repositorio git en el que se esté. | @@ -621,6 +621,7 @@ Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repos | `disabled` | `false` | Deshabilita el módulo `directory`. | | `read_only` | `"🔒"` | El símbolo que indica si el directorio actual es de sólo lectura. | | `read_only_style` | `"red"` | El estilo para el símbolo de sólo lectura. | +| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
Este módulo tiene algunas opciones avanzadas de configuración que controlan cómo se muestra el directorio. @@ -659,6 +660,7 @@ Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repos [directory] truncation_length = 8 +truncation_symbol = "…/" ``` ## Docker Context @@ -756,12 +758,12 @@ El módulo `elixir` muestra la version instalada actualmente de Elixir y Erlang/ ### Opciones -| Opción | Por defecto | Descripción | -| ---------- | ------------------------------------------------------------- | -------------------------------------------------------------- | -| `symbol` | `"💧 "` | El símbolo usado antes de mostrar la version de Elixir/Erlang. | -| `style` | `"bold purple"` | El estilo del módulo. | -| `format` | `"via [$symbol$version \\(OTP $otp_version\\)]($style) "` | El formato para el módulo elixir. | -| `disabled` | `false` | Deshabilita el módulo `elixir`. | +| Opción | Por defecto | Descripción | +| ---------- | --------------------------------------------------------- | -------------------------------------------------------------- | +| `symbol` | `"💧 "` | El símbolo usado antes de mostrar la version de Elixir/Erlang. | +| `style` | `"bold purple"` | El estilo del módulo. | +| `format` | `'via [$symbol$version \(OTP $otp_version\)]($style) '` | El formato para el módulo elixir. | +| `disabled` | `false` | Deshabilita el módulo `elixir`. | ### Variables @@ -899,13 +901,13 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud ### Opciones -| Variable | Por defecto | Descripción | -| ---------------- | ---------------------------------------------------- | --------------------------------------------------------------- | -| `format` | `"on [$symbol$account(\\($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. | -| `style` | `"bold blue"` | El estilo del módulo. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Opción | Por defecto | Descripción | +| ---------------- | ------------------------------------------------ | --------------------------------------------------------------- | +| `format` | `'on [$symbol$account(\($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. | +| `style` | `"bold blue"` | El estilo del módulo. | +| `disabled` | `false` | Disables the `gcloud` module. | ### Variables @@ -928,7 +930,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud # ~/.config/starship.toml [gcloud] -format = "on [$symbol$account(\\($project\\))]($style) " +format = 'on [$symbol$account(\($project\))]($style) ' ``` #### Display active config name only @@ -995,13 +997,13 @@ The `git_commit` module shows the current commit hash of the repo in your curren ### Opciones -| Opción | Por defecto | Descripción | -| -------------------- | ------------------------------ | ----------------------------------------------------- | -| `commit_hash_length` | `7` | The length of the displayed git commit hash. | -| `format` | `"[\\($hash\\)]($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 | -| `disabled` | `false` | Disables the `git_commit` module. | +| Opción | Por defecto | Descripción | +| -------------------- | -------------------------- | ----------------------------------------------------- | +| `commit_hash_length` | `7` | The length of the displayed git commit hash. | +| `format` | `'[\($hash\)]($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 | +| `disabled` | `false` | Disables the `git_commit` module. | ### Variables @@ -1027,18 +1029,18 @@ The `git_state` module will show in directories which are part of a git reposito ### Opciones -| Opción | Por defecto | 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 | Por defecto | 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. | ### Variables @@ -1057,7 +1059,7 @@ The `git_state` module will show in directories which are part of a git reposito # ~/.config/starship.toml [git_state] -format = "[\\($state( $progress_current of $progress_total)\\)]($style) " +format = '[\($state( $progress_current of $progress_total)\)]($style) ' cherry_pick = "[🍒 PICKING](bold red)" ``` @@ -1067,21 +1069,21 @@ The `git_status` module shows symbols representing the state of the repo in your ### Opciones -| Opción | Por defecto | 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` | -| `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. | -| `disabled` | `false` | Disables the `git_status` module. | +| Opción | Por defecto | 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` | +| `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. | +| `disabled` | `false` | Disables the `git_status` module. | ### Variables @@ -1372,14 +1374,13 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y ### Opciones -| Opción | Por defecto | 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. | -| `namespace_spaceholder` | `none` | The value to display if no namespace was found. | -| `context_aliases` | | Table of context aliases to display. | -| `disabled` | `true` | Disables the `kubernetes` module. | +| Opción | Por defecto | Descripción | +| ----------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | +| `symbol` | `"☸ "` | A format string representing the symbol displayed before the Cluster. | +| `format` | `'[$symbo