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

Re: PWS :reload



On Thu, 12 May 2005 15:48:28 +0100,  wrote:

>zzapper wrote:
>> I never remember that I need to say autoload the first time of use that's all
>> .
>
>You might want to ignore the result of unfunction.
>
>reload() {
>while (( $# )); do
>  unfunction $1 2>/dev/null
>  autoload $1
>  shift
>done
>}
>
Can I have a warning that the function wasn't already loaded?

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