summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-07 14:48:45 +0200
committerPatrick Simianer <p@simianer.de>2014-07-07 14:48:45 +0200
commitf452e71b4741070885313cbf580d45235b6f423d (patch)
tree03995838242ca032a8445f4da928c2351c4499a0
parentdcdc69e08aebb631673afd9a31c1717eecea041f (diff)
fix
-rw-r--r--.zshrc12
1 files changed, 2 insertions, 10 deletions
diff --git a/.zshrc b/.zshrc
index 37652a8..33bbe6f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,7 +1,3 @@
-if [[ ! "$TERM" == "screen-256color" ]]; then
- TERM="xterm-256color" #hack
-fi
-
zstyle ':completion:*' completer _complete _ignored
zstyle :compinstall filename '~/.zshrc'
autoload -Uz compinit promptinit
@@ -50,20 +46,16 @@ 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=rxvt-256color
+export TERM=xterm-256color
export PYTHONPATH=$PYTHONPATH:~/lib/python/
export CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall"
export CXXFLAGS="$CFLAGS"
case $TERM in
- *rxvt*|xterm*)
+ *256color*)
precmd () {print -Pn "\e]0;%n@%m%~\a"}
preexec () {print -Pn "\e]0;%n@%m%~ -- $1\a"}
;;
- screen*)
- precmd () {print -Pn "\e]0;%n@%m%~\a"}
- preexec () {print -Pn "\e]0;%n@%m%~\a"}
- ;;
esac
autoload -U colors && colors