ansible-role--bashrc/files/bashrc.d/70-util-editor.sh
@@@No user configured@@@ fc5f81307c Reorganize bash role.
2015-11-18 00:57:38 +01:00

10 lines
138 B
Bash

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