Re:The most useful thing in bash
by Osiris on Wednesday April 17, 2013 @06:46PM
(#5567824)
I've been using Fish on my Mac for a while as well as some VPS' I have. At work I just installed it on our dev server.
It has a build in git status script you can include in your prompt that's awesome. Here's my fish prompt (note __fish_git_prompt):
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
It has a build in git status script you can include in your prompt that's awesome. Here's my fish prompt (note __fish_git_prompt):
Sample: