Write a better version of npx
This commit is contained in:
parent
365671e0f4
commit
cc035dbcec
1 changed files with 4 additions and 0 deletions
|
@ -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)/$@
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue