|
|
|
@ -61,6 +61,7 @@ function +vi-git-remotebranch() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function +vi-git-tagname() {
|
|
|
|
|
if [[ -z "${POWERLEVE9K_VCS_HIDE_TAGS}" ]]; then
|
|
|
|
|
# If we are on a tag, append the tagname to the current branch string.
|
|
|
|
|
local tag
|
|
|
|
|
tag=$(git describe --tags --exact-match HEAD 2>/dev/null)
|
|
|
|
@ -81,6 +82,7 @@ function +vi-git-tagname() {
|
|
|
|
|
hook_com[branch]+=" $(print_icon 'VCS_TAG_ICON')${tag}"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Show count of stashed changes
|
|
|
|
|