mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-04-17 11:35:31 +08:00
Merge a870925f99
into 7dc9e0f926
This commit is contained in:
commit
ac293ef308
@ -291,4 +291,10 @@ zle -N autosuggest-tab
|
|||||||
zle -N autosuggest-suspend
|
zle -N autosuggest-suspend
|
||||||
zle -N autosuggest-accept-suggestion
|
zle -N autosuggest-accept-suggestion
|
||||||
|
|
||||||
|
# save widgets
|
||||||
|
for widget in $ZLE_AUTOSUGGEST_ALL_WIDGETS; do
|
||||||
|
[[ -z $widgets[$widget] || ! -z $widgets[.$widget] ]] && continue
|
||||||
|
eval "zle -A $widget .$widget"
|
||||||
|
done
|
||||||
|
|
||||||
autosuggest-restore-widgets
|
autosuggest-restore-widgets
|
||||||
|
Loading…
Reference in New Issue
Block a user