zsh-workers
 help / color / mirror / code / Atom feed
From: "Richard Hartmann" <richih.mailinglist@gmail.com>
To: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Feature suggestion for autoload
Date: Tue, 15 Jul 2008 19:10:19 +0200	[thread overview]
Message-ID: <2d460de70807151010m344b9a7dmeaca569f538b51c8@mail.gmail.com> (raw)

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 :)


             reply	other threads:[~2008-07-15 17:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 17:10 Richard Hartmann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d460de70807151010m344b9a7dmeaca569f538b51c8@mail.gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).