diff --git a/src/bind.zsh b/src/bind.zsh index cc020de..90dd338 100644 --- a/src/bind.zsh +++ b/src/bind.zsh @@ -74,6 +74,6 @@ _zsh_autosuggest_invoke_original_widget() { shift if [ $widgets[$original_widget_name] ]; then - zle $original_widget_name -- $@ + zle $original_widget_name -w -- $@ fi } diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index 81aa947..9922cbd 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -176,7 +176,7 @@ _zsh_autosuggest_invoke_original_widget() { shift if [ $widgets[$original_widget_name] ]; then - zle $original_widget_name -- $@ + zle $original_widget_name -w -- $@ fi }