diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-06-08 15:07:04 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-06-08 15:07:04 -0700 |
commit | ede65127cb813cd1efc8c8237c69c4308a761b33 (patch) | |
tree | f9540a6f5556bb924698656f5410a3062667cf6b /bin/dvtm-pager | |
parent | ac78d59c80b627a5332ac64a7d4359389c4251fa (diff) |
feat: added dvtm underneath source tree
Diffstat (limited to 'bin/dvtm-pager')
-rwxr-xr-x | bin/dvtm-pager | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/dvtm-pager b/bin/dvtm-pager new file mode 100755 index 0000000..975582b --- /dev/null +++ b/bin/dvtm-pager @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ ! -z "$DVTM_PAGER" ]; then + PAGER="$DVTM_PAGER" +elif [ ! -z "$PAGER" ]; then + PAGER="$PAGER" +else + PAGER="less -R" +fi + +exec $PAGER "$@" |