Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] zed fails with setopt nounset unless option -x is given
- X-seq: zsh-workers 50264
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Cc: Risto Laitinen <risto.laitinen@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] zed fails with setopt nounset unless option -x is given
- Date: Fri, 20 May 2022 07:39:34 -0700
- Archived-at: <https://zsh.org/workers/50264>
- In-reply-to: <641523655.251203.1653056242563@mail2.virginmedia.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAA-Ti-jiCVGAGF6XMi2axwcwkkHrCGzyvh9Biaf-d=qT443pLg@mail.gmail.com> <641523655.251203.1653056242563@mail2.virginmedia.com>
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