Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PWS :reload
- X-seq: zsh-users 8819
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: PWS :reload
- Date: Thu, 12 May 2005 15:48:28 +0100
- In-reply-to: Message from zzapper <david@xxxxxxxxxx> of "Thu, 12 May 2005 14:59:38 BST." <h8o681t5vaee6101u5u59tcn9slujg2j5n@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <lph681tkqplffuk8fh6vrope91gbb053mf@xxxxxxx> <21433.1115902923@xxxxxxx> <h8o681t5vaee6101u5u59tcn9slujg2j5n@xxxxxxx>
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