mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
fix(nvm): remove nvm not found verbose message
This commit is contained in:
parent
33fbbdbb0d
commit
7cf00a0b5c
1 changed files with 1 additions and 7 deletions
|
@ -16,13 +16,7 @@ fi
|
|||
# Note: nvm is a function so we need to use `which`
|
||||
which nvm &>/dev/null && return
|
||||
|
||||
if [[ -z "$NVM_DIR" ]]; then
|
||||
echo "[oh-my-zsh] nvm installation cannot be found"
|
||||
echo "[oh-my-zsh] set NVM_DIR to your installation"
|
||||
return
|
||||
fi
|
||||
if [[ ! -f "$NVM_DIR/nvm.sh" ]]; then
|
||||
echo "[oh-my-zsh] nvm.sh does not exist in $NVM_DIR"
|
||||
if [[ -z "$NVM_DIR" ]] || [[ ! -f "$NVM_DIR/nvm.sh" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue