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

@@ -7,7 +7,7 @@ _zsh_autosuggest_feature_detect() {
typeset -g _ZSH_AUTOSUGGEST_ZPTY_RETURNS_FD
typeset -h REPLY
zpty $ZSH_AUTOSUGGEST_PTY_NAME :
zpty $ZSH_AUTOSUGGEST_ASYNC_PTY_NAME :
if (( REPLY )); then
_ZSH_AUTOSUGGEST_ZPTY_RETURNS_FD=1
@@ -15,5 +15,5 @@ _zsh_autosuggest_feature_detect() {
_ZSH_AUTOSUGGEST_ZPTY_RETURNS_FD=0
fi
zpty -d $ZSH_AUTOSUGGEST_PTY_NAME
zpty -d $ZSH_AUTOSUGGEST_ASYNC_PTY_NAME
}