dot/gpg.conf.m4, dot/gpg-agent.conf, Makefile: Adopt GnuPG configuration.
[profile] / bin / mdw-pager
... / ...
CommitLineData
1#! /bin/sh
2
3set -e
4pager=${MDW_PAGER-less}
5[ -t 1 ] || TERM=dumb
6case "$PAGER,$TERM" in
7 mdw-pager,dumb | \
8 mdw-pager,emacs | mdw-pager,emacs-grep)
9 pager=cat;;
10 mdw-pager,*);;
11 *,*) pager=$PAGER;;
12esac
13exec $pager "$@"