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=( ignore_widgets=(
.\* .\*
_\* _zsh_autosuggest_\*
${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-} ${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-}
$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* $ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\*
$ZSH_AUTOSUGGEST_IGNORE_WIDGETS $ZSH_AUTOSUGGEST_IGNORE_WIDGETS

View file

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