From f18b4aedf5d9055b3d20388cd21410af96b2319a Mon Sep 17 00:00:00 2001 From: ZhenHappy Date: Sat, 4 Feb 2017 15:50:28 +0800 Subject: [PATCH] Update nvm.plugin.zsh --- plugins/nvm/nvm.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nvm/nvm.plugin.zsh b/plugins/nvm/nvm.plugin.zsh index 9dde3a26..86338aa7 100644 --- a/plugins/nvm/nvm.plugin.zsh +++ b/plugins/nvm/nvm.plugin.zsh @@ -3,3 +3,4 @@ # Load nvm if it exists [[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh" +[[ -f "$(brew --prefix nvm)/nvm.sh" ]] && source "$(brew --prefix nvm)/nvm.sh"