.lib/stubs/scdoc@b0a0ba3240b5
.lib/stubs/scdoc
Wed, 25 Sep 2024 15:03:13 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 25 Sep 2024 15:03:13 -0500
- changeset 1179
- b0a0ba3240b5
- parent 1107
-
c6d7ac40bd3c
- permissions
- -rwxr-xr-x
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
#!/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