Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Removal of autoloads via module name only
- X-seq: zsh-workers 23603
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Removal of autoloads via module name only
- Date: Mon, 25 Jun 2007 21:58:13 +0100
- In-reply-to: Message from Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> of "Mon, 25 Jun 2007 21:18:13 BST." <200706252018.l5PKIDEw010946@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> zmodload allows you to say "zmodload -ab foo" which will mark buitin
> "foo" to be autoloaded from module "foo". This has been useless for
> zsh's own modules since we put them in the namespace zsh/...; none of
> the four autoloadable features allow slashes and we don't do any
> automatic mangling on module or feature names (nor do I think we
> should).
This isn't quite true, as I just discovered from a test in V01zmodload.ztst:
alias -A example=zsh/example
zmodload -ab example
used to work. But I'm prepared to gloss over that if you are.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author