Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.19 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.19 KB

solarfish

MIT License Fish Shell Version

A git-aware two-line fish shell theme. Inspired by simple-ass-prompt and the default bash prompt.

shell theme screenshot

Features

  • 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)

Install

Using fisher:

fisher install thesilican/solarfish

Using oh my fish:

omf install solarfish

Configuration

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