From 0a548c62f4f57bb68cb6c45ff75b4781bb39b451 Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Fri, 18 May 2018 15:24:48 -0600 Subject: [PATCH] Forgot to make after small tweak --- zsh-autosuggestions.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index a2134da..c29eb9e 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -510,7 +510,7 @@ _zsh_autosuggest_capture_completion() { 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 -r $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME line '*'$'\0' } =( <<< ' @@ -563,7 +563,6 @@ _zsh_autosuggest_capture_completion() { echo $''\0'' ') - # Send the string and a tab to trigger completion zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME "$*"$'\t'