.lib/stubs/direnv

Sun, 25 Jun 2023 22:40:31 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 25 Jun 2023 22:40:31 -0500
changeset 1119
84cd2286f0bf
parent 1112
0ae7864c4ad8
permissions
-rwxr-xr-x

Yeah, nix isn't for me yet.

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
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 install_it() {
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 mkdir -p ~/.local/bin
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 curl -fsSL https://direnv.net/install.sh |
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 bin_path=~/.local/bin bash >/dev/null
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 }
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
7f6a94dd56ee add direnv stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 . ~/.lib/sh/stubexec.sh

mercurial