Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: missing -o kshautoload checks
- X-seq: zsh-workers 12466
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: missing -o kshautoload checks
- Date: Tue, 1 Aug 2000 16:23:13 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Tue, 1 Aug 2000 14:15:17 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Aug 1, 10:25am, Sven Wischnowsky wrote:
> }
> } Bart Schaefer wrote:
> }
> } > ...
> } >
> } > I haven't actually tried it, but I'm pretty sure that if you `zcompile -z'
> } > a file that ends with `[[ -o kshautoload ]] && $0 "$@"', and you have
> } > kshautoload set, you'll end up executing the function *twice* the first
> } > time it's autoloaded.
> }
> } No, it is *not* executed on the first call. Ok, it is executed, but
> } one won't see that because it only redefines itself (and any helper
> } functions).
>
> I think you're wrong, but it's because I've tricked you with a typo.
;-) Right.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author