2 ms·
shellcheck throws a lint error if it finds you using which and tells you to use 'command -v' instead.
by nonameiguess 5y ago
shellcheck throws a lint error if it finds you using which and tells you to use 'command -v' instead.
- hdjjhhvvhga 5y agoThank you for reminding me about this neat tool, it saved my ass a couple of times.
- sigzero 5y agoI just tried it on the shellcheck site. It didn't flag it.