Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

alias bug on solaris machines



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