summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-06-20 14:10:36 -0400
committerGitHub <noreply@github.com>2021-06-20 14:10:36 -0400
commit45a45baffaa53a240038e72669f82aab563778f9 (patch)
tree36c56b37efc96be14279807a40b100bd15780d46
parent2f696d5590b73a0bf25d98ce916a63aa89f369da (diff)
docs(i18n): New Crowdin updates (#2733)
* New translations README.md (Arabic) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Russian) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Turkish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Portuguese) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * Update source file README.md * Update source file README.md * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Turkish) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (French) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Russian) * New translations README.md (Russian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (Spanish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Russian) * New translations README.md (Japanese) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Korean) * New translations README.md (Russian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Polish) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Dutch) * New translations README.md (Spanish) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (French) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Simplified) * New translations README.md (Russian) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Spanish)
-rw-r--r--docs/ar-SA/config/README.md96
-rw-r--r--docs/ar-SA/guide/README.md7
-rw-r--r--docs/ar-SA/presets/README.md278
-rw-r--r--docs/ckb-IR/advanced-config/README.md2
-rw-r--r--docs/ckb-IR/config/README.md96
-rw-r--r--docs/ckb-IR/guide/README.md7
-rw-r--r--docs/ckb-IR/presets/README.md278
-rw-r--r--docs/de-DE/config/README.md156
-rw-r--r--docs/de-DE/guide/README.md7
-rw-r--r--docs/de-DE/presets/README.md278
-rw-r--r--docs/es-ES/config/README.md291
-rw-r--r--docs/es-ES/guide/README.md7
-rw-r--r--docs/es-ES/presets/README.md278
-rw-r--r--docs/fr-FR/config/README.md1111
-rw-r--r--docs/fr-FR/guide/README.md7
-rw-r--r--docs/fr-FR/presets/README.md278
-rw-r--r--docs/it-IT/README.md6
-rw-r--r--docs/it-IT/advanced-config/README.md14
-rw-r--r--docs/it-IT/config/README.md132
-rw-r--r--docs/it-IT/faq/README.md14
-rw-r--r--docs/it-IT/guide/README.md9
-rw-r--r--docs/it-IT/migrating-to-0.45.0/README.md6
-rw-r--r--docs/it-IT/presets/README.md278
-rw-r--r--docs/ja-JP/advanced-config/README.md10
-rw-r--r--docs/ja-JP/config/README.md113
-rw-r--r--docs/ja-JP/guide/README.md7
-rw-r--r--docs/ja-JP/presets/README.md278
-rw-r--r--docs/ko-KR/config/README.md96
-rw-r--r--docs/ko-KR/guide/README.md7
-rw-r--r--docs/ko-KR/presets/README.md278
-rw-r--r--docs/nl-NL/config/README.md96
-rw-r--r--docs/nl-NL/guide/README.md7
-rw-r--r--docs/nl-NL/presets/README.md278
-rw-r--r--docs/pl-PL/config/README.md96
-rw-r--r--docs/pl-PL/guide/README.md7
-rw-r--r--docs/pl-PL/presets/README.md278
-rw-r--r--docs/pt-BR/README.md12
-rw-r--r--docs/pt-BR/advanced-config/README.md4
-rw-r--r--docs/pt-BR/config/README.md342
-rw-r--r--docs/pt-BR/faq/README.md64
-rw-r--r--docs/pt-BR/guide/README.md19
-rw-r--r--docs/pt-BR/installing/README.md32
-rw-r--r--docs/pt-BR/migrating-to-0.45.0/README.md142
-rw-r--r--docs/pt-BR/presets/README.md280
-rw-r--r--docs/pt-PT/config/README.md96
-rw-r--r--docs/pt-PT/guide/README.md7
-rw-r--r--docs/pt-PT/presets/README.md278
-rw-r--r--docs/ru-RU/README.md6
-rw-r--r--docs/ru-RU/config/README.md106
-rw-r--r--docs/ru-RU/guide/README.md15
-rw-r--r--docs/ru-RU/presets/README.md278
-rw-r--r--docs/tr-TR/config/README.md96
-rw-r--r--docs/tr-TR/guide/README.md7
-rw-r--r--docs/tr-TR/presets/README.md278
-rw-r--r--docs/vi-VN/config/README.md98
-rw-r--r--docs/vi-VN/guide/README.md9
-rw-r--r--docs/vi-VN/presets/README.md278
-rw-r--r--docs/zh-CN/config/README.md110
-rw-r--r--docs/zh-CN/guide/README.md7
-rw-r--r--docs/zh-CN/presets/README.md278
-rw-r--r--docs/zh-TW/README.md2
-rw-r--r--docs/zh-TW/config/README.md102
-rw-r--r--docs/zh-TW/faq/README.md54
-rw-r--r--docs/zh-TW/guide/README.md25
-rw-r--r--docs/zh-TW/presets/README.md278
65 files changed, 7212 insertions, 1278 deletions
diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md
index 3ae4b2de5..5ad7d5d51 100644
--- a/docs/ar-SA/config/README.md
+++ b/docs/ar-SA/config/README.md
@@ -389,7 +389,17 @@ The character will tell you whether the last command was successful or not. It c
By default it only changes color. If you also want to change its shape take a look at [this example](#with-custom-error-shape).
-::: warning `error_symbol` is not supported on elvish shell. :::
+::: warning
+
+`error_symbol` is not supported on elvish shell.
+
+:::
+
+::: warning
+
+`vicmd_symbol` is only supported in fish and zsh.
+
+:::
### Options
@@ -780,7 +790,6 @@ By default this module will only be shown in your prompt when one or more of the
- `Directory.Build.props`
- `Directory.Build.targets`
- `Packages.props`
-- `*.sln`
- `*.csproj`
- `*.fsproj`
- `*.xproj`
@@ -799,7 +808,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
-| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
+| `detect_extensions` | `["csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this modules. |
| `style` | `"bold blue"` | The style for the module. |
@@ -2165,6 +2174,59 @@ python_binary = "python3"
detect_extensions = []
```
+```toml
+# ~/.config/starship.toml
+
+[python]
+# Display the version of python from inside a local venv.
+#
+# 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?
+python_binary = ["./venv/bin/python", "python", "python3", "python2"]
+```
+
+## R
+
+The `rlang` module shows the currently installed version of R. The module will be shown if any of the following conditions are met:
+
+- The current directory contains a file with the `.R` extension.
+- The current directory contains a file with the `.Rd` extension.
+- The current directory contains a file with the `.Rmd` extension.
+- The current directory contains a file with the `.Rproj` extension.
+- The current directory contains a file with the `.Rsx` extension.
+- The current directory contains a `.Rprofile` file
+- The current directory contains a `.Rproj.user` folder
+
+### Options
+
+| Option | Default | Description |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"📐"` | A format string representing the symbol of R. |
+| `style` | `"blue bold"` | The style for the module. |
+| `detect_extensions` | `["R", "Rd", "Rmd", "Rproj", "Rsx"]` | Which extensions should trigger this module |
+| `detect_files` | `[".Rprofile"]` | Which filenames should trigger this module |
+| `detect_folders` | `[".Rproj.user"]` | Which folders should trigger this module |
+| `disabled` | `false` | Disables the `r` module. |
+
+### Variables
+
+| Variable | Example | Description |
+| -------- | ------------- | ------------------------------------ |
+| version | `v4.0.5` | The version of `R` |
+| symbol | | Mirrors the value of option `symbol` |
+| style | `"blue bold"` | Mirrors the value of option `style` |
+
+### Example
+
+```toml
+# ~/.config/starship.toml
+
+[rlang]
+format = "with [📐 $version](blue bold) "
+```
+
## 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:
@@ -2831,6 +2893,7 @@ These modules will be shown if any of the following conditions are met:
- The current directory contains a directory whose name is in `directories`
- The current directory contains a file whose extension is in `extensions`
- The `when` command returns 0
+- The current Operating System (std::env::consts::OS) matchs with `os` field if defined.
::: tip
@@ -2852,19 +2915,20 @@ The order in which custom modules are shown can be individually set by including
### Options
-| Option | Default | Description |
-| ------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
-| `command` | | The command whose output should be printed. The command will be passed on stdin to the shell. |
-| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
-| `shell` | | [See below](#custom-command-shell) |
-| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
-| `files` | `[]` | The files that will be searched in the working directory for a match. |
-| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
-| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
-| `symbol` | `""` | The symbol used before displaying the command output. |
-| `style` | `"bold green"` | The style for the module. |
-| `format` | `"[$symbol($output )]($style)"` | The format for the module. |
-| `disabled` | `false` | Disables this `custom` module. |
+| Option | Default | Description |
+| ------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `command` | | The command whose output should be printed. The command will be passed on stdin to the shell. |
+| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
+| `shell` | | [See below](#custom-command-shell) |
+| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
+| `files` | `[]` | The files that will be searched in the working directory for a match. |
+| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
+| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
+| `symbol` | `""` | The symbol used before displaying the command output. |
+| `style` | `"bold green"` | The style for the module. |
+| `format` | `"[$symbol($output )]($style)"` | The format for the module. |
+| `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). |
### Variables
diff --git a/docs/ar-SA/guide/README.md b/docs/ar-SA/guide/README.md
index 4d59303fd..985c61a40 100644
--- a/docs/ar-SA/guide/README.md
+++ b/docs/ar-SA/guide/README.md
@@ -163,6 +163,13 @@
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
+ **Note** - The defaults of the install script can be overridden see the built-in help.
+
+ ```sh
+ sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help
+ ```
+
+
#### Install via Package Manager
diff --git a/docs/ar-SA/presets/README.md b/docs/ar-SA/presets/README.md
index a039ba8da..123974b2b 100644
--- a/docs/ar-SA/presets/README.md
+++ b/docs/ar-SA/presets/README.md
@@ -81,6 +81,284 @@ symbol = " "
[scala]
symbol = " "
+[shlvl]
+symbol = " "
+
[swift]
symbol = "ﯣ "
```
+
+## Bracketed Segments
+
+This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
+
+Before:
+
+![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png)
+
+After:
+
+![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png)
+
+### Configuration
+
+```toml
+[aws]
+format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
+
+[cmake]
+format = '\[[$symbol($version)]($style)\]'
+
+[cmd_duration]
+format = "[⏱ $duration]($style)"
+
+[conda]
+format = '\[[$symbol$environment]($style)\]'
+
+[crystal]
+format = '\[[$symbol($version)]($style)\]'
+
+[dart]
+format = '\[[$symbol($version)]($style)\]'
+
+[deno]
+format = '\[[$symbol($version)]($style)\]'
+
+[docker_context]
+format = '\[[$symbol$context]($style)\]'
+
+[dotnet]
+format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
+
+[elixir]
+format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
+
+[elm]
+format = '\[[$symbol($version)]($style)\]'
+
+[erla