Git branch in prompt (with svn support)
I like having my git branch in my prompt, but I sadly still have to use subversion sometimes. So, I hacked something together (mostly out of this script for vcs info in your prompt) that gives either the current git branch or the current svn revision. In my .bash_profile, I include this file with source ~/sw/bash/vcs-prompt.bash.
About this entry
You’re currently reading “Git branch in prompt (with svn support),” an entry on nothingness incarnate
- Published:
- December 19th 01:19 PM
- Updated:
- December 19th 03:34 PM
- Sections:
- macintosh
1 comment
Jump to comment form | comments rss [?]