@ -12,7 +12,7 @@
|
||||
# We don't use 'more' because it will exit if the file is too short.
|
||||
# Worst case scenario we'll open the file in your editor.
|
||||
for pager in $PAGER less most w3m i3-sensible-editor; do
|
||||
if which $pager > /dev/null 2>&1; then
|
||||
if command -v $pager > /dev/null 2>&1; then
|
||||
exec $pager "$@"
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user