bin/gum

Fri, 09 Sep 2022 12:30:42 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Sep 2022 12:30:42 -0400
changeset 1002
8284b9cac608
parent 996
5563c242fe04
child 1106
902c7d44ab23
permissions
-rwxr-xr-x

Add age limit reinstall check

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