diff --git a/src/async.zsh b/src/async.zsh index da70b80..60055b9 100644 --- a/src/async.zsh +++ b/src/async.zsh @@ -20,6 +20,10 @@ _zsh_autosuggest_async_server() { # Output only newlines (not carriage return + newline) stty -onlcr + + # Silence any error messages + exec 2>/dev/null + local strategy=$1 local last_pid diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index d21bfd5..1492f19 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -550,6 +550,10 @@ _zsh_autosuggest_async_server() { # Output only newlines (not carriage return + newline) stty -onlcr + + # Silence any error messages + exec 2>/dev/null + local strategy=$1 local last_pid