.lib/stubs/gum

Tue, 02 May 2023 17:39:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 02 May 2023 17:39:24 -0500
changeset 1109
71d10acde172
parent 1107
c6d7ac40bd3c
child 1110
e4edb1419e3f
permissions
-rwxr-xr-x

switch perltidy and cpandoc to 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() {
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