diff options
-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 |