10 lines
138 B
Bash
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
|
|
|