9abe74b5f5a78bb48ecb5671bf472d1b504f6fbb
[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 which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
20         alias grep='grep --color=tty -d skip'
21         export PATH="${PATH}:${HOME}/cmccabe-bin"
22         export EDITOR="/usr/bin/vim"
23         export CSCOPE_EDITOR="${EDITOR}"
24         ;;
25 *)
26         # non-interactive shell
27         ;;
28 esac