mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
12 lines
206 B
Bash
Executable File
12 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
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"
|