aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-06-04 21:11:07 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-06-04 21:11:07 +0300
commit79753faacb6dc511088cb0d136ec438873613932 (patch)
tree8f7f7d62ffc4dbe27eda43ce0314576d82cac235 /config
parent3ce7bac4ff2e07b9f1182c7bf7a1cac7c7ffdf9e (diff)
add a comment within .p10k.zsh explaining the use of "_joined" (#2332)
Diffstat (limited to 'config')
-rw-r--r--config/p10k-classic.zsh3
-rw-r--r--config/p10k-rainbow.zsh3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index d29aa2f8..de12ec1d 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -168,6 +168,9 @@
typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0'
# Separator between different-color segments on the right.
typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2'
+ # To remove a separator between two segments, add "_joined" to the second segment name.
+ # For example: POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(os_icon context_joined)
+
# The right end of left prompt.
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B0'
# The left end of right prompt.
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index c21d879a..674d51ef 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -165,6 +165,9 @@
typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0'
# Separator between different-color segments on the right.
typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2'
+ # To remove a separator between two segments, add "_joined" to the second segment name.
+ # For example: POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(os_icon context_joined)
+
# The right end of left prompt.
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B0'
# The left end of right prompt.