1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

Merge of unposted: fix typo in git psvar assignment.

This commit is contained in:
Paul Ackersviller 2007-11-25 18:22:56 +00:00
parent ebce8a5323
commit b026a45c00

View file

@ -66,7 +66,7 @@ prompt_clint_precmd () {
git_dir=$(git-rev-parse --git-dir 2> /dev/null) || return
git_ref=$(git-symbolic-ref HEAD 2> /dev/null) || git_ref="(no branch)"
psvar[2]=${ref#refs/heads/}
psvar[2]=${git_ref#refs/heads/}
}