summaryrefslogtreecommitdiff
path: root/config/p10k-rainbow.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-08-22 10:35:48 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-08-22 10:35:48 +0300
commitdca8774f1b79a31d3da6f07a841a754eccb2752b (patch)
tree654606f2ce000d545928835127dd038b6136edf3 /config/p10k-rainbow.zsh
parent711490252e1ba7aafb3a8d83171ca0344f6f6760 (diff)
add an empty line after the branch/tag truncation logic
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r--config/p10k-rainbow.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index 7deeb594..e50d09a0 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -384,6 +384,7 @@
# 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 %
# Display the current Git commit if there is no branch or tag.