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

Re: [PATCH] zed fails with setopt nounset unless option -x is given



On Fri, May 20, 2022 at 7:18 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> zed runs as "emulate zsh"; it seems reasonable that nounset isn't
> treated as an emulation option, given it's more for debugging

Hmm.  That's a tough one.  "... only those options likely to cause
portability problems in scripts and functions are altered."  NOUNSET
certainly seems to fall into that category, because:

> that means there could well be a lot more of these lurking.




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