3 ms·
Here's mine for Mercurial (shows branch and changeset number): http://gist.github.com/181764 http://gist.github.com/181764
by dchest 17y ago
Here's mine for Mercurial (shows branch and changeset number): http://gist.github.com/181764 http://gist.github.com/181764
- durin42 17y agoHere'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.vcs_functions.sh#cl-160 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.prompt.zsh http://bitbucket.org/durin42/dotfiles/src/tip/.shell.d/99.pr...