Add a little color to Macs Terminal

I added a little color to Mac Terminal.

Here is how.

To edit the file(s) use:

nano ~/.bash_profile
nano ~/.bashrc

If no .bash_profile and .bashrc the do the following to create them.

In the Terminal enter:

touch ~/.bash_profile
touch ~/.bashrc

Then you can use nano to edit the files.

Add the following to the .bash_profile

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad

To immediately enable any changes in the file .bash_profile use source:

source ~/.bash_profile

This will assign a new set of colors to the terminal text.