Merge pull request #376 from koenpunt/nvm-unload

Feature: nvm unload
This commit is contained in:
Jordan Harband committed 2014-05-28 20:53:50 -07:00
commit 6aa45732d8
2 files changed
+16

No files matched your search

@@ -0,0 +1,11 @@
#!/bin/sh
fail () { echo $@ ; exit 1; }
. ../../nvm.sh
type nvm > /dev/null 2>&1 || fail "NVM not loaded"
nvm unload
type nvm > /dev/null 2>&1 && fail "NVM not unloaded" || exit 0