Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Autoloaded bash shell scripts treated as zsh
- X-seq: zsh-users 8566
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Autoloaded bash shell scripts treated as zsh
- Date: Tue, 08 Mar 2005 10:36:52 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <loom.20050308T002806-601@xxxxxxxxxxxxxx> <1050308060521.ZM1835@xxxxxxxxxxxxxxxxxxxxxxx> <6kuq215kpsui4qe9q13ed3dmoo64hd1loh@xxxxxxx> <200503081026.j28AQJsM017551@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Tue, 08 Mar 2005 10:26:18 +0000, wrote:
>reload() {
> if (( $# == 0 )); then
> print "Reload what?" >&2
> return 1
> fi
>
> while (( $# )); do
> unfunction $1 && autoload $1
> shift
> done
>}
Thanx Peter, i'll borrow that thanx.
It's easy to forget that you can't just edit a zsh autoloaded function, and then run it!!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author