Compare commits

...

2 Commits

Author SHA1 Message Date
Marlon Richert 95ed76868b
Merge 7202ce8f93 into 0e810e5afa 2024-12-16 05:28:58 -08: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
1 changed files with 1 additions and 1 deletions

View File

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