From c760d3a5057698cd220caec1334403fc028f46f6 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Wed, 23 Sep 2015 18:29:42 +0200 Subject: [PATCH] Better compatibility with shellcheck.net. --- powerlevel9k.zsh-theme | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 }