summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-22 15:40:46 +0200
committerPatrick Simianer <p@simianer.de>2014-07-22 15:40:46 +0200
commitbf82aa1c1243a6545a76d7692f263854b4f6e2ac (patch)
treeda80a21cd0918fe669b028aed44634a1f68ae76a
parente0767c3a40f1762faf701a8781df4d22874a6c31 (diff)
PATH
-rw-r--r--.zshrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index cf95f8b..a1cde90 100644
--- a/.zshrc
+++ b/.zshrc
@@ -36,7 +36,7 @@ ex () {
}
umask 0077
-export PATH=$PATH:~/bin:~/lib/ruby/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
+export PATH=~/bin:~/lib/ruby/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH
export RUBYOPT=-Ku
export CCACHE_PATH=/usr/bin
export TEXMFHOME='~/.texmf'
@@ -86,7 +86,7 @@ esac
case `hostname` in
2pac|CLuster|node*|coltrane|donna|vicious)
PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} "
- export PATH=$PATH:/toolbox/scripts:/toolbox/ruby/bin:/home/mitarb/simianer/bin:/home/pks/bin:~/vim/bin:/opt/java/bin
+ export PATH=/home/mitarb/simianer/bin:/home/pks/bin:~/vim/bin:/opt/java/bin:/toolbox/ruby/bin:$PATH
export GEM_HOME=/toolbox/ruby/
export PYTHONPATH=$PYTHONPATH:/toolbox/python/lib/python2.7/site-packages
export JAVA_HOME=/usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6
@@ -108,8 +108,9 @@ case `hostname` in
2pac|CLuster|node*)
export GEM_HOME=$HOME/lib/ruby/
export GEM_PATH=/toolbox/ruby/:$GEM_PATH
- PATH=$PATH:/home/pks/scripts
- PATH=`echo $PATH | sed -e 's/:\/toolbox\/scripts\/$//'`
+ ;;
+ coltrane|donna|vicious)
+ export PATH=/toolbox/scripts:$PATH
;;
esac