Get rid of 'which' alias
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 24 May 2010 23:09:27 +0000 (16:09 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 24 May 2010 23:09:27 +0000 (16:09 -0700)
Some versions of 'which' don't have the flags we were setting.

.bashrc

diff --git a/.bashrc b/.bashrc
index 9abe74b..c3c0e18 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -16,7 +16,6 @@ case $- in
        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'
        alias grep='grep --color=tty -d skip'
        export PATH="${PATH}:${HOME}/cmccabe-bin"
        export EDITOR="/usr/bin/vim"