bin/gum

Wed, 26 Apr 2023 10:58:22 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 26 Apr 2023 10:58:22 -0500
changeset 1106
902c7d44ab23
parent 1002
8284b9cac608
permissions
-rwxr-xr-x

add just and fzf stubs, also install gum from binary

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() {
1106
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
7 mkdir -p ~/.local/bin
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
8 cd ~/.local/bin
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
9 curl -fsSL 'https://bina.egoist.dev/charmbracelet/gum?dir=.' | sh
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
10 cd -
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents: 1002
diff changeset
11 # 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
12 # asdf reshim || :
996
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 }
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
5563c242fe04 add gum stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 . ~/.lib/sh/stubexec.sh

mercurial