summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 1a5bf89f..bd68916e 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -360,6 +360,7 @@
# If local branch name or tag is at most 32 characters long, show it in full.
# Otherwise show the first 12 … the last 12.
+ # Tip: To always show local branch name in full without truncation, delete the next line.
(( $#where > 32 )) && where[13,-13]="…"
res+="${clean}${where//\%/%%}" # escape %