mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-07-24 13:36:26 +08:00
parent
85919cd1ff
commit
bc68a91f0a
@ -173,7 +173,8 @@ _zsh_autosuggest_bind_widget() {
|
||||
# Completion widget
|
||||
completion:*)
|
||||
_zsh_autosuggest_incr_bind_count $widget
|
||||
eval "zle -C $prefix$bind_count-${(q)widget} ${${(s.:.)widgets[$widget]}[2,3]}"
|
||||
local -a widget_split=("${(@s.:.)widgets[$widget]}")
|
||||
eval "zle -C "$prefix$bind_count-${(q)widget}" "${widget_split[2]}" "${widget_split[3]}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user