Prevent suggestion being treated as an option for echo

This commit is contained in:
Eric Freese 2023-08-25 13:27:37 -06:00
parent e386de0247
commit b350b900ce
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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