Quickly Add Color To The Terminal

Adding color to your terminal is easy.

Bash

Open up ~/.bash_profile and add the following two lines:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

Save, exit, log out, log in, and there you are!

Terminal-Coloring

TCSH
I was able to get the same effect putting the following in ~/.tcshrc:

setenv CLICOLOR "1"
setenv LSCOLORS "ExFxCxDxBxegedabagacad"

iTerm
Add the following to ~/.bash_profile:

export TERM=xterm-color
alias ls='ls -G'
alias ll='ls -hl'

Remember to log out then log back in and your terminal should have some color to it.

Leave a Reply