summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-25 16:03:01 +0200
committerPatrick Simianer <p@simianer.de>2014-06-25 16:03:01 +0200
commit90c41223c0b501c4fb190a48d8185c040dfa2560 (patch)
tree5fa1724ce7939c19c820df2f2a0a7fa929146408
parent8d640ba5434de99dc6a9b832b4a0b716523101df (diff)
fix
-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'