Allow wrapping widgets whose name start with _

This commit is contained in:
Arnaud Venturi 2023-07-05 19:15:50 +02:00
parent a411ef3e09
commit 6a3af6b8d9
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ _zsh_autosuggest_bind_widgets() {
ignore_widgets=(
.\*
_\*
_zsh_autosuggest_\*
${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-}
$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\*
$ZSH_AUTOSUGGEST_IGNORE_WIDGETS

View File

@ -198,7 +198,7 @@ _zsh_autosuggest_bind_widgets() {
ignore_widgets=(
.\*
_\*
_zsh_autosuggest_\*
${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-}
$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\*
$ZSH_AUTOSUGGEST_IGNORE_WIDGETS