dotfiles/dot_bashrc.d/pager.sh

9 lines
145 B
Bash
Raw Normal View History

2021-04-13 14:43:04 -04:00
LESS="-R"; export LESS
if which most > /dev/null 2>&1 ; then
PAGER=most
else
PAGER=less
fi
export PAGER
DELTA_PAGER=less; export DELTA_PAGER