.lib/stubs/direnv

Sun, 18 Jun 2023 13:01:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 18 Jun 2023 13:01:18 -0500
changeset 1118
d5558693c508
parent 1112
0ae7864c4ad8
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

add aqua stub

1111
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
1112
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1111
diff changeset
4 nix_ref='nixpkgs#direnv'
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1111
diff changeset
5
1111
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 mkdir -p ~/.local/bin
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 curl -fsSL https://direnv.net/install.sh |
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 bin_path=~/.local/bin bash >/dev/null
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 }
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 . ~/.lib/sh/stubexec.sh

mercurial