Compare commits

...

2 Commits

Author SHA1 Message Date
Marlon Richert
6606a45e68
Merge 7202ce8f93 into c3d4e576c9 2023-09-07 17:01:53 +02:00
Marlon Richert
7202ce8f93 Don't discard $WIDGETSTYLE
Calling a completion widget without passing the -w flag causes
$WIDGETSTYLE to be unset. This breaks logic in _oldlist, _list_files and
some plugins.
2023-02-17 12:17:19 +02:00

View File

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