mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-06 15:20:40 +01:00
Move async initialization into start function to keep in one place
This commit is contained in:
@@ -64,5 +64,3 @@ _zsh_autosuggest_async_recreate_pty() {
|
||||
# Set up input handler from the pty
|
||||
zle -F $_ZSH_AUTOSUGGEST_PTY_FD _zsh_autosuggest_async_suggestion_ready
|
||||
}
|
||||
|
||||
add-zsh-hook precmd _zsh_autosuggest_async_recreate_pty
|
||||
|
||||
Reference in New Issue
Block a user