mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Fix #653 widget name '.foo' is protected
This commit is contained in:
parent
a411ef3e09
commit
66aa318713
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ _zsh_autosuggest_bind_widget() {
|
||||||
}"
|
}"
|
||||||
|
|
||||||
# Create the bound widget
|
# Create the bound widget
|
||||||
zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget
|
[[ $widget == .* ]] || zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget
|
||||||
}
|
}
|
||||||
|
|
||||||
# Map all configured widgets to the right autosuggest widgets
|
# Map all configured widgets to the right autosuggest widgets
|
||||||
|
|
Loading…
Reference in a new issue