dotfiles/dot_bashrc.d/pager.sh

9 lines
145 B
Bash

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