fix 'PAGER' setup

This commit is contained in:
Daniel Sommer 2025-05-15 11:06:47 +02:00
parent 0145b7684c
commit ee6362c5b8

View file

@ -23,7 +23,9 @@ export TEMP="/tmp"
export TMPDIR="/tmp"
export EDITOR="nvim"
export VISUAL="nvim"
if [[ "$(which bat 2> /dev/null)" ]]; then
which bat &> /dev/null
if [[ "$?" == "0" ]]; then
echo "BAT FOUND!"
export PAGER="bat"
else
export PAGER="less"