Merge pull request #1795 from PopeLevi/patch-1

Added 'pg' to i3-sensible-pager
This commit is contained in:
Michael Stapelberg 2015-07-14 09:00:30 -04:00
commit 9d353fa46b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
# Hopefully one of these is installed (no flamewars about preference please!): # Hopefully one of these is installed (no flamewars about preference please!):
# We don't use 'more' because it will exit if the file is too short. # 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. # Worst case scenario we'll open the file in your editor.
for pager in $PAGER less most w3m i3-sensible-editor; do for pager in $PAGER less most w3m pg i3-sensible-editor; do
if command -v $pager > /dev/null 2>&1; then if command -v $pager > /dev/null 2>&1; then
exec $pager "$@" exec $pager "$@"
fi fi