From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26666 invoked from network); 30 Jun 2004 10:11:56 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 30 Jun 2004 10:11:56 -0000 Received: (qmail 21801 invoked from network); 30 Jun 2004 11:22:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 11:22:46 -0000 Received: (qmail 19495 invoked by alias); 30 Jun 2004 10:11:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7625 Received: (qmail 19485 invoked from network); 30 Jun 2004 10:11:10 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 30 Jun 2004 10:11:10 -0000 Received: (qmail 20928 invoked from network); 30 Jun 2004 11:22:22 -0000 Received: from unknown (HELO moonbase.zanshin.com) (@167.160.213.139) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 11:22:11 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i5UAAv6M003861 for ; Wed, 30 Jun 2004 03:10:57 -0700 Date: Wed, 30 Jun 2004 03:10:57 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: zsh-users@sunsite.dk Subject: Re: Suppressing "no matches found" Glob Message? In-Reply-To: <9B465416-CA20-11D8-951F-000A95EDC31A@louisville.edu> Message-ID: References: <2A3E94EA-C7E3-11D8-9C37-000502631FBD@columbia.edu> <20040627104222.GA237@DervishD> <6D3CE77E-C88C-11D8-A1EE-000A95EDC31A@louisville.edu> <20040628085300.GA1443@DervishD> <9B465416-CA20-11D8-951F-000A95EDC31A@louisville.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 On Tue, 29 Jun 2004, Aaron Davies wrote: > This works great on one of the boxes I use zsh on (a OS X Panther) box, > but not on the other (a Jaguar box). On the 10.2 one, I get > > zsh: lspf: function definition file not found > > when I try to run the function, despite having > > fpath=(~/Documents/functions $fpath) > autoload lspf > > in .zshrc and the above definition for lspf in > ~/Documents/functions/lspf.sh . What's wrong? The name of the file is supposed to be exactly the same as the name of the function -- that is, get rid of the ".sh" extension, there should be no extension at all. I have no clue why this would seem to work anywhere; in the condition in which you've described it, it should always fail.