diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-22 14:39:34 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-22 14:39:34 +0200 |
commit | 102de598ca3b8c833823a11e3d4f6ce64955562b (patch) | |
tree | f53e6532d63923bad621f6eb619441d023e0cdd9 | |
parent | 160b0699cd3671176c06f088044022eb76fdbd50 (diff) |
CXXFLAGS, PATH
-rw-r--r-- | .zshrc | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -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 |