bin/gum

Fri, 05 Aug 2022 20:56:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 05 Aug 2022 20:56:17 -0500
changeset 997
9e1ec7624f59
parent 996
5563c242fe04
child 1002
8284b9cac608
permissions
-rwxr-xr-x

Update for newer configs, use autostash

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
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 # TODO: add an expiry system to stubexec?
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