From 9d462b0ba99d11dc4ccf0253900dab87db7b1ddb Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 9 Apr 2020 10:33:03 +0200 Subject: [PATCH] add a tip for disabling git branch truncation --- 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 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 % diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 86fff628..14b88788 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.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 % 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 % diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 412332a9..175d374f 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -364,6 +364,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 %