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

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>