aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--powerlevel9k.zsh-theme7
1 files changed, 6 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 9e3a034b..84e7cb87 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -882,7 +882,12 @@ $(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')"
fi
}
-function zle-line-init zle-keymap-select {
+function zle-line-init {
+ powerlevel9k_prepare_prompts
+ zle reset-prompt
+}
+
+function zle-keymap-select {
powerlevel9k_prepare_prompts
zle reset-prompt
}