diff --git a/tests/loading/Check zsh-nvm installs nvm if it isn't already installed b/tests/loading/Check zsh-nvm installs nvm if it isn't already installed new file mode 100755 index 0000000..6421ad9 --- /dev/null +++ b/tests/loading/Check zsh-nvm installs nvm if it isn't already installed @@ -0,0 +1,10 @@ +source ../common.sh + +# Check nvm isn't already installed +[[ ! -f "$NVM_DIR/nvm.sh" ]] || die "nvm is already installed $NVM_DIR/nvm.sh" + +# Load zsh-nvm +load_zsh_nvm + +# Check nvm is now installed +[[ -f "$NVM_DIR/nvm.sh" ]] || die "nvm wasn't installed"