summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc19
1 files 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