Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
alias bug on solaris machines
- X-seq: zsh-users 12336
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: alias bug on solaris machines
- Date: Thu, 20 Dec 2007 14:46:02 +0100
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
I discovered a very strange behaviour on my solaris machine.
Aliases are treated like global aliases in some cases:
$ zsh -f
% echo $ZSH_VERSION
4.3.2
% alias
run-help=man
which-command=whence
% GREPCOLOR=""
% alias grep="grep $GREPCOLOR"
% echo "foo man bar" >> /tmp/bla
% grep run-help /tmp/bla
foo man bar
% uname -a
SunOS cms-qs 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V240
% cat /etc/release
Solaris 9 9/05 HW s9s_u9wos_06b SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 25 September 2006
Thanks,
Andy.
--
Great spirits have always encountered violent opposition from
mediocre minds. - Albert Einstein
Messages sorted by:
Reverse Date,
Date,
Thread,
Author