#!/bin/sh
set -ex
die () { echo "$@" ; exit 1; }
\. ../../nvm.sh
type nvm > /dev/null 2>&1 || die "nvm not loaded"
nvm unload
! type nvm > /dev/null 2>&1 || die "nvm not unloaded"