mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | O prompt minimalista, extremamente rápido e infinitamente personalizável para qualquer shell! | Primeiros passos → | ./guide/ |
|
Licenciado pelo ISC | Todos os direitos reservados © 2019-Presente | Contribuidores Starship | Starship: Cross-Shell Prompt | O Starship é o prompt minimalista, extremamente rápido e extremamente personalizável para qualquer shell! Mostra as informações que você precisa, mantendo-se elegante e minimalista. Instalação rápida disponível para Bash, Fish, ZSH, Ion e Powershell. |
Instalação
-
Instale o binário do starship:
Instalar a última versão
Com o Shell:
curl -fsSL https://starship.rs/install.sh | bashInstalar via Gerenciador de Pacotes
Com o Homebrew:
brew install starshipCom o Scoop:
scoop install starship -
Adicione o script de inicialização ao arquivo de configuração do shell:
Bash
Adicione o seguinte comando no final do arquivo
~/.bashrc:# ~/.bashrc eval "$(starship init bash)"Fish
Adicione o seguinte comando no final do arquivo
~/.config/fish/config.fish:# ~/.config/fish/config.fish starship init fish | sourceZsh
Adicione o seguinte comando no final do arquivo
~/.zshrc:# ~/.zshrc eval "$(starship init zsh)"Powershell
Adicione o seguinte comando no final do arquivo
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1(ou~/.config/powershell/Microsoft.PowerShell_profile.ps1em -Nix):# ~\Documents\PowerShell\Profile.ps1 Invoke-Expression (&starship init powershell)Ion
Adicione o seguinte comando no final do arquivo
~/.config/ion/initrc:# ~/.config/ion/initrc eval $(starship init ion)