Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
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
this would be consistent. However, from the other point of view,
$(<...) might be thought to be faking up a subshell, in which case it
probably shouldn't be. I suppose that just never got discussed before.
The principle of least surprise perhaps says it doesn't look like it should
be fatal, therefore it shouldn't be.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author