bin/tectonic

Sun, 05 Mar 2023 23:19:03 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 23:19:03 -0500
changeset 1066
c826661721a8
parent 1005
42fb34b64292
permissions
-rwxr-xr-x

detect presence of nvim

1005
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 age_limit=30
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 mkdir -p ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 cd ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 sh
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 cd -
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 asdf reshim || :
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 }
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 . ~/.lib/sh/stubexec.sh

mercurial