Why .gz files are not colored with `ls --color=auto`?

2013-12-02 Thread Peng Yu
Hi, 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. -- Regards, Peng ___ macports-users mailing list

Re: Why .gz files are not colored with `ls --color=auto`?

2013-12-02 Thread Brandon Allbery
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.

Re: Why .gz files are not colored with `ls --color=auto`?

2013-12-02 Thread Jason Swails
On Mon, 2013-12-02 at 12:17 -0600, Peng Yu wrote: Hi, 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. According to the GNU manpage for ls (on Linux):