Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Removal of autoloads via module name only



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