bin/perldoc

Wed, 26 Apr 2023 10:58:22 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 26 Apr 2023 10:58:22 -0500
changeset 1106
902c7d44ab23
parent 774
d6a54f86ab10
permissions
-rwxr-xr-x

add just and fzf stubs, also install gum from binary

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