.lib/stubs/gum

Mon, 08 May 2023 02:36:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 08 May 2023 02:36:32 -0500
changeset 1112
0ae7864c4ad8
parent 1110
e4edb1419e3f
permissions
-rwxr-xr-x

add basic nix alternative for stubs

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() {
1110
e4edb1419e3f factor out bina install
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
7 bina_install "charmbracelet/gum"
1106
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
8 # go install github.com/charmbracelet/gum@latest
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
9 # asdf reshim || :
996
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
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 . ~/.lib/sh/stubexec.sh

mercurial