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

Re: PWS: reload



zzapper wrote:
> It'd be really useful if your reload function would "find" the script whereev
> er it might lie in the
> path.
> I've tried the
> autoload =somescript but it doesn't seem to work.

reload doesn't work on scripts, it works on functions.

It doesn't matter where the function lives in the path; you don't refer to
it by the full path anyway, just the function name.

Functions doen't live in $path, like scripts, they live in $fpath, so =
won't find them.

pws


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



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