Consolidate "alias" directory to a method.

This commit is contained in:
Jordan Harband
2015-01-12 01:27:53 -08:00
parent 835c006b5e
commit 7807a9f09e
2 changed files with 26 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not requrn correct location"