aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-lean-8colors.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/p10k-lean-8colors.zsh')
-rw-r--r--config/p10k-lean-8colors.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh
index 58a691f4..4f9d8938 100644
--- a/config/p10k-lean-8colors.zsh
+++ b/config/p10k-lean-8colors.zsh
@@ -402,7 +402,7 @@
# Display the current Git commit if there is no branch and no tag.
# Tip: To always display the current Git commit, delete the next line.
- [[ -z $VCS_STATUS_LOCAL_BRANCH && -z $VCS_STATUS_LOCAL_BRANCH ]] && # <-- this line
+ [[ -z $VCS_STATUS_LOCAL_BRANCH && -z $VCS_STATUS_TAG ]] && # <-- this line
res+="${meta}@${clean}${VCS_STATUS_COMMIT[1,8]}"
# Show tracking branch name if it differs from local branch.