zsh-workers
 help / color / mirror / code / Atom feed
* Feature suggestion for autoload
@ 2008-07-15 17:10 Richard Hartmann
  2008-07-16  1:39 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Hartmann @ 2008-07-15 17:10 UTC (permalink / raw)
  To: Zsh hackers list

I just wanted to put some functions in an extra folder & autoload
them, but I don't have my ZSH book here so I could not look up
the snippet to autoload all functions in a directory. This has got
me thinking about an extra option for autoload which allows you
to autoload all functions in a directory. Additionally, an option to
autoload everything it finds could be useful for some though I
doubt I would use it.
Another option would be to define an array and load everything
in said array. This could make a long list os autoloads more
readable.

I am not sure how useful this would be for others, so feedback
would be appreciated.


Richard

PS: Yes, I am aware this could all be done in a function. A
function which could the be autoloaded for some nice
recursion :)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-17 14:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-15 17:10 Feature suggestion for autoload Richard Hartmann
2008-07-16  1:39 ` Bart Schaefer
2008-07-16 23:44   ` Richard Hartmann
2008-07-17  0:55     ` Phil Pennock
2008-07-17  9:05     ` Peter Stephenson
2008-07-17 13:24       ` Richard Hartmann
2008-07-17 13:43         ` Bart Schaefer
2008-07-17 14:33           ` Richard Hartmann

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).