mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-02-27 10:25:31 +08:00
Test zsh-nvm loads nvm
This commit is contained in:
parent
6f7c9ff4cc
commit
a12a0e368c
10
tests/loading/Check zsh-nvm loads nvm
Executable file
10
tests/loading/Check zsh-nvm loads nvm
Executable file
@ -0,0 +1,10 @@
|
||||
source ../common.sh
|
||||
|
||||
# Check nvm isn't already loaded
|
||||
nvm --version && die "nvm is already loaded"
|
||||
|
||||
# Load zsh-nvm
|
||||
load_zsh_nvm
|
||||
|
||||
# Check nvm is now loaded
|
||||
nvm --version || die "nvm wasn't loaded"
|
Loading…
Reference in New Issue
Block a user