summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-12 23:44:44 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-12 23:44:44 +0300
commitd2fc79743d9897c12f3cbd3830563aa9dcfea380 (patch)
tree45a30e720e81fc00cb63102cc4402ad7e5291f00 /internal
parentb51e263637dd1102f6a7d4e366807c06825383e2 (diff)
Revert "unify multiline prompt prefix parameters"
This reverts commit 502baefcec3a5e0f31cf322b8f67bab7457884f1. fixes #116
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 209b4e10..5076ce01 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -654,7 +654,7 @@ prompt_newline() {
_p9k_left_prompt_end_line && _P9K_PROMPT+=$'\n'
_P9K_PROMPT+=$_P9K_LEFT_LINE_PREFIX
if [[ $POWERLEVEL9K_PROMPT_ON_NEWLINE == true ]]; then
- _p9k_get_icon 'prompt_multiline_NEWLINE' PROMPT_PREFIX
+ _p9k_get_icon '' MULTILINE_NEWLINE_PROMPT_PREFIX
_P9K_PROMPT+=$_P9K_RETVAL
fi
}
@@ -3007,9 +3007,9 @@ _p9k_init() {
_P9K_RIGHT_PREFIX+='%f%b%k'
if [[ $POWERLEVEL9K_PROMPT_ON_NEWLINE == true ]]; then
- _p9k_get_icon 'prompt_multiline_FIRST' PROMPT_PREFIX
+ _p9k_get_icon '' MULTILINE_FIRST_PROMPT_PREFIX
_P9K_LEFT_PREFIX+="$_P9K_RETVAL%f%b%k"
- _p9k_get_icon 'prompt_multiline_LAST' PROMPT_PREFIX
+ _p9k_get_icon '' MULTILINE_LAST_PROMPT_PREFIX
_P9K_LEFT_SUFFIX+=$'\n'$_P9K_RETVAL'%f%b%k'
else
_P9K_LEFT_PREFIX+="%f%b%k"