diff --git a/.zshrc b/.zshrc index e29ceff..6d5c2e5 100644 --- a/.zshrc +++ b/.zshrc @@ -473,6 +473,9 @@ if [ -f $LUNCHY_DIR/lunchy-completion.zsh ]; then . $LUNCHY_DIR/lunchy-completion.zsh fi +# ignore ~/.nvm/versions - always install global modules in /usr/local +export NPM_CONFIG_PREFIX="/usr/local" + # npm global install without sudo NPM_PACKAGES="${HOME}/.npm-packages"