ansible-role--bashrc/files/bashrc.d/09-pager.sh
@@@No user configured@@@ 0609db4265 Add bashrc module.
2015-11-17 12:07:59 +01:00

10 lines
138 B
Bash

#!/bin/sh
# Pager detection
for pager in most less more ; do
if hash $pager 2> /dev/null ; then
export PAGER=$pager
break
fi
done