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

Re: PWS: reload



On Wed, 20 Jul 2005 16:52:01 +0100,  wrote:

>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.
>

Sorry PWS
AYS it does work from "anywhere", isn't it frustrating when one jumps to a conclusion!!
>

-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips



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