Move async initialization into start function to keep in one place

This commit is contained in:
Eric Freese
2017-01-26 16:37:42 -07:00
parent 78ba07179a
commit f33b605a63
3 changed files with 6 additions and 4 deletions

View File

@@ -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