Merge pull request #1795 from PopeLevi/patch-1
Added 'pg' to i3-sensible-pager
This commit is contained in:
commit
9d353fa46b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user