mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-18 11:05:19 +00:00
.. | ||
advanced-config | ||
config | ||
faq | ||
guide | ||
presets | ||
README.md |
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 | bash
Installer via le gestionnaire de paquets
Avec Homebrew:
brew install starship
Avec 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 | source
Zsh
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.ps1
sur -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)