summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc15
1 files changed, 11 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index 1233994..38e7784 100644
--- a/.zshrc
+++ b/.zshrc
@@ -48,8 +48,7 @@ export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export GEM_HOME=$HOME/lib/ruby/
export GEM_PATH=$HOME/lib/ruby/:$GEM_PATH
-export TERM=xterm-256color
-export PYTHONPATH=$PYTHONPATH:~/lib/python/
+export PYTHONPATH=$PYTHONPATH:~/lib/python/site-packages
export CFLAGS="-march=native -mtune=native"
export CXXFLAGS="$CFLAGS"
@@ -60,6 +59,14 @@ case $TERM in
;;
esac
+case $TERM in
+ screen-256color)
+ ;;
+ *)
+ TERM=xterm-256color
+ ;;
+esac
+
autoload -U colors && colors
case `hostname` in
2pac)
@@ -93,7 +100,7 @@ case `hostname` in
export PYTHONPATH=$PYTHONPATH:/toolbox/python/lib/python2.7/site-packages
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"
+ alias tmux="tmux -f ~/.tmux.`hostname`.conf"
;;
x)
PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
@@ -113,7 +120,7 @@ esac
case `hostname` in
CLuster|node*)
- alias tmux="TERM=screen-256color tmux -f ~/.tmux.CLuster.conf"
+ alias tmux="tmux -f ~/.tmux.CLuster.conf"
;;
esac