.lib/stubs/just

Tue, 09 May 2023 00:13:42 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 09 May 2023 00:13:42 -0500
changeset 1114
fd7f92c949fb
parent 1112
0ae7864c4ad8
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

use nix profile install/upgrade

1106
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
1112
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1110
diff changeset
4 nix_ref='nixpkgs#just'
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1110
diff changeset
5
1106
902c7d44ab23 add just and fzf stubs, also install gum from binary
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 "casey/just"
1106
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 # cargo install just
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 }
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 # This can probably be removed next time you look here
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 export JUST_CHOOSER="fzf --preview 'just --show {}'"
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
902c7d44ab23 add just and fzf stubs, also install gum from binary
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 . ~/.lib/sh/stubexec.sh

mercurial