From 03fac1f0d79fa2326c427c012b926fd72e553ecc Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Tue, 23 Feb 2016 18:13:03 -0700 Subject: [PATCH] Revert "Use zle -w flag to set WIDGET appropriately when calling orig widget" This reverts commit 70438d233d00c4afb2e968eca2a0bcebdaae007c. --- src/bind.zsh | 2 +- zsh-autosuggestions.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bind.zsh b/src/bind.zsh index 90dd338..cc020de 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 -w -- $@ + zle $original_widget_name -- $@ fi } diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index f516148..e85f196 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 -w -- $@ + zle $original_widget_name -- $@ fi }