Also check for empty $PAGER/$VISUAL/$EDITOR in i3-sensible-{editor,pager}

This commit is contained in:
Michael Stapelberg
2011-11-19 14:10:39 +00:00
parent 0ffcc00b15
commit ee43861fc4
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#
# Distributions/packagers can enhance this script with a
# distribution-specific mechanism to find the preferred pager.
which $PAGER >/dev/null && exec $PAGER "$@"
[ -n "$PAGER" ] && which $PAGER >/dev/null && exec $PAGER "$@"
# Hopefully one of these is installed:
which most >/dev/null && exec most "$@"