From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10413 invoked from network); 29 May 2000 13:01:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 May 2000 13:01:04 -0000 Received: (qmail 13536 invoked by alias); 29 May 2000 12:59:57 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3102 Received: (qmail 13529 invoked from network); 29 May 2000 12:59:57 -0000 Date: Mon, 29 May 2000 14:59:01 +0200 From: Andy Spiegl To: ZSH User List Subject: Re: strange alias effects Message-ID: <20000529145901.A32357@br-online.de> Mail-Followup-To: ZSH User List References: <20000529141336.A31206@br-online.de> <000001bfc969$b5890c70$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <000001bfc969$b5890c70$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, May 29, 2000 at 04:30:44PM +0400 X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de > > That would make sense to me, but I _do_ have the alias defined before > > the function. And since this was no problem until I upgraded to > > 3.1.7-pre-4 I suspect I found a tiny bug??? > I cannot reproduce it. I tried to add the same lines > > alias foo='echo xxx' > bar() { foo } These lines work for me, too. But they probably have to, as the FAQ says: be sure your .zshrc defines all of your aliases before it defines any of your functions. So the problem probably starts when there are more aliases after the definition of bar. I'll attach my (lengthy) .zsh/alias file. Please try it. > Well, unfortunately, to be able to reply to list I have to use "Reply to > all" ... and manually removing recipients every time ... > > It is exactly the reason I have procmail recipe that removes duplicates > ;-0 That's one solution. Using mutt is another. :-) Thanks, Andy. -- E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "security is an exercise in applied paranoia" -- Unknown