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:
parent
ebce8a5323
commit
b026a45c00
1 changed files with 1 additions and 1 deletions
|
|
@ -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/}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue