summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-22 15:14:31 +0200
committerPatrick Simianer <p@simianer.de>2014-07-22 15:14:31 +0200
commit3f3d5ae236e99e6c9bca692a4f6ca30b9dec0583 (patch)
tree888d7e6cb4c4360e7e38a41722e4cf83511d82f8
parentc81819aa17c50ed4c53e2c903761d8f3aa679a91 (diff)
PATH
-rw-r--r--.zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index cfc8cdc..f44e6cd 100644
--- a/.zshrc
+++ b/.zshrc
@@ -92,7 +92,7 @@ case `hostname` in
export JAVA_HOME=/usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6
umask u=rwx,g=rwx,o=rx
alias tmux="TERM=screen-256color tmux -f ~/.tmux.`hostname`.conf"
- PATH=$PATH:/toolbox/scripts:/home/mitarb/simianer/bin:/home/pks/bin
+ PATH=$PATH:/toolbox/scripts:/toolbox/ruby/bin:/home/mitarb/simianer/bin:/home/pks/bin
;;
x)
PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
@@ -109,7 +109,8 @@ case `hostname` in
2pac|CLuster|node*)
export GEM_HOME=$HOME/lib/ruby/
export GEM_PATH=/toolbox/ruby/:$GEM_PATH
- PATH=$PATH:~/scripts:/home/pks/scripts
+ PATH=$PATH:/home/pks/scripts
+ PATH=`echo $PATH | sed -e 's/:\/toolbox\/scripts\/$//'`
;;
esac