Added 'pg' to i3-sensible-pager

Added 'pg' to the list of pagers in i3-sensible-pager
This commit is contained in:
PopeLevi 2015-07-14 20:03:55 +12:00
parent ccfd783bf2
commit 2b3aa559c0

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