Skip to content

Instantly share code, notes, and snippets.

@stanch
Created January 18, 2016 23:20
Show Gist options
  • Save stanch/c19dba55513756e543f5 to your computer and use it in GitHub Desktop.
Save stanch/c19dba55513756e543f5 to your computer and use it in GitHub Desktop.
My entire fish shell configuration
# In ~/.config/fish/config.fish
set fish_greeting
set __fish_git_prompt_showdirtystate 'yes'
# In ~/.config/fish/functions/fish_prompt.fish
function fish_prompt
echo
echo -s (set_color green) (prompt_pwd) (set_color blue) (__fish_git_prompt) (set_color yellow) " → " (set_color normal)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment