Move gnome-terminal hack eariler.

This commit is contained in:
Gea-Suan Lin
2014-11-05 02:21:33 +08:00
parent 378c7f31b9
commit 9aed10b799
2 changed files with 10 additions and 10 deletions

10
.zshrc
View File

@@ -33,6 +33,11 @@ else
export PAGER="less"
fi
#
# Hack for gnome-terminal
if [[ "$COLORTERM" == "gnome-terminal" ]]; then
export TERM=xterm-256color
fi
#
autoload -Uz compinit
compinit
#
@@ -88,11 +93,6 @@ else
alias "ls=/bin/ls -aF"
fi
#
# Hack for gnome-terminal
if [[ "$COLORTERM" == "gnome-terminal" ]]; then
export TERM=xterm-256color
fi
#
export BLOCKSIZE="k"
export EDITOR="vim"
export GIT_PAGER="less"