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

Re: zsh ignores the arguments on its first command.



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