diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-12-06 01:52:12 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-12-06 01:52:12 +0800 |
commit | a33c005fd08354234b6c8599eaf6f6102e4fc655 (patch) | |
tree | beb9afb188fa5224c4dff014cbc976202d8672d2 | |
parent | ec885647ce018bbe4dc395a47550d91f8b0cf83e (diff) | |
download | dotfiles-a33c005fd08354234b6c8599eaf6f6102e4fc655.tar.bz2 |
_zsh: Move some environment variables to _profile
-rw-r--r-- | _profile | 7 | ||||
-rw-r--r-- | _zsh/90-exports.zsh | 11 |
2 files changed, 10 insertions, 8 deletions
@@ -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) |