Port of the
pure
ZSH theme to Fish.
fisher install pure
omf install pure
set -l ffns (echo $HOME/.config/fish/functions)
curl -Ls https://raw.github.com/rafaelrinaldi/pure/master/fish_prompt.fish > $ffns/fish_prompt.fish
. $ffns/fish_prompt.fish
- Display current directory tail
- Display Git branch name
- Display whether or not the working copy is dirty
- Display an up arrow if there are stuff to be pushed
- Display an down arrow if there are stuff to be pulled
- Display prompt symbol in red if previous command has failed
- Display the current folder and command when a process is running
- Display username and host when in an SSH session
- Display duration of failed commands
MIT © Rafael Rinaldi et al.