ansible-role--bash/files/bashrc.d/70-util-pager.sh
2024-07-12 14:12:40 +02: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