diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-09-23 19:29:42 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-09-23 19:29:42 +0300 |
commit | c760d3a5057698cd220caec1334403fc028f46f6 (patch) | |
tree | a6a76e326c9899fa57a6bd8ca684cdcad0a58584 /powerlevel9k.zsh-theme | |
parent | ffc0d9e162e8e80b7554a33a863e57911813c68d (diff) |
Better compatibility with shellcheck.net.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 7 |
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 } |