Rename async pty name config var

This commit is contained in:
Eric Freese
2017-01-29 10:39:07 -07:00
parent e3eb286ea2
commit 2c465a932a
5 changed files with 20 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ _zsh_autosuggest_modify() {
# Fetch a new suggestion based on what's currently in the buffer
_zsh_autosuggest_fetch() {
if zpty -t "$ZSH_AUTOSUGGEST_PTY_NAME" &>/dev/null; then
if zpty -t "$ZSH_AUTOSUGGEST_ASYNC_PTY_NAME" &>/dev/null; then
_zsh_autosuggest_async_request "$BUFFER"
else
local suggestion