]> git.donarmstrong.com Git - zsh.git/commitdiff
display repo name in git string
authorDon Armstrong <don@donarmstrong.com>
Fri, 7 Jun 2013 19:15:10 +0000 (12:15 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 7 Jun 2013 19:15:10 +0000 (12:15 -0700)
.zsh/zshrc/75_vcsinfo

index d39e800834fe3aef4ff4bfe7afc8323972c6172e..1aba444b437d17f54f032491077190f7324ccf39 100644 (file)
@@ -26,7 +26,7 @@ zstyle ':vcs_info:*' enable hg git bzr svn cvs
 zstyle ':vcs_info:hg*:*' hgrevformat "%r"
 #zstyle ':vcs_info:fossil:*' fsrevformat '%.5h'
 # Silly git doesn't honor branchformat
-zstyle ':vcs_info:git*:*' formats '%c%u|%s@%a:%b@%.5i'
+zstyle ':vcs_info:git*:*' formats '%c%u|%s@%a:%b@%.5i[%.5r]'
 zstyle ':vcs_info:git*:*' actionformats '%c%u|%s@%a:%b@%.5i'
 
 # now use the blasted colors!