Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd: write error: interrupted
- X-seq: zsh-users 17777
- From: Yuri D'Elia <wavexx@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: precmd: write error: interrupted
- Date: Thu, 25 Apr 2013 19:44:40 +0200
- In-reply-to: <klbmnc$ieh$1@ger.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <klbmnc$ieh$1@ger.gmane.org>
On 04/25/2013 06:47 PM, Yuri D'Elia wrote:
2) Why "precmd() { { print "HELLO" } >&- 2>&-; } doesn't suppress the
error in this case?
Closest analogue I could find is:
% { { print >&2 } 2>&- } 2>/dev/null
zsh: write error
braces here don't help. A real subshell of course works, but it's
prohibitive for precmd.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author