mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-30 08:44:41 +00:00
Merge pull request #178 from dritter/vcs_tag_whitespace
Removed whitespace before git tag
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user