mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 10:10:07 +00:00
bugfix: typo in "POWERLEVEL9K" broke the VCS tag display
This commit is contained in:
parent
c4fdc8f708
commit
3f1f11a1f1
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ function +vi-git-remotebranch() {
|
|||
|
||||
set_default POWERLEVEL9K_VCS_HIDE_TAGS false
|
||||
function +vi-git-tagname() {
|
||||
if [[ "$POWERLEVE9K_VCS_HIDE_TAGS" == "false" ]]; then
|
||||
if [[ "$POWERLEVEL9K_VCS_HIDE_TAGS" == "false" ]]; 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)
|
||||
|
|
Loading…
Reference in a new issue