diff --git a/src/async.zsh b/src/async.zsh index a4fb047..e179734 100644 --- a/src/async.zsh +++ b/src/async.zsh @@ -73,4 +73,5 @@ _zsh_autosuggest_async_response() { # Always remove the handler zle -F "$1" + _ZSH_AUTOSUGGEST_ASYNC_FD= } diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index dc90202..91247b4 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -830,6 +830,7 @@ _zsh_autosuggest_async_response() { # Always remove the handler zle -F "$1" + _ZSH_AUTOSUGGEST_ASYNC_FD= } #--------------------------------------------------------------------#