Add colors to the text in terminal application in Mac OS X

Just add the following 2 lines to your /etc/profile, ~/.profile or ~/.bash_profile:

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced

Then to make it work you have to close and open again the terminal application.

Source: StackOverflow.

You might also like

Change your shell prompt
The same way we added colors to the text in terminal application in Mac OS X, you can change the default...

Turn on syntax highlighting for vi and vim in Mac OS X
Turning syntax highlighting for vi and vim in Mac OS X is as simple as creating a file called ".vimrc"...

Turn on syntax highlighting for vi and vim in Mac OS X
Turning syntax highlighting for vi and vim in Mac OS X is as simple as creating a file called ".vimrc"...

Collada-dom 3D models having black textures bug solution
I used to have a problem with Collada-dom 3D models textures. Some times they were not correctly applied...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.