From 90c41223c0b501c4fb190a48d8185c040dfa2560 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 25 Jun 2014 16:03:01 +0200 Subject: fix --- .zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3