aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-27 02:46:03 +0300
committereug-vs <eug-vs@keemail.me>2021-03-27 02:46:03 +0300
commit581cc3cff61bddf6928ad034f18f98ff401bdb18 (patch)
treec97bd7406f62cd77850f5d7082a3398d6cb594db
parent98d45f93a7c8ea9f3b9a1745bfb0e7b7152e5b75 (diff)
downloaddotfiles-581cc3cff61bddf6928ad034f18f98ff401bdb18.tar.gz
feat(zsh): pass default options to LESS in env
-rw-r--r--.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index eb46726..04ce196 100644
--- a/.zshrc
+++ b/.zshrc
@@ -25,6 +25,7 @@ alias mux=tmuxinator
alias config='git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
# Env
+export LESS=R # Option to less so that git log/diff hide output after exit
export EDITOR=nvim
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm