Re:Interesting Bash Prompts
by dchest on Sunday September 06, 2009 @07:37AM
(#807714)
Here's mine for Mercurial (shows branch and changeset number): http://gist.github.com/181764
[ Parent
| on HN ]
Here's a version that automatically DTRT for git, hg, and svn (hg last in implementation so my home doesn't override other repositories):
http://bitbucket.org/durin42/dotfiles/src/tip/.shell.d/50.vc...
Here's the code for the zsh prompt that uses it: http://bitbucket.org/durin42/dotfiles/src/tip/.shell.d/99.pr...