From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28813 invoked by alias); 3 Jun 2010 14:23:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27996 Received: (qmail 975 invoked from network); 3 Jun 2010 14:22:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) MIME-Version: 1.0 In-Reply-To: <20100603143220.48ccbf3e@csr.com> References: <201006012145.o51LjhGg005724@pws-pc.ntlworld.com> <20100602121901.6ce71329@csr.com> <20100603100109.1b090b4e@csr.com> <20100603143220.48ccbf3e@csr.com> Date: Thu, 3 Jun 2010 07:15:59 -0700 Message-ID: Subject: Re: zsh ignores the arguments on its first command. From: Bart Schaefer To: Peter Stephenson Cc: Martin Buchholz , zsh-workers@zsh.org, Joel Ebel Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jun 3, 2010 at 6:32 AM, Peter Stephenson 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.