Add nvm_node_prefix

This commit is contained in:
Jordan Harband
2015-01-13 14:16:35 -08:00
parent 8be97c8abb
commit c46748a379
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm_node_prefix)" = "node" ] || die '"nvm_node_prefix" did not return the string "node". why did this fail?!'