1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 11:31:26 +01:00

unposted: fix typo in git psvar assignment.

This commit is contained in:
Clint Adams 2007-11-22 19:15:17 +00:00
parent c406f4366e
commit 30e6668678
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2007-11-22 Clint Adams <clint@zsh.org>
* unposted: Functions/Prompts/prompt_clint_setup: fix typo in git
psvar assignment.
* Sean Finney: 24115: Completion/Unix/Command/_git: offer tags as
well as heads where refspecs are valid.

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/}
}