瀏覽代碼

Fix #653 widget name '.foo' is protected

pull/725/head
brook hong 2 年之前
父節點
當前提交
66aa318713
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      zsh-autosuggestions.zsh

+ 1
- 1
zsh-autosuggestions.zsh 查看文件

@ -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…
取消
儲存