summaryrefslogtreecommitdiff
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
parente59723872c86972d98c98cc3b52f031e0ad407c2 (diff)
add a tip for disabling git branch truncation
-rw-r--r--config/p10k-classic.zsh1
-rw-r--r--config/p10k-lean-8colors.zsh1
-rw-r--r--config/p10k-lean.zsh1
-rw-r--r--config/p10k-rainbow.zsh1
4 files changed, 4 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 %
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 %