bin/perldoc@7453a9387eb3
bin/perldoc
Fri, 07 May 2021 00:09:07 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 07 May 2021 00:09:07 -0500
- changeset 903
- 7453a9387eb3
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
fix annoyance on older vim - interacts badly with stopinsert trigger
#!/bin/sh
set -eu
if [ -t 1 ]; then
export PERLDOC="-oterm ${PERLDOC:-}"
fi
if [ -x "$(command -v cpandoc)" ]; then
exec cpandoc $*
fi
BIN="$(which -a perldoc | grep -v $0 | head -n 1)"
exec $BIN $*