diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-07 14:48:45 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-07 14:48:45 +0200 |
commit | f452e71b4741070885313cbf580d45235b6f423d (patch) | |
tree | 03995838242ca032a8445f4da928c2351c4499a0 | |
parent | dcdc69e08aebb631673afd9a31c1717eecea041f (diff) |
fix
-rw-r--r-- | .zshrc | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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 |