mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-29 15:59:06 +01:00
Rename async pty name config var
This commit is contained in:
parent
e3eb286ea2
commit
2c465a932a
5 changed files with 20 additions and 20 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue