My personal starship configuration.
- starship — Install from starship.rs
Preview the installation script:
curl -fsSL https://raw.githubusercontent.com/Maelkiz/starship-config/main/install.sh | lessAfter verifying install the config:
curl -fsSL https://raw.githubusercontent.com/Maelkiz/starship-config/main/install.sh | shMake your shell initialize starship on startup::
# Bash
grep -qxF 'eval "$(starship init bash)"' ~/.bashrc || echo 'eval "$(starship init bash)"' >> ~/.bashrc
source ~/.bashrc# Zsh
grep -qxF 'eval "$(starship init zsh)"' ~/.zshrc || echo 'eval "$(starship init zsh)"' >> ~/.zshrc
source ~/.zshrc# Fish
mkdir -p ~/.config/fish
grep -qxF 'starship init fish | source' ~/.config/fish/config.fish || echo 'starship init fish | source' >> ~/.config/fish/config.fish
source ~/.config/fish/config.fish