starship

The cross-shell prompt — starship.toml.

starship.toml
 

How to use it

  1. Install starship: curl -sS https://starship.rs/install.sh | sh
  2. Save this file as ~/.config/starship.toml
  3. Add the init line to your shell rc, then open a new shell:
  4. bash: eval "$(starship init bash)" · zsh: eval "$(starship init zsh)"
  5. fish: starship init fish | source
  6. Nerd Font icons need a Nerd Font (https://nerdfonts.com); turn them off for plain text.