From: Colin Patrick McCabe Date: Mon, 8 Mar 2010 19:47:38 +0000 (-0800) Subject: Add .bashrc X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f11a964f2c3ac7b7c9303660a2a65585585db1;p=cmccabe-etc Add .bashrc --- diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..77f95a1 --- /dev/null +++ b/.bashrc @@ -0,0 +1,20 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +case $- in +*i*) + # interactive shell + alias ls='ls --color=auto' + alias mv='mv -i' + alias vi='vim' + alias wget='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"' + alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' + ;; +*) + # non-interactive shell + ;; +esac