summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-16 01:41:00 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-16 01:47:56 +0300
commit32537cffaa740d7dcb223ac781d1c23fe1ee5958 (patch)
tree7b3d210bcc227f2e9a0d2e60a4e925b3ff402e26 /internal
parent22e459ef24bafb24c516f944769883d4920596dd (diff)
add POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index a8ad934f..9201dafe 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2996,7 +2996,9 @@ _p9k_init() {
_P9K_LEFT_LINE_SUFFIX='%b%k$_P9K_SSS%b%k%f'
_P9K_LEFT_PREFIX+=$_P9K_LEFT_LINE_PREFIX
- _P9K_RIGHT_PREFIX+='${${:-${_P9K_BG::=NONE}${_P9K_I::=0}${_P9K_SSS::=}}+}'
+
+ _p9k_escape ${(g::)POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL}
+ _P9K_RIGHT_PREFIX+="\${\${:-\${_P9K_BG::=NONE}\${_P9K_I::=0}\${_P9K_SSS::=$_P9K_RETVAL}}+}"
_P9K_T=(
$'\n' "" # left prompt overflow