mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Test zsh-nvm installs nvm
This commit is contained in:
parent
babab28ff9
commit
2156245dca
10
tests/loading/Check zsh-nvm installs nvm if it isn't already installed
Executable file
10
tests/loading/Check zsh-nvm installs nvm if it isn't already installed
Executable file
@ -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"
|
Loading…
Reference in New Issue
Block a user