aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_profile7
-rw-r--r--_zsh/90-exports.zsh11
2 files changed, 10 insertions, 8 deletions
diff --git a/_profile b/_profile
index 7beabfc..72d3c2f 100644
--- a/_profile
+++ b/_profile
@@ -78,6 +78,13 @@ 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 PAGER="less"
+export LESS="--ignore-case --raw-control-chars"
+
## LS colors
if _exists dircolors; then
eval $(dircolors -b)
diff --git a/_zsh/90-exports.zsh b/_zsh/90-exports.zsh
index e679330..e430aea 100644
--- a/_zsh/90-exports.zsh
+++ b/_zsh/90-exports.zsh
@@ -2,14 +2,9 @@
# zsh/exports.zsh
#
-# set locale and PATH in '~/.profile'
-
-export EDITOR='vim'
-export PAGER='less'
-export LESS='--ignore-case --raw-control-chars'
-
-# Setup terminal, and turn on colors
-#export TERM='xterm-256color'
+# NOTE:
+# Generic environment variables and those needing been set only once
+# should go to `~/.profile'.
# GnuPG: see 'gpg-agent(1)'
export GPG_TTY=$(tty)