Browse Source

Fix #653 widget name '.foo' is protected

pull/725/head
brook hong 2 years ago
parent
commit
66aa318713
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      zsh-autosuggestions.zsh

+ 1
- 1
zsh-autosuggestions.zsh View File

@ -186,7 +186,7 @@ _zsh_autosuggest_bind_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

Loading…
Cancel
Save