summaryrefslogtreecommitdiffstats
path: root/docs/pt-BR/config
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2022-02-07 15:53:55 +0100
committerGitHub <noreply@github.com>2022-02-07 15:53:55 +0100
commit1d965a9d24509d500954669b4e5fb08e54733411 (patch)
treed2d0714bad4ba9ac79a8a8385a690ad0e454c2a3 /docs/pt-BR/config
parentdb86a93824ae0ce985db463ea34807990b3b879b (diff)
docs(i18n): new Crowdin updates (#3460)
Diffstat (limited to 'docs/pt-BR/config')
-rw-r--r--docs/pt-BR/config/README.md855
1 files changed, 451 insertions, 404 deletions
diff --git a/docs/pt-BR/config/README.md b/docs/pt-BR/config/README.md
index 92e5c86cc..db695672d 100644
--- a/docs/pt-BR/config/README.md
+++ b/docs/pt-BR/config/README.md
@@ -9,14 +9,14 @@ mkdir -p ~/.config && touch ~/.config/starship.toml
Todas as configurações do starship são feitas neste arquivo [TOML](https://github.com/toml-lang/toml):
```toml
-#Insere uma linha vazia entre os prompts
+# Insere uma quebra de linha entre os prompts do shell
add_newline = true
-# Substitui o simbolo "❯" do prompt por "➜"
-[character] # O nome do módulo que nos estamos configurando é "character"
-success_symbol = "[➜](bold green)" # O seguimento do "success_symbol" é alterado para "➜" com a cor "bold green"
+# Substitui o símbolo "❯" no prompt por "➜"
+[character] # O nome do módulo que estamos configurando é "character"
+success_symbol = "[➜](bold green)" # O segmento "success_symbol" está sendo definido como "➜" com a cor "verde em negrito"
-# Desabilita o módulo de package, ocultando completamente do prompt
+# Desabilita o módulo do pacote, ocultando-o completamente do prompt
[package]
disabled = true
```
@@ -33,7 +33,7 @@ No PowerShell (Windows) você pode adicionar a seguinte linha no seu `$PROFILE`:
$ENV:STARSHIP_CONFIG = "$HOME\example\non\default\path\starship.toml"
```
-Or for Cmd (Windows) would be adding this line to your `starship.lua`:
+Ou para Cmd (Windows) seria adicionar esta linha no seu `starship.lua`:
```lua
os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\starship.toml')
@@ -41,7 +41,7 @@ os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\star
### Logging
-By default starship logs warnings and errors into a file named `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, where the session key is corresponding to a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable:
+Por padrão, o starship registra avisos e erros em um arquivo chamado `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, onde a chave de sessão corresponde a uma instância do seu terminal. Isso, no entanto, pode ser alterado usando a variável de ambiente `STARSHIP_CACHE`:
```sh
export STARSHIP_CACHE=~/.starship/cache
@@ -53,7 +53,7 @@ No PowerShell (Windows) você pode adicionar a seguinte linha no seu `$PROFILE`:
$ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
```
-Or for Cmd (Windows) would be adding this line to your `starship.lua`:
+Ou para Cmd (Windows) seria adicionar esta linha no seu `starship.lua`:
```lua
os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp')
@@ -61,21 +61,21 @@ os.setenv('STARSHIP_CACHE', 'C:\\Users\\user\\AppData\\Local\\Temp')
### Terminologia
-**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of Node.js that is currently installed on your computer, if your current directory is a Node.js project.
+**Módulo**: Um componente no prompt que fornece informações com base em informações contextuais do seu sistema operacional. Por exemplo, o módulo "nodejs" mostra a versão do Node.js que está atualmente instalada em seu computador, se seu diretório atual for um projeto Node.js.
-**Variable**: Smaller sub-components that contain information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of Node.js.
+**Variável**: Subcomponentes menores que contêm informações fornecidas pelo módulo. Por exemplo, a variável "version" no módulo "nodejs" contém a versão atual do Node.js.
-By convention, most modules have a prefix of default terminal color (e.g. `via` in "nodejs") and an empty space as a suffix.
+Por convenção, a maioria dos módulos tem um prefixo de cor de terminal padrão (ex., `via` em "nodejs") e um espaço vazio como sufixo.
### Formatação de Strings
-Format strings are the format that a module prints all its variables with. Most modules have an entry called `format` that configures the display format of the module. You can use texts, variables and text groups in a format string.
+As strings de formato são o formato com o qual um módulo imprime todas as suas variáveis. A maioria dos módulos tem uma entrada chamada `format` que configura o formato de exibição do módulo. Você pode usar textos, variáveis e grupos de texto em uma string de formato.
#### Variável
-A variable contains a `$` symbol followed by the name of the variable. The name of a variable can only contain letters, numbers and `_`.
+Uma variável contém um símbolo `$` seguido pelo nome da variável. O nome de uma variável pode conter apenas letras, números e `_`.
-For example:
+Por exemplo:
- `$version` é uma formatação de string com uma variável chamada `version`.
- `$git_branch$git_commit` é uma formatação de string com duas variáveis chamadas `git_branch` e `git_commit`.
@@ -83,13 +83,13 @@ For example:
#### Grupo de Texto
-A text group is made up of two different parts.
+Um grupo de texto é composto de duas partes diferentes.
-The first part, which is enclosed in a `[]`, is a [format string](#format-strings). You can add texts, variables, or even nested text groups in it.
+A primeira parte, que está entre um `[]`, é uma [string de formato](#format-strings). Você pode adicionar textos, variáveis ou até mesmo grupos de texto aninhados nele.
-In the second part, which is enclosed in a `()`, is a [style string](#style-strings). This can be used to style the first part.
+Na segunda parte, que está dentro de um `()`, está uma [string de estilo](#style-strings). Isso pode ser usado para estilizar a primeira parte.
-For example:
+Por exemplo:
- `[on](red bold)` vai imprimir uma string `on` com texto em negrito e com a cor vermelha.
- `[⌘ $version](bold green)` vai imprimir o simbolo `⌘` seguido pela variável `version`, com o texto em negrito e na cor verde.
@@ -97,7 +97,7 @@ For example:
#### Estilo dos textos
-Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/).
+A maioria dos módulos no starship permite que você configure seus estilos de exibição. Isso é feito com uma entrada (normalmente chamada de `estilo`) que é uma string especificando a configuração. Aqui estão alguns exemplos de strings de estilo junto com o que elas fazem. Para obter detalhes sobre a sintaxe completa, consulte o [guia de configuração avançada](/advanced-config/).
- `"fg:green bg:blue"` deixa o texto verde com o fundo azul
- `"bg:blue fg:bright-green"` deixa o texto verde brilhante com o fundo azul
@@ -106,13 +106,13 @@ Most modules in starship allow you to configure their display styles. This is do
- `"bold italic fg:purple"` deixa o texto em negrito e itálico com a cor roxa
- `""` desabilita explicitamente todos os estilos
-Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics.
+Observe que a aparência do estilo será controlada pelo emulador de terminal. Por exemplo, alguns emuladores de terminal irão clarear as cores em vez de colocar o texto em negrito, e alguns temas de cores usam os mesmos valores para as cores normais e brilhantes. Além disso, para obter texto em itálico, seu terminal deve suportar itálico.
#### Formatação de String Condicional
-A conditional format string wrapped in `(` and `)` will not render if all variables inside are empty.
+Uma string de formato condicional envolta de `(` e `)` não será renderizada se todas as variáveis internas estiverem vazias.
-For example:
+Por exemplo:
- `(@$region)` não vai exibir nada caso a variável `region` seja `None` ou vazia, caso contrario vai exibir `@` seguido pelo valor da variável region.
- `(texto qualquer)` não vai exibir nada sempre, pois não existe variável entre os parenteses.
@@ -120,22 +120,22 @@ For example:
#### Caracteres Especiais
-The following symbols have special usage in a format string and must be escaped: `$ \ [ ] ( )`.
+Os seguintes símbolos têm uso especial em uma string de formato e devem ser evitados: `$ \ [ ] ( )`.
-Note that TOML has [both basic strings and literal strings](https://toml.io/en/v1.0.0#string). It is recommended to use a literal string (surrounded by single quotes) in your config. If you want to use a basic string (surrounded by double quotes), you must escape the backslash itself (i.e. use `\\`).
+Observe que o TOML tem [strings básicas e strings literais](https://toml.io/en/v1.0.0#string). É recomendado usar uma string literal (entre aspas simples) em seu config. Se você quiser usar uma string básica (entre aspas duplas), você deve escapar da própria barra invertida (ou seja, use `\\`).
-For example, when you want to print a `$` symbol on a new line, the following configs for `format` are equivalent:
+Por exemplo, quando você deseja imprimir um símbolo `$` em uma nova linha, as seguintes configurações para `format` são equivalentes:
```toml
-# with basic string
+# com string básica
format = "\n\\$"
-# with multiline basic string
+# com string básica multilinha
format = """
\\$"""
-# with literal string
+# com string literal
format = '''
\$'''
@@ -143,7 +143,7 @@ format = '''
## Prompt de Comando
-This is the list of prompt-wide configuration options.
+Esta é a lista de opções de configuração em todo o prompt.
### Opções
@@ -155,7 +155,6 @@ This is the list of prompt-wide configuration options.
| `command_timeout` | `500` | Tempo limite de execução de comandos pelo starship (em milissegundos). |
| `add_newline` | `true` | Insere linha vazia entre os prompts do shell. |
-
### Exemplo
```toml
@@ -167,24 +166,25 @@ format = """
[│](bold green)$directory$rust$package
[└─>](bold green) """
-# Wait 10 milliseconds for starship to check files under the current directory.
+# Espera 10 milliseconds para que o starship verifique os arquivos no diretório atual.
scan_timeout = 10
-# Disable the blank line at the start of the prompt
+# Remove a quebra de linha no início do prompt
add_newline = false
```
### Format de Prompt Padrão
-The default `format` is used to define the format of the prompt, if empty or no `format` is provided. The default is as shown:
+O padrão `format` é usado para definir o formato do prompt, se estiver vazio ou nenhum `format` for fornecido. O padrão é como mostrado:
```toml
format = "$all"
-# Which is equivalent to
+# Equivalente a
format = """
$username\
$hostname\
+$localip\
$shlvl\
$singularity\
$kubernetes\
@@ -200,6 +200,7 @@ $docker_context\
$package\
$cmake\
$cobol\
+$container\
$dart\
$deno\
$dotnet\
@@ -251,22 +252,22 @@ $shell\
$character"""
```
-If you just want to extend the default format, you can use `$all`; modules you explicitly add to the format will not be duplicated. Eg.
+Se você quiser apenas estender o formato padrão, você pode usar `$all`; os módulos que você adicionar explicitamente ao formato não serão duplicados. Ex.
```toml
-# Move the directory to the second line
-format="$all$directory$character"
+# Move o diretório para a segunda linha
+format = "$all$directory$character"
```
## AWS
-The `aws` module shows the current AWS region and profile. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file. This module also shows an expiration timer when using temporary credentials.
+O módulo `aws` exibi a região e perfil atual do AWS. Isto é baseado nas variáveis de env `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` contidas no arquivo `~/.aws/config`. Este modulo exibi também tempo de expiração de credenciais temporarias.
-When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var and the credentials expiration date is read from the `AWS_SESSION_EXPIRATION` env var.
+Quando usar [aws-vault](https://github.com/99designs/aws-vault) o perfil é lido da variável `AWS_VAULT` e o tempo de expiração de credenciais é lida da variável de env `AWS_SESSION_EXPIRATION`.
-When using [awsu](https://github.com/kreuzwerker/awsu) the profile is read from the `AWSU_PROFILE` env var.
+Quando usar [awsu](https://github.com/kreuzwerker/awsu) o perfil é lido da varável de env `AWSU_PROFILE`.
-When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFILE` env var and the credentials expiration date is read from the `AWSUME_EXPIRATION` env var.
+Quando usar [AWSume](https://awsu.me) o perfil é lido da variável `AWSUME_PROFILE` e o tempo de expiração de credenciais é lida da variável de env `AWSUME_EXPIRATION`.
### Opções
@@ -277,7 +278,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL
| `region_aliases` | | Tabela de aleases de regiões a serem exibidas, além do nome da AWS. |
| `style` | `"bold yellow"` | O estilo do módulo. |
| `expiration_symbol` | `X` | O simbolo exibido quando as credenciais temporárias estão expiradas. |
-| `disabled` | `false` | Desabilita o modulo `AWS`. |
+| `disabled` | `false` | Desabilita o módulo `AWS`. |
### Variáveis
@@ -289,7 +290,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplos
@@ -299,7 +300,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL
# ~/.config/starship.toml
[aws]
-format = 'on [$symbol($profile )(\($region\) )]($style)'
+format = 'em [$symbol($profile )(\($region\) )]($style)'
style = "bold blue"
symbol = "🅰 "
[aws.region_aliases]
@@ -313,7 +314,7 @@ us-east-1 = "va"
# ~/.config/starship.toml
[aws]
-format = "on [$symbol$region]($style) "
+format = "em [$symbol$region]($style) "
style = "bold blue"
symbol = "🅰 "
[aws.region_aliases]
@@ -327,14 +328,14 @@ us-east-1 = "va"
# ~/.config/starship.toml
[aws]
-format = "on [$symbol$profile]($style) "
+format = "em [$symbol$profile]($style) "
style = "bold blue"
symbol = "🅰 "
```
## Azure
-The `azure` module shows the current Azure Subscription. This is based on showing the name of the default subscription, as defined in the `~/.azure/azureProfile.json` file.
+O módulo `azure` exibe a assinatura Azure atual. Isto é baseado na exibição do nome da assinatura padrão, como definido no arquivo em `~/.azure/azureProfile.json`.
### Opções
@@ -352,14 +353,14 @@ The `azure` module shows the current Azure Subscription. This is based on showin
[azure]
disabled = false
-format = "on [$symbol($subscription)]($style) "
+format = "em [$symbol($subscription)]($style) "
symbol = "ﴃ "
style = "blue bold"
```
## Bateria
-The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
+O módulo `battery` exibe o quanto a bateria do dispositivo está carregada e o estado atual de carregamento. O módulo é visível somente quando a bateria está abaixo de 10%.
### Opções
@@ -387,7 +388,7 @@ discharging_symbol = "💀 "
### Indicador de bateria
-The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. The default is as shown:
+A configuração `display` é usada para definir quando o indicador de bateria deve ser exibido (threshold), qual deve ser o simbolo(symbol) e como você gostaria de exibir (style). Se nenhum `display` for fornecido. O padrão é como mostrado:
```toml
[[battery.display]]
@@ -395,11 +396,11 @@ 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.
+O valor padrão das opções `charging_symbol` e `discharging_symbol`é respectivamente o valor das opções `battery`'s `charging_symbol` e `discharging_symbol`.
#### Opções
-The `display` option is an array of the following table.
+A opção `display` é um array da seguinte tabela.
| Opções | Padrão | Descrição |
| -------------------- | ---------- | -------------------------------------------------------------------------------------------------- |
@@ -411,37 +412,36 @@ The `display` option is an array of the following table.
#### Exemplo
```toml
-[[battery.display]] # "bold red" style and discharging_symbol 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 and 💦 symbol 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
-
```
## Caractere
-The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
+O módulo `character` exibe um caracter (normalmente uma seta) ao lado de onde o texto começa a ser inserido no terminal.
-The character will tell you whether the last command was successful or not. It can do this in two ways:
+O caractere vai te dizer se o ultimo comando foi bem sucedido ou não. Você pode fazer isto de duas maneiras:
- alterando a cor (`red`/`green`)
- alterando a forma (`❯`/`✖`)
-By default it only changes color. If you also want to change its shape take a look at [this example](#with-custom-error-shape).
+Por padrão ele apenas muda de cor. Se você deseja alterar o formato de uma olhada [neste exemplo](#with-custom-error-shape).
-::: warning
+::: atenção
-`error_symbol` is not supported on nu shell.
+`error_symbol` não é suportado pelo nu shell.
:::
-::: warning
+::: atenção
`vicmd_symbol` is only supported in cmd, fish and zsh.
@@ -496,7 +496,7 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of [CMake](https://cmake.org/). By default the module will be activated if any of the following conditions are met:
+O módulo `cmake` exibe a versão instalada do [CMake](https://cmake.org/). Por padrão o módulo será ativo se qualquer das condições a seguir for atendida:
- O diretorio atual cotem um arquivo `CMakeLists.txt`
- O diretorio atual tem um arquivo `CMakeCache.txt`
@@ -522,11 +522,11 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
## COBOL / GNUCOBOL
-The `cobol` module shows the currently installed version of COBOL. By default, the module will be shown if any of the following conditions are met:
+O módulo `cobol` exibe a versão instalada atual do COBOL. Por padrão, o módulo será exibido se qualquer das seguintes condições for atendida:
- O diretório atual tem qualquer arquivo com extensão `.cob` or `.COB`
- O diretório atual tenham qualquer arquivo com extensão `.cbl` or `.CBL`
@@ -552,37 +552,32 @@ The `cobol` module shows the currently installed version of COBOL. By default, t
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
## Tempo de execução do comando
-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.
+O módulo `cmd_duration` exibi o tempo que o ultimo comando levou para executar. O módulo vai exibir somente se o comando levar mais de dois segundos, ou o valor de configuração `min_time` existir.
-::: warning Do not hook the DEBUG trap in Bash
+::: warning Não utilize o DEBUG-trap no 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.
+Se você esta rodando o Starship no `bash`, você não deve ativar a armadilha `DEBUG` após rodar `eval $(starship init $0)`, ou este módulo **vai** quebrar.
:::
-Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
+Usuários do bash que precisam de funções pre-executadas podem usar [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simplesmente defina os arrays `preexec_functions` e `precmd_functions` antes de rodar `eval $(starship init $0)`, e depois pode proceder normalmente.
### Opções
-| Opções | Padrão | Descrição |
-| -------------------- | ----------------------------- | ------------------------------------------------------------- |
-| `min_time` | `2_000` | Duração mais curta para exibir o tempo (em milissegundos). |
-| `show_milliseconds` | `false` | Exibir milissegundos ou invés de segundos para duração. |
-| `format` | `"took [$duration]($style) "` | O formato do módulo. |
-| `style` | `"bold yellow"` | O estilo do módulo. |
-| `disabled` | `false` | Desabilita o módulo `cmd_duration`. |
-| `show_notifications` | `false` | Exibi notificações no desktop quando o comando for concluído. |
-| `min_time_to_notify` | `45_000` | Tempo minimo para notificação (em milissegundos). |
-
-::: tip
-
-Showing desktop notifications requires starship to be built with `notify-rust` support. You check if your starship supports notifications by running `STARSHIP_LOG=debug starship module cmd_duration -d 60000` when `show_notifications` is set to `true`.
-
-:::
+| Opções | Padrão | Descrição |
+| ---------------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `min_time` | `2_000` | Duração mais curta para exibir o tempo (em milissegundos). |
+| `show_milliseconds` | `false` | Exibir milissegundos ou invés de segundos para duração. |
+| `format` | `"took [$duration]($style) "` | O formato do módulo. |
+| `style` | `"bold yellow"` | O estilo do módulo. |
+| `disabled` | `false` | Desabilita o módulo `cmd_duration`. |
+| `show_notifications` | `false` | Exibi notificações no desktop quando o comando for concluído. |
+| `min_time_to_notify` | `45_000` | Tempo minimo para notificação (em milissegundos). |
+| `notification_timeout` | | Duration to show notification for (in milliseconds). If unset, notification timeout will be determined by daemon. Not all notification daemons honor this option. |
### Variáveis
@@ -591,7 +586,7 @@ Showing desktop notifications requires starship to be built with `notify-rust` s
| duration | `16m40s` | O tempo que levou para executar o comando |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -600,16 +595,16 @@ Showing desktop notifications requires starship to be built with `notify-rust` s
[cmd_duration]
min_time = 500
-format = "underwent [$duration](bold yellow)"
+format = "levou [$duration](bold yellow)"
```
## Conda
-The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) environment, if `$CONDA_DEFAULT_ENV` is set.
+O módulo `conda` exibe o ambiente atual do [Conda](https://docs.conda.io/en/latest/), se o `$CONDA_DEFAULT_ENV` estiver definido.
-::: tip
+::: dica
-This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
+Isso não suprime o modificador de prompt do conda, você pode executar `conda config --set changeps1 False`.
:::
@@ -632,7 +627,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -643,9 +638,41 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c
format = "[$symbol$environment](dimmed green) "
```
+## Container
+
+The `container` module displays a symbol and container name, if inside a container.
+
+### Opções
+
+| Opções | Padrão | Descrição |
+| ---------- | ------------------------------------ | ----------------------------------------- |
+| `symbol` | `"⬢"` | The symbol shown, when inside a container |
+| `style` | `"bold red dimmed"` | O estilo do módulo. |
+| `format` | "[$symbol \\[$name\\]]($style) " | O formato do módulo. |
+| `disabled` | `false` | Desabilita o módulo `container`. |
+
+### Variáveis
+
+| Variável | Exemplo | Descrição |
+| --------- | ------------------- | ---------------------------------- |
+| name | `fedora-toolbox:35` | The name of the container |
+| symbol | | Espelha o valor da opção `símbolo` |
+| style\* | | Espelha o valor da opção `style` |
+
+*: Esta variável só pode ser usada como parte de uma string de estilo
+
+### Exemplo
+
+```toml
+# ~/.config/starship.toml
+
+[container]
+format = "[$symbol \\[$name\\]]($style) "
+```
+
## Crystal
-The `crystal` module shows the currently installed version of [Crystal](https://crystal-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
+O módulo `crystal` exibe a versão instalada atual do [Crystal](https://crystal-lang.org/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
- O diretório atual contem um arquivo `shard.yml`
- O diretório atual contem um arquivo `.cr`
@@ -654,7 +681,7 @@ The `crystal` module shows the currently installed version of [Crystal](https://
| Opções | Padrão | Descrição |
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------ |
-| `symbol` | `"🔮 "` | O simbolo usado antes de exibir a versão do crystal. |
+| `symbol` | `"🔮 "` | O símbolo usado antes de exibir a versão do crystal. |
| `format` | `"via [$symbol($version )]($style)"` | O formato do módulo. |
| `version_format` | `"v${raw}"` | O formato da versão. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` |
| `style` | `"bold red"` | O estilo do módulo. |
@@ -671,7 +698,7 @@ The `crystal` module shows the currently installed version of [Crystal](https://
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -684,7 +711,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of [Dart](https://dart.dev/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
+O módulo `dart` exibe a versão atual instalada do [Dart](https://dart.dev/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
- O diretório atual contem algum arquivo com extensão `.dart`
- O diretório atual contem um diretório `.dart_tool`
@@ -711,7 +738,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -724,7 +751,8 @@ format = "via [🔰 $version](bold red) "
## Deno
-The `deno` module shows you your currently installed version of [Deno](https://deno.land/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
+O módulo `deno` exibe a versão instalada atual do [Deno](https://deno.land/). Por padrão o módulo vai exibir se uma das condições a seguir for atendida:
+
- O diretório atual tenha um arquivo `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js`
### Opções
@@ -759,11 +787,11 @@ 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.
+O módulo `directory` exibe o caminho do diretório atual, truncando as três pastas pai. Seu diretório será truncando na raiz do repositório git que você estiver atualmente.
-When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
+Quando usar a opção de estilo fish pwd, ao invés de esconder o caminho que é truncado, você vai ver um nome encurtado de cada diretório baseado no número que você habilitar para a opção.
-For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
+Por exemplo, dado `~/Dev/Nix/nixpkgs/pkgs` onde `nixpkgs` é o repositório raiz e a opção esta definida para `1`. Você verá `~/D/N/nixpkgs/pkgs`, enquanto antes seria `nixpkgs/pkgs`.
### Opções
@@ -782,7 +810,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| `use_os_path_sep` | `true` | Use o separador especifico do SO em vez de sempre usar `/` (ex: `\` no Windows) |
<details>
-<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
+<summary>Este módulo tem algumas configurações avançadas que controlam como o diretório é exibido.</summary>
| Opções Avançadas | Padrão | Descrição |
| --------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -790,7 +818,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| `fish_style_pwd_dir_length` | `0` | O número de caracteres para usar quando aplicado no path logico do fish shell pwd. |
| `use_logical_path` | `true` | Se `true` exibe um caminho lógico originado do shell via `PWD` ou`--logical-path`. Se `false` em vez disso, exibe o caminho do filesystem com os symlinks resolvidos. |
-`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories (i.e. Java). Note that this will disable the fish style PWD.
+`substitutions` aceita você definir substituições arbitrarias para strings literais que ocorra no path, por exemplo prefixos de rede longos ou diretórios de desenvolvimento (ex:. Java). Note isto irá desabilita o estilo PWD do fish.
```toml
[directory.substitutions]
@@ -798,7 +826,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
"src/com/long/java/path" = "mypath"
```
-`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`.
+`fish_style_pwd_dir_length` interage com as opções de truncação padrão de uma forma que pode suprimir no começo: se não for zero, os componentes do path que normalmente seriam truncados são exibidos com todos caracteres. Por exemplo, o caminho `/built/this/city/on/rock/and/roll`, que normalmente seria exibido como`rock/and/roll`, seria exibido como `/b/t/c/o/rock/and/roll` com`fish_style_pwd_dir_length = 1`--os componentes de path que normalmente seriam removidos são exibidos com um único caractere. Para `fish_style_pwd_dir_length = 2`, seria `/bu/th/ci/on/rock/and/roll`.
</details>
@@ -806,10 +834,10 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| Variável | Exemplo | Descrição |
| --------- | --------------------- | -------------------------------- |
-| path | `"D:/Projects"` | O caminho do diretório atual |
+| path | `"D:/Projetos"` | O caminho do diretório atual |
| style\* | `"black bold dimmed"` | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -823,7 +851,7 @@ truncation_symbol = "…/"
## Docker Context
-The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default` or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
+O módulo `docker_context` exibe o [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) ativo atualmente se não estiver definido como `default` ou se as variáveis de ambiente `DOCKER_MACHINE_NAME`, `DOCKER_HOST` ou `DOCKER_CONTEXT` estiverem definidas (iram sobrescrever o contexto atual).
### Opções
@@ -846,7 +874,7 @@ The `docker_context` module shows the currently active [Docker context](https://
| symbol | | Espelha o valor da opção `símbolo` |
| style\* | | Espelha o valor da opção `style` |
-\*: Essa variável só pode ser usada como parte de uma string de estilo
+*: Esta variável só pode ser usada como parte de uma string de estilo
### Exemplo
@@ -859,9 +887,9 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-The `dotnet` module shows the relevant version of the [.NET Core SDK](https://dotnet.microsoft.com/) for the current directory. If the SDK has been pinned in the current directory, the pinned version is shown. Otherwise the module shows the latest installed version of the SDK.
+O módulo `dotnet` exibe a versão relevante do [.NET Core SDK](https://dotnet.microsoft.com/) para a pasta atual. Se o SDK foi fixado na pasta atual, a versão será exibida. Caso contrario será exibida a ultima versão instalada do SDK.
-By default this module will only be shown in your prompt when one or more of the following files are present in the current directory:
+Por padrão o módulo vai apenas exibir no seu prompt quando um ou mais dos seguintes arquivos estiverem presente no diretório:
- `global.json`
- `project.json`
@@ -872,11 +900,11 @@ By default this module will only be shown in your prompt when one or more of the
- `*.fsproj`
- `*.xproj`
-You'll also need the .NET Core SDK installed in order to use it correctly.
+Você também precisa do .NET Core SDK instalado para usá-lo corretamente.
-Internally, this module uses its own mechanism for version detection. Typically it is twice as fast as running `dotnet --version`, but it may show an incorrect version if your .NET project has an unusual directory layout. If accuracy is more important than speed, you can disable the mechanism by setting `heuristic = false` in the module options.
+Internamente, este módulo usa seu próprio mecanismo de detecção de versão. Normalmente é duas vezes mais rápido que executar `dotnet --version`, mas pode exibir uma versão errado se o projeto .NET tiver o layout de diretório incomum. Se a precisão é mais importante que velocidade, você pode desabilitar o mecanismo definindo `heuristic = false` nas opções do modulo.
-The module will also show the Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) when there is a csproj file in the current directory.
+O módulo também vai exibir o Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) quando o diretório atual tiver o arquivo csproj.
### Opções
@@ -884,7 +912,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | O formato do módulo. |
| `version_format` | `"v${raw}"` | O formato da versão. As variáveis disponíveis são `raw`, `major`, `minor`, & `patch` |
-| `symbol` | `".NET "` | O simbolo usado antes de exibir a versão do dotnet. |
+| `symbol` | `".NET "`