Colorize Mac ls output
By tonybeckham on Jun 14, 2007
Being an avid user of unices, I really like having color output when I use the ls command. In the past I have gone through a detailed process of getting GNU fileutils and building my own ls from that, and putting that version of ls in my path. Lots of hogwash, right? I just found out that for whatever reason, the dudes at Apple decided to change the color flag for their ls from "color" to "G". So that's, it. To enable color output of ls on Mac, just add an alias to your shel profile of:
alias ls="ls -G"
Now,enjoy colored ls output. However, since I use a black background on my terminal, the blue is hard to read so I also ad this to my profile as well:
I don't know what it all means but the colors it makes work for me.