aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-04-25 11:24:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-04-25 11:24:53 +0300
commit5fc6fca402c44ae5292befa1c7633cd2db8b912c (patch)
tree2b73e231b05caf94ac9c111d741294ab7cfc5a89 /powerlevel9k.zsh-theme
parent0e0132e8fad785c87160f39b5d450a28295ee369 (diff)
call "zle -R" after every "zle reset-prompt"
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme6
1 files changed, 3 insertions, 3 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 076d42bb..803eaca4 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -2124,7 +2124,7 @@ function _p9k_update_prompt() {
_P9K_REFRESH_REASON=$1
_p9k_set_prompt
_P9K_REFRESH_REASON=''
- zle && zle .reset-prompt
+ zle && zle .reset-prompt && zle -R
}
set_default POWERLEVEL9K_PROMPT_ADD_NEWLINE false
@@ -2147,7 +2147,7 @@ powerlevel9k_prepare_prompts() {
}
function _p9k_zle_keymap_select() {
- zle && zle .reset-prompt
+ zle && zle .reset-prompt && zle -R
}
set_default POWERLEVEL9K_IGNORE_TERM_COLORS false
@@ -2182,7 +2182,7 @@ _p9k_init_timer() {
emulate -L zsh
local dummy
while IFS='' read -t -u $_P9K_TIMER_FD dummy; do true; done
- zle && zle .reset-prompt
+ zle && zle .reset-prompt && zle -R
}
zle -F $_P9K_TIMER_FD _p9k_on_timer