News for hackers. Stuff that matters.
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
Re:Interesting Bash Prompts by durin42 on Sunday September 06, 2009 @01:09PM (#807935)
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...