summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 60509f8..4164e28 100644
--- a/.zshrc
+++ b/.zshrc
@@ -153,7 +153,6 @@ alias updatedb='sudo updatedb'
alias qmv='qmv -evim -fdo'
alias dusage='du -hs *'
alias df='df -h'
-alias diff='colordiff'
alias iwlist='sudo iwlist wlan0 scan'
alias fumount='fusermount -u'
alias more='less'
@@ -182,6 +181,7 @@ alias always_on='xset dpms 0 0 0'
alias quotes='curl -s "http://download.finance.yahoo.com/d/quotes.csv?s=AAPL+AMD+GOOG&f=l1"'
alias irb='pry'
alias watch_d='while true; do clear; ps ax | grep -P "\sD\+?\s"; sleep 5; done'
+alias easy_install_home='easy_install --install-dir=$HOME/lib/python/site-packages'
if [[ -f ~/.zshrcp ]]; then
source ~/.zshrcp
fi
@@ -205,3 +205,11 @@ esac
stty -ixon # enable mapping of C-s in vim..
+diff () {
+ if hash colordiff 2>/dev/null; then
+ colordiff "$@"
+ else
+ diff "$@"
+ fi
+}
+