mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
11 lines
239 B
Plaintext
11 lines
239 B
Plaintext
|
source ../common.sh
|
||
|
|
||
|
# Check ZSH_NVM_DIR isn't already set
|
||
|
[[ -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR already set"
|
||
|
|
||
|
# Load zsh-nvm
|
||
|
load_zsh_nvm
|
||
|
|
||
|
# Check ZSH_NVM_DIR is now set
|
||
|
[[ ! -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR wasn't set"
|