bin/perldoc

Thu, 16 May 2024 14:51:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 May 2024 14:51:53 -0500
changeset 1167
f5f84f890974
parent 774
d6a54f86ab10
permissions
-rwxr-xr-x

Update for neovim 0.10

Drop editorconfig (added to 0.9)
Gate pull_diags (added to 0.10)

#!/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 $*

mercurial