mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
2.5 KiB
2.5 KiB
home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | The cross-shell prompt for astronauts | Commencez → | ./guide/ |
|
ISC licencié | Copyright © 2019-present Starship Contributors | Starship: Cross-Shell Prompt | Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell. |
Installation
-
Installer le binaire starship :
Installer la dernière version
Avec Shell:
curl -fsSL https://starship.rs/install.sh | bashInstaller via le gestionnaire de paquets
Avec Homebrew:
brew install starshipAvec Scoop:
scoop install starship -
Ajouter le script d'initialization à la fiche config de votre shell:
Bash
Ajouter ce qui suit à la fin de
~/.bashrc:# ~/.bashrc eval "$(starship init bash)"Fish
Ajoute ce qui suit à la fin de
~/.config/fish/config.fish:# ~/.config/fish/config.fish starship init fish | sourceZsh
Ajouter ce qui suit à la fin de
~/.zshrc:# ~/.zshrc eval "$(starship init zsh)"Powershell
Ajouter ce qui suit à la fin de
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1(ou~/.config/powershell/Microsoft.PowerShell_profile.ps1sur -Nix):# ~\Documents\PowerShell\Profile.ps1 Invoke-Expression (&starship init powershell)Ion
Ajouter ce qui suit à la fin de
~/.config/ion/initrc:# ~/.config/ion/initrc eval $(starship init ion)