mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
fix(nvm): remove nvm not found verbose message
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user