mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56:28 +00:00
45a45baffa
* 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)
365 lines
5.8 KiB
Markdown
365 lines
5.8 KiB
Markdown
# Predefinições
|
|
|
|
Aqui tem uma coleção de predefinições de configuração criadas pela comunidade de Starship. Se você tem uma predefinição para compartilhar, por favor, [envie uma PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) atualizando este arquivo! 😊
|
|
|
|
## Símbolos Nerd Font
|
|
|
|
Essa predefinição não altera nada exceto os símbolos usados para cada módulo. Se você não gosta de emojis, isso pode chamar sua atenção!
|
|
|
|
![Captura de tela da predefinição Nerd Font Symbols](/presets/nerd-font-symbols.png)
|
|
|
|
### Pré-requisitos
|
|
|
|
- Uma [Nerd Font](https://www.nerdfonts.com/) instalada e funcionando no seu terminal (o exemplo utiliza Fira Code Nerd Font)
|
|
|
|
### Configuração
|
|
|
|
```toml
|
|
[aws]
|
|
symbol = " "
|
|
|
|
[conda]
|
|
symbol = " "
|
|
|
|
[dart]
|
|
symbol = " "
|
|
|
|
[directory]
|
|
read_only = " "
|
|
|
|
[docker_context]
|
|
symbol = " "
|
|
|
|
[elixir]
|
|
symbol = " "
|
|
|
|
[elm]
|
|
symbol = " "
|
|
|
|
[git_branch]
|
|
symbol = " "
|
|
|
|
[golang]
|
|
symbol = " "
|
|
|
|
[hg_branch]
|
|
symbol = " "
|
|
|
|
[java]
|
|
symbol = " "
|
|
|
|
[julia]
|
|
symbol = " "
|
|
|
|
[memory_usage]
|
|
symbol = " "
|
|
|
|
[nim]
|
|
symbol = " "
|
|
|
|
[nix_shell]
|
|
symbol = " "
|
|
|
|
[package]
|
|
symbol = " "
|
|
|
|
[perl]
|
|
symbol = " "
|
|
|
|
[php]
|
|
symbol = " "
|
|
|
|
[python]
|
|
symbol = " "
|
|
|
|
[ruby]
|
|
symbol = " "
|
|
|
|
[rust]
|
|
symbol = " "
|
|
|
|
[scala]
|
|
symbol = " "
|
|
|
|
[shlvl]
|
|
symbol = " "
|
|
|
|
[swift]
|
|
symbol = "ﯣ "
|
|
```
|
|
|
|
## Seguimentos entre colchetes
|
|
|
|
Está configuração altera o formato de todos os módulos integrados para que usem colchetes ao mostrar o seguimento ao invés de usar texto padrão do Starship ("via", "on", etc.).
|
|
|
|
Antes:
|
|
|
|
![Captura de tela da configuração padrão do Starship](/presets/bracketed-segments-before.png)
|
|
|
|
Depois:
|
|
|
|
![Captura de tela de segmentos predefinidos](/presets/bracketed-segments-after.png)
|
|
|
|
### Configuração
|
|
|
|
```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)\]'
|
|
|
|
[erlang]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[gcloud]
|
|
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
|
|
[git_branch]
|
|
format = '\[[$symbol$branch]($style)\]'
|
|
|
|
[git_status]
|
|
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
|
|
[golang]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[helm]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[hg_branch]
|
|
format = '\[[$symbol$branch]($style)\]'
|
|
|
|
[java]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[julia]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[kotlin]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[kubernetes]
|
|
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
|
|
[lua]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[memory_usage]
|
|
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
|
|
[nim]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[nix_shell]
|
|
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
|
|
[nodejs]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[ocaml]
|
|
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
|
|
[openstack]
|
|
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
|
|
[package]
|
|
format = '\[[$symbol$version]($style)\]'
|
|
|
|
[perl]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[php]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[purescript]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[python]
|
|
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
|
|
[red]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[ruby]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[rust]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[scala]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[swift]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[terraform]
|
|
format = '\[[$symbol$workspace]($style)\]'
|
|
|
|
[time]
|
|
format = '\[[$time]($style)\]'
|
|
|
|
[username]
|
|
format = '\[[$user]($style)\]'
|
|
|
|
[vagrant]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[vlang]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
|
|
[zig]
|
|
format = '\[[$symbol($version)]($style)\]'
|
|
```
|
|
|
|
## Símbolos de texto simples
|
|
|
|
Esta predefinição altera os símbolos em texto simples. Se seu terminal/fonte não consegue renderizar os NerdFonts/emojis, talvez você pode tentar esta predefinição!
|
|
|
|
Antes( configuração padrão com fonte ajustada):
|
|
|
|
![Captura de tela do padrão da configuração Starship com fonte Fixedsys ](/presets/plain-text-symbols-before.png)
|
|
|
|
Após(Símbolos de Textos Simples):
|
|
|
|
![Captura de tela da predefinição de símbolos de texto simples](/presets/plain-text-symbols-after.png)
|
|
|
|
### Configuração
|
|
|
|
```toml
|
|
[character]
|
|
success_symbol = "[>](bold green)"
|
|
error_symbol = "[x](bold red)"
|
|
vicmd_symbol = "[<](bold green)"
|
|
|
|
[git_commit]
|
|
tag_symbol = " tag "
|
|
|
|
[git_status]
|
|
ahead = ">"
|
|
behind = "<"
|
|
diverged = "<>"
|
|
renamed = "r"
|
|
deleted = "x"
|
|
|
|
[aws]
|
|
symbol = "aws "
|
|
|
|
[conda]
|
|
symbol = "conda "
|
|
|
|
[crystal]
|
|
symbol = "cr "
|
|
|
|
[cmake]
|
|
symbol = "cmake "
|
|
|
|
[dart]
|
|
symbol = "dart "
|
|
|
|
[deno]
|
|
symbol = "deno "
|
|
|
|
[dotnet]
|
|
symbol = ".NET "
|
|
|
|
[directory]
|
|
read_only = " ro"
|
|
|
|
[docker_context]
|
|
symbol = "docker "
|
|
|
|
[elixir]
|
|
symbol = "exs "
|
|
|
|
[elm]
|
|
symbol = "elm "
|
|
|
|
[git_branch]
|
|
symbol = "git "
|
|
|
|
[golang]
|
|
symbol = "go "
|
|
|
|
[hg_branch]
|
|
symbol = "hg "
|
|
|
|
[java]
|
|
symbol = "java "
|
|
|
|
[julia]
|
|
symbol = "jl "
|
|
|
|
[kotlin]
|
|
symbol = "kt "
|
|
|
|
[nodejs]
|
|
symbol = "nodejs "
|
|
|
|
[memory_usage]
|
|
symbol = "memory "
|
|
|
|
[nim]
|
|
symbol = "nim "
|
|
|
|
[nix_shell]
|
|
symbol = "nix "
|
|
|
|
[ocaml]
|
|
symbol = "ml "
|
|
|
|
[package]
|
|
symbol = "pkg "
|
|
|
|
[perl]
|
|
symbol = "pl "
|
|
|
|
[php]
|
|
symbol = "php "
|
|
|
|
[purescript]
|
|
symbol = "purs "
|
|
|
|
[python]
|
|
symbol = "py "
|
|
|
|
[ruby]
|
|
symbol = "rb "
|
|
|
|
[rust]
|
|
symbol = "rs "
|
|
|
|
[scala]
|
|
symbol = "scala "
|
|
|
|
[swift]
|
|
symbol = "swift "
|
|
```
|