commit 8bf27e91b9ccf9e717247fcaaa8f158eafbbc0e4
parent 389be2e24052d6693c816db4d28e886a7dd14435
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 31 Oct 2020 00:18:37 +0100
env: set a BAT_PAGER if needed; case insensitive less
Former-commit-id: 5b21c802d395ba981c9636e6e53ead5fb9ac2213
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shell/env b/shell/env
@@ -4,8 +4,8 @@ export DOTFILES="$HOME/.dotfiles"
EDITOR="$(command -v vim)"; export EDITOR
export MUSIC_DIR="/Volumes/HDD/Music/iTunes/iTunes Media/Music"
-if command -v bat 1>/dev/null 2>&1; then export PAGER="bat"
-else export PAGER="less -R"; fi
+if command -v bat 1>/dev/null 2>&1; then export PAGER="bat"; export BAT_PAGER="less -Ri"
+else export PAGER="less -Ri"; fi
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"