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

Re: PWS :reload



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
}

or something.

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