.lib/stubs/shfmt

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 1107
c6d7ac40bd3c
permissions
-rwxr-xr-x

add basic nix alternative for stubs

#!/bin/sh
set -eu

age_limit=90

install_it() {
  go install mvdan.cc/sh/v3/cmd/shfmt@latest
  asdf reshim || :
}

. ~/.lib/sh/stubexec.sh

mercurial