.lib/stubs/direnv

Thu, 09 Nov 2023 16:54:05 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Nov 2023 16:54:05 -0600
changeset 1133
cb91318a522e
parent 1119
84cd2286f0bf
permissions
-rwxr-xr-x

Add tmux popup bindings

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