Commit 3ed37f47 authored by Derek Frank's avatar Derek Frank Committed by Marc Cornellà
Browse files

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

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
parent 62b0abdb
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment