.lib/stubs/direnv

Sat, 18 May 2024 10:56:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 18 May 2024 10:56:07 -0500
changeset 1168
52750027eff6
parent 1119
84cd2286f0bf
permissions
-rwxr-xr-x

simplify nvim-cmp setup

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