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