Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strange alias effects
- X-seq: zsh-users 3095
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>, ZSH User List <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: strange alias effects
- Date: Mon, 29 May 2000 10:13:00 +0000
- In-reply-to: <20000529115637.A26887@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000529115637.A26887@xxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author