Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature suggestion for autoload
- X-seq: zsh-workers 25291
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: Feature suggestion for autoload
- Date: Thu, 17 Jul 2008 10:05:24 +0100
- In-reply-to: <2d460de70807161644u483c2c33l53734590710102d6@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <2d460de70807151010m344b9a7dmeaca569f538b51c8@xxxxxxxxxxxxxx> <080715183948.ZM10577@xxxxxxxxxxxxxxxxxxxxxx> <2d460de70807161644u483c2c33l53734590710102d6@xxxxxxxxxxxxxx>
On Thu, 17 Jul 2008 01:44:33 +0200
"Richard Hartmann" <richih.mailinglist@xxxxxxxxx> wrote:
> On Wed, Jul 16, 2008 at 03:39, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > fpath+=(thedirectory)
> > autoload thedirectory/*(:t)
>
> Peter's snippet is
>
> autoload -- ~/.zfunc/[^_]*(:t)
(Just to get this out of the way---I'm stating the absolute blindingly
obvious but of course you need the directory in fpath in the second case,
too.)
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author