Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh ignores the arguments on its first command.
- X-seq: zsh-workers 27996
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- Subject: Re: zsh ignores the arguments on its first command.
- Date: Thu, 3 Jun 2010 07:15:59 -0700
- Cc: Martin Buchholz <martinrb@xxxxxxxxxx>, zsh-workers@xxxxxxx, Joel Ebel <jbebel@xxxxxxxxxx>
- In-reply-to: <20100603143220.48ccbf3e@xxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <martinrb@xxxxxxxxxx> <AANLkTikiCBKGaJcuE9s-vMZvK465tTR6WSFIsy6wo7xL@xxxxxxxxxxxxxx> <201006012145.o51LjhGg005724@xxxxxxxxxxxxxxxxxxx> <AANLkTikvkgA0bFLLh7VLVtBbUVMdM64-2iQXjAVbHvaA@xxxxxxxxxxxxxx> <20100602121901.6ce71329@xxxxxxx> <AANLkTimPDymUsBJICkPlnyeFuFLA5Ek80j_aNQH5rXGo@xxxxxxxxxxxxxx> <20100603100109.1b090b4e@xxxxxxx> <AANLkTilx2bOk5hHYLVly8XCIu4xz4hhtFHpgTaP4otN3@xxxxxxxxxxxxxx> <20100603143220.48ccbf3e@xxxxxxx>
On Thu, Jun 3, 2010 at 6:32 AM, Peter Stephenson
<Peter.Stephenson@xxxxxxx> wrote:
>
> You're right, it's a specific error for this case, it could be a lot
> clearer.
Martin has something of a point in that when getparamnode() calls
zerr() for this, the shell behaves somewhat as if ${terminfo?} had
been used rather than ${+terminfo}.
Perhaps the correct thing here is to change this to a zwarn() and
allow the setting of the UNSET option to control whether autoload
failure aborts the script. I'm not convinced that's right, either,
though.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author