On Mon, Dec 2, 2013 at 1:17 PM, Peng Yu <pengyu...@gmail.com> wrote:

> On ubuntu, `ls --color=auto` colors .gz files. But it (the one from
> macports) does not .gz files on Mac. Does anybody know how to make it
> color .gz files as well on mac? Thanks.
>

Run `echo $LS_COLORS` on your Linux system. Arrange to have that same value
set on OS X. (Linux systems typically have a lot of strange stuff set up by
scripts in /etc/profile.d/*. I usually end up working around large chunks
of it, because the Linux distributions like to e.g. force their $PATH down
my throat at every opportunity. At one point I was setting $PATH in a zsh
precmd function, because that was the only way to stop (pre-"enterprise")
Red Hat and SuSE from overriding it.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to