add direnv stub

Fri, 05 May 2023 13:18:42 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 05 May 2023 13:18:42 -0500
changeset 1111
7f6a94dd56ee
parent 1110
e4edb1419e3f
child 1112
0ae7864c4ad8

add direnv stub

.lib/stubs/direnv file | annotate | diff | comparison | revisions
new file mode 100755
--- /dev/null
+++ b/.lib/stubs/direnv
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -eu
+
+install_it() {
+  mkdir -p ~/.local/bin
+  curl -fsSL https://direnv.net/install.sh |
+    bin_path=~/.local/bin bash >/dev/null
+}
+
+. ~/.lib/sh/stubexec.sh

mercurial