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

Re: Suggestion: Allow whence to report path(s) for autoloaded functions



On Tue, 21 Apr 2009 14:14:09 -0700
Ian Tegebo <ian.tegebo@xxxxxxxxx> wrote:
> Given a function name, I'm finding it useful to know where it's
> located within fpath:

There's a standard trick for this:

print $^fpath/_MYFUNC(N)

> (BTW, is zsh-workers@ more appropriate for discussing changes to builtins?)

Probably, although it's often borderline.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author