diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2007-11-22 19:15:17 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2007-11-22 19:15:17 +0000 |
| commit | 30e6668678abec90536b97fc241d7a870738a376 (patch) | |
| tree | e7f021351073af4bc24d4ba3df0334271ce5235c /Functions/Prompts/prompt_clint_setup | |
| parent | Sean Finney: 24115: offer tags as well as heads where refspecs are valid. (diff) | |
| download | zsh-30e6668678abec90536b97fc241d7a870738a376.tar zsh-30e6668678abec90536b97fc241d7a870738a376.tar.gz zsh-30e6668678abec90536b97fc241d7a870738a376.tar.bz2 zsh-30e6668678abec90536b97fc241d7a870738a376.tar.lz zsh-30e6668678abec90536b97fc241d7a870738a376.tar.xz zsh-30e6668678abec90536b97fc241d7a870738a376.tar.zst zsh-30e6668678abec90536b97fc241d7a870738a376.zip | |
unposted: fix typo in git psvar assignment.
Diffstat (limited to 'Functions/Prompts/prompt_clint_setup')
| -rw-r--r-- | Functions/Prompts/prompt_clint_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup index 6cf76db72..a9960a016 100644 --- a/Functions/Prompts/prompt_clint_setup +++ b/Functions/Prompts/prompt_clint_setup @@ -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/} } |
