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’



Leave a Reply