mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-11 00:25:49 +00:00
Merge pull request #178 from dritter/vcs_tag_whitespace
Removed whitespace before git tag
This commit is contained in:
commit
c84da5e744
@ -52,7 +52,7 @@ function +vi-git-tagname() {
|
|||||||
local tag
|
local tag
|
||||||
|
|
||||||
tag=$(git describe --tags --exact-match HEAD 2>/dev/null)
|
tag=$(git describe --tags --exact-match HEAD 2>/dev/null)
|
||||||
[[ -n "${tag}" ]] && hook_com[branch]=" %F{$POWERLEVEL9K_VCS_FOREGROUND}$(print_icon 'VCS_TAG_ICON')${tag}%f"
|
[[ -n "${tag}" ]] && hook_com[branch]="%F{$POWERLEVEL9K_VCS_FOREGROUND}$(print_icon 'VCS_TAG_ICON')${tag}%f"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show count of stashed changes
|
# Show count of stashed changes
|
||||||
|
Loading…
Reference in New Issue
Block a user