A cool prompt for your shell.
$ brew install starship
Add the following to the end of ~/.bashrc:
# ~/.bashrc
eval "$(starship init bash)"
You can configure A WHOLE LOT, this is my current configuration (~/.config/starship.toml
):
# REF: https://starship.rs/
# REF: https://starship.rs/config/
[package]
disabled = true
# REF: https://starship.rs/config/#status
[status]
disabled = false
# REF: https://starship.rs/config/#git-status
[git_status]
conflicted = "👿"
ahead = "🏎💨"
behind = "😰"
diverged = "😵"
untracked = "🤷"
stashed = "📦"
modified = "📝"
staged = '[++\($count\)](green)'
deleted = "🗑"