Rename shell option

This commit is contained in:
SebastianStork 2024-06-17 09:47:33 +02:00
parent de7855ade5
commit e0903f42bf
5 changed files with 7 additions and 12 deletions

View file

@ -163,9 +163,7 @@
(( $#branch > 32 )) && branch[13,-13]="…" # <-- this line
res+="${clean}${(g::)POWERLEVEL9K_VCS_BRANCH_ICON}${branch//\%/%%}"
fi
if [[ -n $VCS_STATUS_TAG
if [[ -n $VCS_STATUS_TAG
&& -z $VCS_STATUS_LOCAL_BRANCH
]]; then
local tag=${(V)VCS_STATUS_TAG}