diff options
author | Starfall <us@starfall.systems> | 2021-10-06 21:01:40 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-10-06 21:01:40 -0500 |
commit | 196235399b337a949b0448e1155f9ef055da3112 (patch) | |
tree | aadf9c5e0213171c70b264c93203c6c75257d326 /.config | |
parent | 0f9befd947983ecf93829371654ba9f8dfbffc55 (diff) |
zsh: use long form of less -R option and put it in .zshenv instead
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshenv | 1 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index d002695..dd98e05 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,5 +1,6 @@ export EDITOR='vim' export PAGER='less' +export LESS='--RAW-CONTROL-CHARS' if [[ $INTELLIJ -eq 1 ]]; then export PATH=/usr/local/bin:/usr/bin:$PATH diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 1f2baac..b776899 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -15,7 +15,6 @@ setopt interactive_comments # colors in various core utils alias diff='diff --color' -export LESS='-R' grep_opts="--color=auto --exclude-dir=.git" alias grep="grep $grep_opts" |