summaryrefslogtreecommitdiffstats
path: root/bashrc/common/pager.sh
blob: 8e3217de7335257435b31586c4d7103278177381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pager options

# use less by default ...
if hash less > /dev/null 2>&1 ; then
	export PAGER=less
	export LESS="-R --ignore-case --long-prompt"
fi

# but user most, if available
if hash most > /dev/null 2>&1 ; then
	export PAGER=most
	export MANPAGER=most
fi