Compare commits

...

2 Commits

Author SHA1 Message Date
Afiq Quraisy
3848f49f15
Merge ed802d9b12 into c3d4e576c9 2023-09-11 16:57:57 +02:00
UrNightmaree
ed802d9b12 Fix `widget name '....' is protected
closes #653
2023-09-02 16:09:08 +08:00

View File

@ -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