Thu, 04 Apr 2019 23:27:23 -0500
add git-histedit
672 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
743
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
4 | if [ -t 1 ]; then |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
5 | export PERLDOC="-oterm ${PERLDOC:-}" |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
6 | fi |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
7 | |
672 | 8 | if [ -x "$(command -v cpandoc)" ]; then |
9 | exec cpandoc $* | |
10 | fi | |
11 | exec perldoc $* |