mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Prevent suggestion being treated as an option for echo
This commit is contained in:
parent
e386de0247
commit
b350b900ce
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue