aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpowerlevel9k.zsh-theme6
1 files changed, 4 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index af60950f..b7a81e6e 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -2462,7 +2462,8 @@ _p9k_init() {
autoload -Uz add-zle-hook-widget
zle -N _p9k_zle_line_finish
add-zle-hook-widget line-finish _p9k_zle_line_finish
- add-zle-hook-widget -D line-finish user:_zsh_highlight_widget_orig-\*-zle-line-finish
+ add-zle-hook-widget -D line-finish user:_zsh_highlight_widget_orig-\*
+ add-zle-hook-widget -D line-finish user:_zsh_autosuggest_bound_\*
fi
fi
else
@@ -2524,7 +2525,8 @@ _p9k_init() {
}
autoload -Uz add-zle-hook-widget
add-zle-hook-widget line-pre-redraw _p9k_zle_line_pre_redraw
- add-zle-hook-widget -D line-pre-redraw user:_zsh_highlight_widget_orig-\*-zle-line-pre-redraw
+ add-zle-hook-widget -D line-pre-redraw user:_zsh_highlight_widget_orig-\*
+ add-zle-hook-widget -D line-pre-redraw user:_zsh_autosuggest_bound_\*
_p9k_g_expand POWERLEVEL9K_VI_VISUAL_MODE_STRING
else
>&2 print -P '%F{yellow}WARNING!%f POWERLEVEL9K_VI_VISUAL_MODE_STRING requires ZSH >= 5.3.'