aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-04-09 11:33:03 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-04-09 11:33:03 +0300
commit9d462b0ba99d11dc4ccf0253900dab87db7b1ddb (patch)
tree20bbce5bb1043e88990662f65541a96703f2acd1 /config/p10k-classic.zsh
parente59723872c86972d98c98cc3b52f031e0ad407c2 (diff)
add a tip for disabling git branch truncation
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 20fab717..15d11831 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -365,6 +365,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 %