bin/scdoc@8b90bfdedd2b
bin/scdoc
Wed, 22 Feb 2023 12:42:05 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 22 Feb 2023 12:42:05 -0600
- changeset 1044
- 8b90bfdedd2b
- parent 1006
-
12d7a48cef22
- permissions
- -rwxr-xr-x
spin out completion.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