aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-28 00:04:20 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-28 00:04:20 +0300
commit7f08e8a053f6850720886aad76b5a112e56126f8 (patch)
tree8c94fd77f02e1cf1dea9f9e9bb09096950f71e87 /powerlevel9k.zsh-theme
parent8c97104c79e7de5c3aa69727c41068e2bb2c91b4 (diff)
goddamn widget wrappers!
Diffstat (limited to 'powerlevel9k.zsh-theme')
-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.'