mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-25 10:01:05 +01:00
Forgot to make after small tweak
This commit is contained in:
parent
4cca26ec84
commit
0a548c62f4
1 changed files with 1 additions and 2 deletions
|
@ -510,7 +510,7 @@ _zsh_autosuggest_capture_completion() {
|
||||||
|
|
||||||
setopt rcquotes
|
setopt rcquotes
|
||||||
() {
|
() {
|
||||||
# Setup, blocking until null byte to signal completion
|
# Initialize the pty env, blocking until null byte is seen
|
||||||
zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME "source $1"
|
zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME "source $1"
|
||||||
zpty -r $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME line '*'$'\0'
|
zpty -r $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME line '*'$'\0'
|
||||||
} =( <<< '
|
} =( <<< '
|
||||||
|
@ -563,7 +563,6 @@ _zsh_autosuggest_capture_completion() {
|
||||||
echo $''\0''
|
echo $''\0''
|
||||||
')
|
')
|
||||||
|
|
||||||
|
|
||||||
# Send the string and a tab to trigger completion
|
# Send the string and a tab to trigger completion
|
||||||
zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME "$*"$'\t'
|
zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME "$*"$'\t'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue