Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Writing Zsh "libraries"
- X-seq: zsh-users 10398
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh Users' List" <zsh-users@xxxxxxxxxx>
- Subject: Re: Writing Zsh "libraries"
- Date: Tue, 20 Jun 2006 10:36:19 +0100
- In-reply-to: <dbfc82860606190607m67b8579et4d3748fd66a2f85d@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <dbfc82860606190607m67b8579et4d3748fd66a2f85d@xxxxxxxxxxxxxx>
"Nikolai Weibull" wrote:
> autoload -U zap/init
>
> Then I simply call the function as "zap/init" ($ZDOTDIR/functions is
> in my $fpath as well).
>
> This works and seems to be quite a nice way to handle namespacing, but
> perhaps I'm missing something vital here.
>
> Any comments?
I don't suppose anyone intended this to work, but the handling of paths
internally is generally fairly straightforward, so there's no reason why
you shouldn't use it if it works.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author