From 06f11a964f2c3ac7b7c9303660a2a65585585db1 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Mon, 8 Mar 2010 11:47:38 -0800 Subject: [PATCH] Add .bashrc --- .bashrc | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 .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 -- 1.6.6.rc1.39.g9a42