Compare commits

...

3 Commits

Author SHA1 Message Date
Eric Freese
aa859a282d bump version v0.2.12 2016-02-23 10:37:57 -07:00
Eric Freese
f08a5a1baa [Formatting] Remove extra space in test script. 2016-02-23 10:24:35 -07:00
Eric Freese
70438d233d Use zle -w flag to set WIDGET appropriately when calling orig widget 2016-02-23 10:21:35 -07:00
4 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
v0.2.11
v0.2.12

View File

@@ -102,7 +102,7 @@ testWidgetFunctionModify() {
POSTDISPLAY=""
stub_and_eval \
_zsh_autosuggest_invoke_original_widget \
_zsh_autosuggest_invoke_original_widget \
'BUFFER+="e"'
stub_and_echo \

View File

@@ -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
}

View File

@@ -1,6 +1,6 @@
# Fish-like fast/unobtrusive autosuggestions for zsh.
# https://github.com/tarruda/zsh-autosuggestions
# v0.2.11
# v0.2.12
# Copyright (c) 2013 Thiago de Arruda
# Copyright (c) 2016 Eric Freese
#
@@ -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
}