Re:How to Set Up Git Completion and Repo State on OS X
by Osiris on Wednesday May 29, 2013 @01:43AM
(#5784808)
fish shell has some of this built in, such as the git prompt.
Here's a sample of my fish_prompt.fish
function fish_prompt
set last_status $status
set_color $fish_color_cwd
printf '%s' (prompt_pwd)
set_color normal
printf '%s ' (__fish_git_prompt)
set_color normal
end
Here's a sample of my fish_prompt.fish