From f452e71b4741070885313cbf580d45235b6f423d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 7 Jul 2014 14:48:45 +0200 Subject: fix --- .zshrc | 12 ++---------- 1 file 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 -- cgit v1.2.3