bin/scdoc@91b42a87c3d9
bin/scdoc
Fri, 10 Mar 2023 18:38:00 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 10 Mar 2023 18:38:00 -0500
- changeset 1074
- 91b42a87c3d9
- parent 1006
-
12d7a48cef22
- permissions
- -rwxr-xr-x
port tig plugin to lua
#!/bin/sh
set -eu
age_limit=180
install_it() {
local scratch="$(mktemp -d)"
trap 'rm -rf -- "$scratch"' EXIT
git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch"
make -C "$scratch" install PREFIX="$HOME/.local"
rm -rf -- "$scratch"
asdf reshim || :
}
. ~/.lib/sh/stubexec.sh