Prevent suggestion being treated as an option for echo

fixes/romkatv-async-fixes
Eric Freese 2 years ago
parent e386de0247
commit b350b900ce

@ -39,7 +39,7 @@ _zsh_autosuggest_async_request() {
# Fetch and print the suggestion
local suggestion
_zsh_autosuggest_fetch_suggestion "$1"
echo -nE "$suggestion"
echo -nE - "$suggestion"
)
# There's a weird bug here where ^C stops working unless we force a fork

@ -794,7 +794,7 @@ _zsh_autosuggest_async_request() {
# Fetch and print the suggestion
local suggestion
_zsh_autosuggest_fetch_suggestion "$1"
echo -nE "$suggestion"
echo -nE - "$suggestion"
)
# There's a weird bug here where ^C stops working unless we force a fork

Loading…
Cancel
Save