# add some color on grep match alias grep=grep --color=auto # ls colors # case "$OSTYPE" in # *darwin*) # export CLICOLOR=1 # alias ls="ls --color=auto" # ;; # *linux*) # alias ls="ls --color" # ;; # esac # gnome terminal knows colors [[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color [[ "$COLORTERM" == "xfce4-terminal" ]] && export TERM=xterm-256color # vim: ft=bash