Disable async

This commit is contained in:
Maciej Dems 2023-06-09 11:20:34 +02:00
parent 36f37f50d1
commit 33f442af07

View file

@ -893,9 +893,9 @@ autoload -Uz add-zsh-hook is-at-least
# older versions because there is a bug when using async mode where ^C does not # older versions because there is a bug when using async mode where ^C does not
# work immediately after fetching a suggestion. # work immediately after fetching a suggestion.
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364 # See https://github.com/zsh-users/zsh-autosuggestions/issues/364
if is-at-least 5.0.8; then # if is-at-least 5.0.8; then
typeset -g ZSH_AUTOSUGGEST_USE_ASYNC= # typeset -g ZSH_AUTOSUGGEST_USE_ASYNC=
fi # fi
# Start the autosuggestion widgets on the next precmd # Start the autosuggestion widgets on the next precmd
add-zsh-hook precmd _zsh_autosuggest_start add-zsh-hook precmd _zsh_autosuggest_start