From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8726 invoked from network); 29 May 2000 10:14:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 May 2000 10:14:04 -0000 Received: (qmail 22574 invoked by alias); 29 May 2000 10:13:29 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3095 Received: (qmail 22567 invoked from network); 29 May 2000 10:13:28 -0000 From: "Bart Schaefer" Message-Id: <1000529101300.ZM1298@candle.brasslantern.com> Date: Mon, 29 May 2000 10:13:00 +0000 In-Reply-To: <20000529115637.A26887@br-online.de> Comments: In reply to Andy Spiegl "strange alias effects" (May 29, 11:56am) References: <20000529115637.A26887@br-online.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Andy Spiegl , ZSH User List Subject: Re: strange alias effects MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 29, 11:56am, Andy Spiegl wrote: } Subject: strange alias effects } } Can anyone explain this to me, please? Did you happen to compile your dot-files with zcompile? As previously discussed, aliases and compilation don't play well together because compilation records the lexical tokens as of the instant of compilation and bypasses alias expansion at time of execution. It's the same problem as "Bart Schaefer's rule" in FAQ 2.3, except that the entire zcompile'd file behaves as if it were one giant function definition. Even if that's not your problem, it probably deserves a FAQ mention. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net