Merge pull request #630 from codicodi/reset-fd

Always reset file descriptor after consuming it
This commit is contained in:
Eric Freese 2023-09-07 09:39:17 -06:00 committed by GitHub
commit a593f4dfec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -73,4 +73,5 @@ _zsh_autosuggest_async_response() {
# Always remove the handler
zle -F "$1"
_ZSH_AUTOSUGGEST_ASYNC_FD=
}

View file

@ -830,6 +830,7 @@ _zsh_autosuggest_async_response() {
# Always remove the handler
zle -F "$1"
_ZSH_AUTOSUGGEST_ASYNC_FD=
}
#--------------------------------------------------------------------#