mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
workaround for issue #88, probably not the final solution, see discussion
This commit is contained in:
parent
7dc9e0f926
commit
a870925f99
1 changed files with 6 additions and 0 deletions
|
@ -291,4 +291,10 @@ zle -N autosuggest-tab
|
|||
zle -N autosuggest-suspend
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue