.lib/stubs/scdoc@2543467f42da
.lib/stubs/scdoc
Sun, 05 May 2024 14:17:22 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sun, 05 May 2024 14:17:22 -0500
- changeset 1161
- 2543467f42da
- parent 1107
-
c6d7ac40bd3c
- permissions
- -rwxr-xr-x
Make auto-prune a standalone file plugin too
#!/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