fix(env): Do not override misc env set before sourcing oh-my-zsh

Sourcing oh-my-zsh happens in zshrc, which will override settings of
profile and zshenv.  Treat misc values, `PAGER` and `LESS`, as default
settings without overriding existing values.

Fixes: #1, robbyrussell/oh-my-zsh#3016
This commit is contained in:
Derek Michael Frank 2016-07-14 17:48:23 -07:00
commit 7cdd0f0eb3

View file

@ -19,8 +19,8 @@ fi
setopt long_list_jobs
## pager
export PAGER="less"
export LESS="-R"
env_default PAGER 'less'
env_default LESS '-R'
## super user alias
alias _='sudo'