From: PopeLevi Date: Tue, 14 Jul 2015 08:03:55 +0000 (+1200) Subject: Added 'pg' to i3-sensible-pager X-Git-Tag: 4.11~78^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F1795%2Fhead;p=i3%2Fi3 Added 'pg' to i3-sensible-pager Added 'pg' to the list of pagers in i3-sensible-pager --- diff --git a/i3-sensible-pager b/i3-sensible-pager index 5ad78606..ce71686b 100755 --- a/i3-sensible-pager +++ b/i3-sensible-pager @@ -11,7 +11,7 @@ # 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. # 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 exec $pager "$@" fi