aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-12 17:09:26 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-12 17:09:26 +0800
commitd544909bd58f95c4be11d1347d53d6563c6ad65d (patch)
treec2371c89d48d725ee65c19c2df8497e84d7f1b66
parent316129cf727f3f237d0f8a9898555905ce0df5eb (diff)
downloaddotfiles-d544909bd58f95c4be11d1347d53d6563c6ad65d.tar.bz2
profile: Do not explicitly set "TERM"
Let the terminal application to set the appropriate terminal type, e.g., tmux will set its TERM to "screen-256color" which will work well with ZSH special key bindings.
-rw-r--r--_profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/_profile b/_profile
index 09e8925..806b7e2 100644
--- a/_profile
+++ b/_profile
@@ -77,10 +77,8 @@ export QT_IM_MODULE="${INPUT_METHOD}"
# Enable the CJK N-gram tokenization algorithm for CJK indexing and search
export XAPIAN_CJK_NGRAM=1
-# Default terminal type to enable more colors
-export TERM="xterm-256color"
-
export EDITOR="vim"
+export VISUAL="${EDITOR}"
export PAGER="less"
export LESS="--ignore-case --raw-control-chars"