- Unsupervised Learning
- Posts
- How to Add Directory Colors to OS X’s Terminal
How to Add Directory Colors to OS X’s Terminal
![vim_visualselect](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/911c60db-d015-4e62-921a-46b323aabd5e/vim_visualselect1.jpg)
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.