Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: BUG: failure in "vcs_info prompt" aborts precmd function



Bart Schaefer wrote:
> On Nov 23,  7:02pm, Peter Stephenson wrote:
> } Subject: Re: BUG: failure in "vcs_info prompt" aborts precmd function
> }
> } On Sat, 22 Nov 2014 14:44:00 -0800
> } Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> } > On the other hand, I don't know WHY $(<notafile) was made a fatal error.
> } 
> } Looks like most redirection errors are fatal, so from that point of view
> 
> Hmm.
> 
> torch% () { cat < notafile ; echo got here }
> (anon): no such file or directory: notafile
> got here
> 
> What was fatal about that?  Even with a builtin:
> 
> torch% () { read -E < notafile ; echo got here }
> (anon): no such file or directory: notafile
> got here

addfd()'s stuffed with zerr()'s, so I've no idea what's going on.
 
> Should I commit/push 33775 then?  Anybody object?

No, that looks fine.

pws



Messages sorted by: Reverse Date, Date, Thread, Author