.lib/stubs/direnv

Mon, 08 May 2023 02:36:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 08 May 2023 02:36:32 -0500
changeset 1112
0ae7864c4ad8
parent 1111
7f6a94dd56ee
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

add basic nix alternative for stubs

#!/bin/sh
set -eu

nix_ref='nixpkgs#direnv'

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