Add colours to Mac OSX Terminal

 

edit .profile file in your home directory, it’s a hidden file.

 

using the Terminal,

nano .profile

///now add the following text to the .profile file and save

//now run this command  $ source .profile

//after this you can try ‘ls’ command and view coloured terminal

export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad

alias ls=’ls -GFh’

 

creds:

http://osxdaily.com/2012/02/21/add-color-to-the-terminal-in-mac-os-x/

Leave a Reply