bin/gum

Fri, 06 Jan 2023 12:12:04 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 Jan 2023 12:12:04 -0600
changeset 1008
57b5c867f2a6
parent 1002
8284b9cac608
child 1106
902c7d44ab23
permissions
-rwxr-xr-x

add ri alias

996
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
1002
8284b9cac608 Add age limit reinstall check
Meredith Howard <mhoward@roomag.org>
parents: 996
diff changeset
4 age_limit=7
996
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 go install github.com/charmbracelet/gum@latest
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 asdf reshim || :
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 }
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 . ~/.lib/sh/stubexec.sh

mercurial