mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Merge a870925f99 into 7dc9e0f926
This commit is contained in:
commit
ac293ef308
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue