mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-30 09:47:12 +08:00
Prevent suggestion being treated as an option for echo
This commit is contained in:
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…
Reference in New Issue
Block a user