2014-03-17 01:16:46 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-07-07 15:00:59 +08:00
|
|
|
set -ex
|
|
|
|
|
|
|
|
die () { echo $@ ; exit 1; }
|
2014-03-17 01:16:46 +08:00
|
|
|
|
2016-11-04 13:15:18 +08:00
|
|
|
\. ../../nvm.sh
|
2014-03-17 01:16:46 +08:00
|
|
|
|
2016-07-07 15:00:59 +08:00
|
|
|
type nvm > /dev/null 2>&1 || die "nvm not loaded"
|
2014-03-17 01:16:46 +08:00
|
|
|
|
|
|
|
nvm unload
|
|
|
|
|
2016-07-07 15:00:59 +08:00
|
|
|
! type nvm > /dev/null 2>&1 || die "nvm not unloaded"
|