mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-29 07:34:11 +08:00
parent
a0fcd81ce1
commit
75e850577d
|
@ -16,6 +16,7 @@ _zsh_autosuggest_bind_widget() {
|
|||
|
||||
# User-defined widget
|
||||
user:*)
|
||||
zle -l "$prefix$widget" && zle -N "$widget" ${widgets[$prefix$widget]#*:}
|
||||
zle -N $prefix$widget ${widgets[$widget]#*:}
|
||||
;;
|
||||
|
||||
|
|
|
@ -150,6 +150,7 @@ _zsh_autosuggest_bind_widget() {
|
|||
|
||||
# User-defined widget
|
||||
user:*)
|
||||
zle -l "$prefix$widget" && zle -N "$widget" ${widgets[$prefix$widget]#*:}
|
||||
zle -N $prefix$widget ${widgets[$widget]#*:}
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user