A git-aware two-line fish shell theme. Inspired by simple-ass-prompt and the default bash prompt.
- Two-line prompt
- Git status icons: dirty
*
, staged+
, ahead↑
, behind↓
, diverged⥄
- Previous command status (prompt turns red on error)
- Root user indicator (username turns red when running as root)
- Remote host indicator (hostname turns red when running under a ssh connection)
Using fisher:
fisher install thesilican/solarfish
Using oh my fish:
omf install solarfish
Add any of the following lines to ~/.config/fish/config.fish
# Display a shortened directory path
set -g theme_short_path yes
# Disable the git indicator
set -g theme_no_git_indicator yes