How to permanently enable pretty ls colors in Bash in OS X

To permanently enable pretty list colors in the terminal, first enter this command:

nano ~/.profile

Once in nano, add the following line to your profile:

export CLICOLOR=1

If, like me, you like to use a dark background in terminal, also add this line. It’ll lighten up the unreadable blue used for directories:

export LSCOLORS=Hxfxcxdxbxegedabagacad

Leave a Reply