1. #——————————————////
  2. #       Color Commands
  3. #——————————————////
  4. if [ -x /usr/bin/dircolors ]; then
  5.     eval “`dircolors -b`”
  6.     alias ls=’ls –color=auto’
  7.     alias dir=’dir –color=auto’
  8.     alias vdir=’vdir –color=auto’
  9.     alias grep=’grep –color=auto’
  10.     alias fgrep=’fgrep –color=auto’
  11.     alias egrep=’egrep –color=auto’
  12. fi

 

 

Ad above code to your bashrc file

Advertisements