How to Add Directory Colors to OS X’s Terminal

vim_visualselect

It’s kind of annoying that ls --color doesn’t work in OS X. Fortunately you can get the same effect by adding the following to your .bash_profile :

export CLICOLOR=true

Edit: Evidently you can do this with the -G switch to ls as well. Thanks for the tip, Joel.

Related posts: