Do not show any error output from async zpty server process

This commit is contained in:
Eric Freese 2017-02-16 19:27:32 -07:00
parent ed8056c5e8
commit 9feac573c9
2 changed files with 8 additions and 0 deletions

View File

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

View File

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