From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3454 invoked from network); 1 Aug 2000 14:23:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2000 14:23:42 -0000 Received: (qmail 11501 invoked by alias); 1 Aug 2000 14:23:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12466 Received: (qmail 11494 invoked from network); 1 Aug 2000 14:23:20 -0000 Date: Tue, 1 Aug 2000 16:23:13 +0200 (MET DST) Message-Id: <200008011423.QAA07334@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Tue, 1 Aug 2000 14:15:17 +0000 Subject: 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@informatik.hu-berlin.de