Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Suppressing "no matches found" Glob Message?
- X-seq: zsh-users 7625
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Suppressing "no matches found" Glob Message?
- Date: Wed, 30 Jun 2004 03:10:57 -0700 (PDT)
- In-reply-to: <9B465416-CA20-11D8-951F-000A95EDC31A@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2A3E94EA-C7E3-11D8-9C37-000502631FBD@xxxxxxxxxxxx> <20040627104222.GA237@DervishD> <6D3CE77E-C88C-11D8-A1EE-000A95EDC31A@xxxxxxxxxxxxxx> <20040628085300.GA1443@DervishD> <Pine.LNX.4.60.0406280814510.19831@xxxxxxxxxxxxxxxxxx> <9B465416-CA20-11D8-951F-000A95EDC31A@xxxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author