summaryrefslogtreecommitdiffstats
path: root/docs/pt-BR
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-04-22 17:12:09 -0400
committerGitHub <noreply@github.com>2021-04-22 23:12:09 +0200
commitffe1049c823e2a319be1208f648061a1cb5b652e (patch)
treec6b1c7a240d0597dc58262efdf813dafbf8ab0e8 /docs/pt-BR
parent0860baa8a00a0cc1967dedb6ed6b16c07ed03c41 (diff)
docs(i18n): New Crowdin updates (#2564)
* New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * 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 (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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Turkish) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * 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 (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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * 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 (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 (Japanese) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (French) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (German) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * 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 (Portuguese) * 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 (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Portuguese) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Dutch) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French)
Diffstat (limited to 'docs/pt-BR')
-rw-r--r--docs/pt-BR/README.md8
-rw-r--r--docs/pt-BR/advanced-config/README.md5
-rw-r--r--docs/pt-BR/config/README.md210
-rw-r--r--docs/pt-BR/faq/README.md4
-rw-r--r--docs/pt-BR/guide/README.md2
-rw-r--r--docs/pt-BR/installing/README.md2
6 files changed, 162 insertions, 69 deletions
diff --git a/docs/pt-BR/README.md b/docs/pt-BR/README.md
index ce717a7be..90ffe2b5b 100644
--- a/docs/pt-BR/README.md
+++ b/docs/pt-BR/README.md
@@ -28,7 +28,11 @@ description: O Starship é o prompt minimalista, extremamente rápido e extremam
</video>
</div>
-### Instalação
+### Pré-requisitos
+
+- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal.
+
+### Quick Install
1. Instale o binário do **starship**:
@@ -38,7 +42,7 @@ description: O Starship é o prompt minimalista, extremamente rápido e extremam
Com o Shell:
```sh
- curl -fsSL https://starship.rs/install.sh | bash
+ sh -c "$(curl -fsSL https://starship.rs/install.sh)"
```
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
diff --git a/docs/pt-BR/advanced-config/README.md b/docs/pt-BR/advanced-config/README.md
index d99bcc747..7b1206003 100644
--- a/docs/pt-BR/advanced-config/README.md
+++ b/docs/pt-BR/advanced-config/README.md
@@ -75,14 +75,15 @@ Style strings are a list of words, separated by whitespace. The words are not ca
- `bold`
- `underline`
- `dimmed`
+ - `inverted`
- `bg:<color>`
- `fg:<color>`
- `<color>`
- `none`
-where `<color>` is a color specifier (discussed below). `fg:<color>` and `<color>` currently do the same thing , though this may change in the future. The order of words in the string does not matter.
+where `<color>` is a color specifier (discussed below). `fg:<color>` and `<color>` currently do the same thing, though this may change in the future. `inverted` swaps the background and foreground colors. The order of words in the string does not matter.
-The `none` token overrides all other tokens in a string if it is not part of a `bg:` specifier, so that e.g. `fg:red none fg:blue` will still create a string with no styling. `bg:none` sets the background to the default color so `fg:red bg:none` is equivalent to `red` or `fg:red` and `bg:green fg:red bg:none` is also equivalent to `fg:red` or `red`. It may become an error to use `none` in conjunction with other tokens in the future.
+The `none` token overrides all other tokens in a string if it is not part of a `bg:` specifier, so that e.g. `fg:red none fg:blue` will still create a string with no styling. `bg:none` sets the background to the default color so `fg:red bg:none` is equivalent to `red` or `fg:red` and `bg:green fg:red bg:none` is also equivalent to `fg:red` or `red`. It may become an error to use `none` in conjunction with other tokens in the future.
A color specifier can be one of the following:
diff --git a/docs/pt-BR/config/README.md b/docs/pt-BR/config/README.md
index 95ad6e5ea..e20599507 100644
--- a/docs/pt-BR/config/README.md
+++ b/docs/pt-BR/config/README.md
@@ -142,11 +142,12 @@ This is the list of prompt-wide configuration options.
### Opções
-| Option | Padrão | Descrição |
-| -------------- | ------------------------------ | ----------------------------------------------------- |
-| `format` | [link](#default-prompt-format) | Configure the format of the prompt. |
-| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). |
-| `add_newline` | `true` | Inserts blank line between shell prompts. |
+| Option | Padrão | Descrição |
+| ----------------- | ------------------------------ | ------------------------------------------------------------ |
+| `format` | [link](#default-prompt-format) | Configure the format of the prompt. |
+| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). |
+| `command_timeout` | `500` | Timeout for commands executed by starship (in milliseconds). |
+| `add_newline` | `true` | Inserts blank line between shell prompts. |
### Exemplo
@@ -190,6 +191,7 @@ $docker_context\
$package\
$cmake\
$dart\
+$deno\
$dotnet\
$elixir\
$elm\
@@ -206,6 +208,7 @@ $perl\
$php\
$purescript\
$python\
+$red\
$ruby\
$rust\
$scala\
@@ -241,6 +244,8 @@ When using [aws-vault](https://github.com/99designs/aws-vault) the profile is re
When using [awsu](https://github.com/kreuzwerker/awsu) the profile is read from the `AWSU_PROFILE` env var.
+When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFILE` env var.
+
### Opções
| Option | Padrão | Descrição |
@@ -333,7 +338,7 @@ discharging_symbol = "💀 "
### Indicador de bateria
-The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. Os valores padrão são os seguintes:
+The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. Os valores padrão são os seguintes:
```toml
[[battery.display]]
@@ -341,25 +346,30 @@ threshold = 10
style = "bold red"
```
+The default value for the `charging_symbol` and `discharging_symbol` option is respectively the value of `battery`'s `charging_symbol` and `discharging_symbol` option.
+
#### Opções
The `display` option is an array of the following table.
-| Option | Descrição |
-| ----------- | ----------------------------------------------- |
-| `threshold` | The upper bound for the display option. |
-| `style` | The style used if the display option is in use. |
+| Option | Padrão | Descrição |
+| -------------------- | ---------- | --------------------------------------------------------------------------------------------------------- |
+| `threshold` | `10` | The upper bound for the display option. |
+| `style` | `bold red` | The style used if the display option is in use. |
+| `charging_symbol` | `-` | Optional symbol displayed if display option is in use, defaults to battery's `charging_symbol` option. |
+| `discharging_symbol` | `-` | Optional symbol displayed if display option is in use, defaults to battery's `discharging_symbol` option. |
#### Exemplo
```toml
-[[battery.display]] # "bold red" style when capacity is between 0% and 10%
+[[battery.display]] # "bold red" style and discharging_symbol when capacity is between 0% and 10%
threshold = 10
style = "bold red"
-[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
+[[battery.display]] # "bold yellow" style and 💦 symbol when capacity is between 10% and 30%
threshold = 30
style = "bold yellow"
+discharging_symbol = 💦
# when capacity is over 30%, the battery indicator will not be displayed
@@ -458,7 +468,7 @@ The `cmake` module shows the currently installed version of CMake. By default th
The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
-::: warning Não utilize o DEBUG-trap no Bash
+::: warning Do not hook the DEBUG trap in Bash
If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
@@ -620,6 +630,40 @@ The `dart` module shows the currently installed version of Dart. By default the
format = "via [🔰 $version](bold red) "
```
+## Deno
+
+The `deno` module shows you your currently installed version of Deno. By default the module will be shown if any of the following conditions are met:
+- The current directory contains a `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
+
+### Opções
+
+| Option | Padrão | Descrição |
+| ------------------- | -------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `symbol` | `"🦕 "` | A format string representing the symbol of Deno |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["mod.ts", "mod.js", "deps.ts", "deps.js"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"green bold"` | O estilo do módulo. |
+| `disabled` | `false` | Disables the `deno` module. |
+
+### Variables
+
+| Variável | Exemplo | Descrição |
+| --------- | -------- | ------------------------------------ |
+| version | `v1.8.3` | The version of `deno` |
+| symbol | | Mirrors the value of option `symbol` |
+| style\* | | Mirrors the value of option `style` |
+
+### Exemplo
+
+```toml
+# ~/.config/starship.toml
+
+[deno]
+format = "via [🦕 $version](green bold) "
+```
+
## Diretório
The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
@@ -929,7 +973,7 @@ The `erlang` module shows the currently installed version of Erlang/OTP. By defa
format = "via [e $version](bold red) "
```
-## Gcloud
+## 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.
@@ -1313,15 +1357,16 @@ The `java` module shows the currently installed version of Java. By default the
### Opções
-| Option | Padrão | Descrição |
-| ------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
-| `format` | `"via [${symbol}(${version} )]($style)"` | The format for the module. |
-| `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"` | O estilo do módulo. |
-| `disabled` | `false` | Disables the `java` module. |
+| Option | Padrão | Descrição |
+| ------------------- | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
+| `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"` | O estilo do módulo. |
+| `disabled` | `false` | Disables the `java` module. |
### Variables
@@ -1344,7 +1389,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 is more than 1 job, or more than the `threshold` config value, if it exists.
+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 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.
::: warning
@@ -1510,7 +1555,7 @@ disabled = false
"dev.local.cluster.k8s" = "dev"
```
-## Quebra de linha
+## Line Break
The `line_break` module separates the prompt into two lines.
@@ -1569,7 +1614,7 @@ The `lua` module shows the currently installed version of Lua. By default the mo
format = "via [🌕 $version](bold blue) "
```
-## Uso de memória
+## Memory Usage
The `memory_usage` module shows current system memory and swap usage.
@@ -1583,13 +1628,13 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
### Opções
-| Option | Padrão | Descrição |
-| ----------- | --------------------------------------------- | -------------------------------------------------------- |
-| `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"` | O estilo do módulo. |
-| `disabled` | `true` | Disables the `memory_usage` module. |
+| Option | Padrão | Descrição |
+| ----------- | ----------------------------------------------- | -------------------------------------------------------- |
+| `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"` | O estilo do módulo. |
+| `disabled` | `true` | Disables the `memory_usage` module. |
### Variables
@@ -1737,22 +1782,24 @@ The `nodejs` module shows the currently installed version of NodeJS. By default
- The current directory contains a `package.json` file
- The current directory contains a `.node-version` file
+- The current directory contains a `.nvmrc` file
- The current directory contains a `node_modules` directory
- The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension
- The current directory contains a file with the `.ts` extension
### Opções
-| Option | Padrão | Descrição |
-| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------ |
-| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
-| `symbol` | `" "` | A format string representing the symbol of NodeJS. |
-| `detect_extensions` | `["js", "mjs", "cjs", "ts"]` | Which extensions should trigger this module. |
-| `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"` | 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 NodeJS version. |
+| Option | Padrão | Descrição |
+| ------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------- |
+| `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 NodeJS. |
+| `detect_extensions` | `["js", "mjs", "cjs", "ts"]` | Which extensions should trigger this module. |
+| `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"` | 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 NodeJS version. |
### Variables
@@ -2039,6 +2086,7 @@ By default the module will be shown if any of the following conditions are met:
| Option | Padrão | Descrição |
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `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 |
@@ -2093,6 +2141,44 @@ python_binary = "python3"
detect_extensions = []
```
+## Red
+
+By default the `red` module shows the currently installed version of Red. The module will be shown if any of the following conditions are met:
+
+- The current directory contains a file with `.red` or `.reds` extension
+
+### Opções
+
+| Option | Padrão | Descrição |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"🔺 "` | A format string representing the symbol of Red. |
+| `detect_extensions` | `["red"]` | Which extensions should trigger this module. |
+| `detect_files` | `[]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"red bold"` | O estilo do módulo. |
+| `disabled` | `false` | Disables the `red` module. |
+
+### Variables
+
+| Variável | Exemplo | Descrição |
+| --------- | -------- | ------------------------------------ |
+| version | `v2.5.1` | The version of `red` |
+| 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
+
+### Exemplo
+
+```toml
+# ~/.config/starship.toml
+
+[red]
+symbol = "🔴 "
+```
+
## Ruby
By default the `ruby` module shows the currently installed version of Ruby. The module will be shown if any of the following conditions are met:
@@ -2103,15 +2189,16 @@ By default the `ruby` module shows the currently installed version of Ruby. The
### Opções
-| Option | Padrão | Descrição |
-| ------------------- | ------------------------------------ | ------------------------------------------------ |
-| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
-| `symbol` | `"💎 "` | A format string representing the symbol of Ruby. |
-| `detect_extensions` | `["rb"]` | Which extensions should trigger this module. |
-| `detect_files` | `["Gemfile", ".ruby-version"]` | Which filenames should trigger this module. |
-| `detect_folders` | `[]` | Which folders should trigger this module. |
-| `style` | `"bold red"` | O estilo do módulo. |
-| `disabled` | `false` | Disables the `ruby` module. |
+| Option | Padrão | Descrição |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"💎 "` | A format string representing the symbol of Ruby. |
+| `detect_extensions` | `["rb"]` | Which extensions should trigger this module. |
+| `detect_files` | `["Gemfile", ".ruby-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"bold red"` | O estilo do módulo. |
+| `disabled` | `false` | Disables the `ruby` module. |
### Variables
@@ -2141,15 +2228,16 @@ By default the `rust` module shows the currently installed version of Rust. The
### Opções
-| Option | Padrão | Descrição |
-| ------------------- | ------------------------------------ | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
-| `symbol` | `"🦀 "` | A format string representing the symbol of Rust |
-| `detect_extensions` | `["rs"]` | Which extensions should trigger this module. |
-| `detect_files` | `["Cargo.toml"]` | Which filenames should trigger this module. |
-| `detect_folders` | `[]` | Which folders should trigger this module. |
-| `style` | `"bold red"` | O estilo do módulo. |
-| `disabled` | `false` | Disables the `rust` module. |
+| Option | Padrão | Descrição |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"🦀 "` | A format string representing the symbol of Rust |
+| `detect_extensions` | `["rs"]` | Which extensions should trigger this module. |
+| `detect_files` | `["Cargo.toml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"bold red"` | O estilo do módulo. |
+| `disabled` | `false` | Disables the `rust` module. |
### Variables
diff --git a/docs/pt-BR/faq/README.md b/docs/pt-BR/faq/README.md
index fa6c98003..2b3096c17 100644
--- a/docs/pt-BR/faq/README.md
+++ b/docs/pt-BR/faq/README.md
@@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
```sh
-curl -fsSL https://starship.rs/install.sh | bash -s -- --platform unknown-linux-musl
+sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
```
## I see symbols I don't understand or expect, what do they mean?
@@ -88,7 +88,7 @@ Starship is just as easy to uninstall as it is to install in the first place.
If Starship was installed using a package manager, please refer to their docs for uninstallation instructions.
-If Starship was installed using the `curl | bash` script, the following command will delete the binary:
+If Starship was installed using the install script, the following command will delete the binary:
```sh
# Locate and delete the starship binary
diff --git a/docs/pt-BR/guide/README.md b/docs/pt-BR/guide/README.md
index 5178f0abb..b2ecbb208 100644
--- a/docs/pt-BR/guide/README.md
+++ b/docs/pt-BR/guide/README.md
@@ -158,7 +158,7 @@
##### Binário pré-compilado, utilizando o shell:
```sh
- curl -fsSL https://starship.rs/install.sh | bash
+ sh -c "$(curl -fsSL https://starship.rs/install.sh)"
```
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
diff --git a/docs/pt-BR/installing/README.md b/docs/pt-BR/installing/README.md
index b72fae7f6..436555be2 100644
--- a/docs/pt-BR/installing/README.md
+++ b/docs/pt-BR/installing/README.md
@@ -32,7 +32,7 @@ pkg install getconf
### Installation
```sh
-curl -fsSL https://starship.rs/install.sh | bash -s -- -b /data/data/com.termux/files/usr/bin
+sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
```
## [Nix](https://nixos.wiki/wiki/Nix)