Login
Signup for a GitHub Account
New Gist
All Gists
Back to GitHub
Visit mss on GitHub
Public Gists by mss
gist: 129278
Append this to your .bashrc...
Sat Jun 13 07:51:49 -0700 2009
1
2
3
if [ "$(type -t __git_ps1)" ]; then
PS1="\$(__git_ps1 '(%s)')$PS1"
fi