From dca8774f1b79a31d3da6f07a841a754eccb2752b Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Sat, 22 Aug 2020 09:35:48 +0200 Subject: [PATCH] add an empty line after the branch/tag truncation logic --- config/p10k-classic.zsh | 1 + config/p10k-lean-8colors.zsh | 1 + config/p10k-lean.zsh | 1 + config/p10k-rainbow.zsh | 1 + 4 files changed, 4 insertions(+) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 76638267..a6398782 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.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. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index d5e97604..88d6ee8b 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -378,6 +378,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. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 68fb3ec3..41396029 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -378,6 +378,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. 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.