summaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-23 00:14:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-23 00:14:53 +0300
commit6b9a2e0cecd8612c57439b2957a6400884e996c0 (patch)
tree4b1a2e7458cb9c654faa4c5ee3975dd2cfa661be /internal/p10k.zsh
parentb9423485f2cc70f1ed811ad80842de1f9ba1ae7b (diff)
got overexcited with backslashes
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 53268803..8b25ff54 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -3199,7 +3199,7 @@ _p9k_init_lines() {
if [[ -n $_P9K_RETVAL ]]; then
_P9K_RETVAL+=%b%k%f
# Not escaped for historical reasons.
- _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\\\}//\"/\\\\\"}'"}'
+ _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\}//\"/\\\"}'"}'
if [[ $POWERLEVEL9K_PROMPT_ON_NEWLINE == true ]]; then
_P9K_LINE_SUFFIX_LEFT[-2]+=$_P9K_RETVAL
else
@@ -3215,7 +3215,7 @@ _p9k_init_lines() {
_p9k_get_icon '' MULTILINE_FIRST_PROMPT_PREFIX
[[ _P9K_RETVAL == *%* ]] && _P9K_RETVAL+=%b%k%f
# Not escaped for historical reasons.
- _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\\\}//\"/\\\\\"}'"}'
+ _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\}//\"/\\\"}'"}'
_P9K_LINE_PREFIX_LEFT[1]=$_P9K_RETVAL$_P9K_LINE_PREFIX_LEFT[1]
fi
@@ -3223,7 +3223,7 @@ _p9k_init_lines() {
_p9k_get_icon '' MULTILINE_LAST_PROMPT_PREFIX
[[ _P9K_RETVAL == *%* ]] && _P9K_RETVAL+=%b%k%f
# Not escaped for historical reasons.
- _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\\\}//\"/\\\\\"}'"}'
+ _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\}//\"/\\\"}'"}'
_P9K_LINE_PREFIX_LEFT[-1]=$_P9K_RETVAL$_P9K_LINE_PREFIX_LEFT[-1]
fi
@@ -3251,7 +3251,7 @@ _p9k_init_lines() {
_p9k_get_icon '' MULTILINE_NEWLINE_PROMPT_PREFIX
[[ _P9K_RETVAL == *%* ]] && _P9K_RETVAL+=%b%k%f
# Not escaped for historical reasons.
- _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\\\}//\"/\\\\\"}'"}'
+ _P9K_RETVAL='${_P9K_Z::="'${${_P9K_RETVAL//\\/\\\\}//\"/\\\"}'"}'
_P9K_LINE_PREFIX_LEFT[2,-2]=$_P9K_RETVAL${^_P9K_LINE_PREFIX_LEFT[2,-2]}
fi