Write a better version of npx

This commit is contained in:
Jake Howard 2019-11-01 09:11:19 +00:00
parent 365671e0f4
commit cc035dbcec
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -26,3 +26,7 @@ nvm() { # This takes ~1sec, so we lazy-load it.
source "/usr/share/nvm/init-nvm.sh" source "/usr/share/nvm/init-nvm.sh"
$0 $@ $0 $@
} }
npx () {
command $(npm bin)/$@
}