Use zle -w flag to set WIDGET appropriately when calling orig widget

This commit is contained in:
Eric Freese 2016-02-23 10:21:35 -07:00
parent ba029e83d0
commit 70438d233d
2 changed files with 2 additions and 2 deletions

View file

@ -74,6 +74,6 @@ _zsh_autosuggest_invoke_original_widget() {
shift shift
if [ $widgets[$original_widget_name] ]; then if [ $widgets[$original_widget_name] ]; then
zle $original_widget_name -- $@ zle $original_widget_name -w -- $@
fi fi
} }

View file

@ -176,7 +176,7 @@ _zsh_autosuggest_invoke_original_widget() {
shift shift
if [ $widgets[$original_widget_name] ]; then if [ $widgets[$original_widget_name] ]; then
zle $original_widget_name -- $@ zle $original_widget_name -w -- $@
fi fi
} }