Skip to content
Aug 15 / Nizam Sayeed

Enabling color directory listings in Mac OS X Terminal

Add these two lines to your ~/.bash_profile to enable color in OS X Terminal:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

For more reference:
ls(1) Mac OS X Manual Page