powscript
powscript copied to clipboard
Use `command -v` instead of `which` in `require_cmd`
See https://stackoverflow.com/a/677212/6750494
tl:dr is that which
is expensive and can change behaviors depending on OS, while command -v
is a builtin and POSIX.
I rebased this so it's merge-able again, I waited until the other PR was merged because that fixed the tests.
Hey, I really like this project, may this comment be someone that still needs something this light bc they don't like straight up shell
I actually have been working on something to help with this because I had reached a dead end. Hopefully news will come soon, @BitterSweetcandyshop
(edit: "this" as in, the whole project, not this feature in particular)