Add color to grep
[cmccabe-etc] / .bashrc
1 # .bashrc
2
3 # Source global definitions
4 if [ -f /etc/bashrc ]; then
5         . /etc/bashrc
6 fi
7
8 case $- in
9 *i*)
10         # interactive shell
11         alias ls='ls --color=auto'
12         alias mv='mv -i'
13         alias vi='vim'
14         alias wget='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"'
15         alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
16         alias grep='grep --color=tty -d skip'
17         export PATH="${PATH}:${HOME}/cmccabe-bin"
18         export EDITOR="/usr/bin/vim"
19         export CSCOPE_EDITOR="${EDITOR}"
20         ;;
21 *)
22         # non-interactive shell
23         ;;
24 esac