ansible-role--bashrc/files/bashrc.d/70-util-pager.sh

11 lines
138 B
Bash
Raw Permalink Normal View History

2015-11-17 11:07:59 +00:00
#!/bin/sh
# Pager detection
for pager in most less more ; do
if hash $pager 2> /dev/null ; then
export PAGER=$pager
break
fi
done