Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: strange alias effects
- X-seq: zsh-users 3100
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH User List" <zsh-users@xxxxxxxxxxxxxx>
- Subject: RE: strange alias effects
- Date: Mon, 29 May 2000 16:30:44 +0400
- Importance: Normal
- In-reply-to: <20000529141336.A31206@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
>
> > Sorry, this is of course wrong. You just seem to have alias
> definition
> > *after* function definition. Because aliases are expanded
> when function
> > is *defined*, they are not seen when functnio is executed.
> 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 }
to both ~/.zshenv and ~/.zshrc. In both cases it works as expected.
Sourcing file with the above defintions from .zshrc works as well. This
is with current CVS version.
>
> PS: cc to me is not necessary. I am usually subscribed to the lists
> I post to. :-)
>
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
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author