summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 17946ad..2b68180 100644
--- a/.zshrc
+++ b/.zshrc
@@ -49,6 +49,7 @@ export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export GEM_HOME=$HOME/lib/ruby/
+export GEM_PATH=$HOME/lib/ruby/:$GEM_PATH
export TERM=rxvt-256color
export PYTHONPATH=$PYTHONPATH:~/lib/python/
export CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall"
@@ -93,7 +94,7 @@ esac
case `hostname` in
2pac*|CLuster|coltrane*|donna*|vicious*)
export GEM_HOME=/toolbox/ruby/
- export GEM_PATH=/toolbox/ruby
+ export GEM_PATH=$HOME/lib/ruby/:$GEM_PATH
export PYTHONPATH=$PYTHONPATH:/toolbox/python/lib/python2.7/site-packages
export PATH=~/vim/bin:/toolbox/scripts:/opt/java/bin/:/toolbox/ruby/bin/:$PATH
export JAVA_HOME=/usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6
@@ -105,6 +106,12 @@ case `hostname` in
;;
esac
+case `hostname` in
+ CLuster)
+ export GEM_HOME=$HOME/lib/ruby/
+ ;;
+esac
+
function youtube() { mplayer -xy 0.5 $(youtube-dl -g "$@") ;}
alias ls='ls -h --color=auto'