From 102de598ca3b8c833823a11e3d4f6ce64955562b Mon Sep 17 00:00:00 2001
From: Patrick Simianer <p@simianer.de>
Date: Tue, 22 Jul 2014 14:39:34 +0200
Subject: CXXFLAGS, PATH

---
 .zshrc | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/.zshrc b/.zshrc
index 3674481..e4e4b70 100644
--- a/.zshrc
+++ b/.zshrc
@@ -36,7 +36,7 @@ ex () {
 }
 
 umask 0077
-export PATH=~/bin:~/src/scripts:~/lib/ruby/bin:/usr/sbin/:$PATH
+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'
@@ -48,7 +48,7 @@ export GEM_HOME=$HOME/lib/ruby/
 export GEM_PATH=$HOME/lib/ruby/:$GEM_PATH
 export TERM=xterm-256color
 export PYTHONPATH=$PYTHONPATH:~/lib/python/
-export CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall"
+export CFLAGS="-march=native -mtune=native"
 export CXXFLAGS="$CFLAGS"
 
 case $TERM in
@@ -85,21 +85,23 @@ esac
 
 case `hostname` in
   2pac|CLuster|node*|coltrane|donna|vicious)
+    PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} "
     export GEM_HOME=/toolbox/ruby/
     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
-    umask u=rwx,g=rwx,o=
+    umask u=rwx,g=rwx,o=rx
     alias tmux="TERM=screen-256color tmux -f ~/.tmux.`hostname`.conf"
-    PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} "
+    PATH=/toolbox/scripts:/home/mitarb/simianer/bin:/home/pks/bin:$PATH
   ;;
   x)
-    alias c++='/usr/lib/colorgcc/bin/g++  -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall'
-    alias cc='/usr/lib/colorgcc/bin/gcc -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall'
+    PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
+    alias c++='/usr/lib/colorgcc/bin/g++ $CXXFLAGS'
+    alias cc='/usr/lib/colorgcc/bin/gcc $CFLAGS'
     alias cpp='c++'
     alias g++='c++'
     alias gcc='cc'
-    PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
+    PATH=~/src/scripts:$PATH
   ;;
 esac
 
@@ -107,11 +109,12 @@ case `hostname` in
   2pac|CLuster|node*)
     export GEM_HOME=$HOME/lib/ruby/
     export GEM_PATH=/toolbox/ruby/:$GEM_PATH
+    PATH=~/scripts:/home/pks/scripts:$PATH
   ;;
 esac
 
 case `hostname` in
-  node*)
+  CLuster|node*)
     alias tmux="TERM=screen-256color tmux -f ~/.tmux.CLuster.conf"
   ;;
 esac
-- 
cgit v1.2.3