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

Re: PATCH: Re: missing -o kshautoload checks



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