bin/cpm

Thu, 28 Oct 2021 21:46:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 28 Oct 2021 21:46:26 -0500
changeset 953
e033f9ce0d8c
parent 932
f87943eb16aa
child 957
ea852d545173
permissions
-rwxr-xr-x

Simplify ag/grep setup

915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 . ~/.lib/sh/stubexec.sh
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4
932
f87943eb16aa stubexec fixes
Meredith Howard <mhoward@roomag.org>
parents: 915
diff changeset
5 stubexec "$@"
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 curl -fsSL --compressed https://git.io/cpm |
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 perl - install -g App::cpm
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 plenv rehash || :
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
932
f87943eb16aa stubexec fixes
Meredith Howard <mhoward@roomag.org>
parents: 915
diff changeset
12 stubexec "$@"

mercurial