diff options
author | Niccolò Maggioni <nicco.maggioni@gmail.com> | 2016-03-22 19:29:34 +0300 |
---|---|---|
committer | Niccolò Maggioni <nicco.maggioni@gmail.com> | 2016-03-22 19:29:34 +0300 |
commit | b46a96a7cee43ed35c319e04800a5d043e371163 (patch) | |
tree | 8ceaa46161727a3613e9a44a4bfdebd947c76b29 /functions/vcs.zsh | |
parent | 2d3131fb8ab712d169539f8e139e7899aa6d014a (diff) |
Git tag not replacing branch
Diffstat (limited to 'functions/vcs.zsh')
-rw-r--r-- | functions/vcs.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh index 9d3883ca..847275fa 100644 --- a/functions/vcs.zsh +++ b/functions/vcs.zsh @@ -64,7 +64,7 @@ function +vi-git-tagname() { local tag tag=$(git describe --tags --exact-match HEAD 2>/dev/null) - [[ -n "${tag}" ]] && hook_com[branch]="$(print_icon 'VCS_TAG_ICON')${tag}" + [[ -n "${tag}" ]] && hook_com[branch]+=" $(print_icon 'VCS_TAG_ICON')${tag}" } # Show count of stashed changes |