Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strange alias effects
- X-seq: zsh-users 3102
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: strange alias effects
- Date: Mon, 29 May 2000 14:59:01 +0200
- In-reply-to: <000001bfc969$b5890c70$21c9ca95@xxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Mon, May 29, 2000 at 04:30:44PM +0400
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000529141336.A31206@xxxxxxxxxxxx> <000001bfc969$b5890c70$21c9ca95@xxxxxxxxxxxxxx>
> > 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@xxxxxxxxx URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"security is an exercise in applied paranoia" -- Unknown
Messages sorted by:
Reverse Date,
Date,
Thread,
Author