Skip to content

Commit

Permalink
add export NPM_CONFIG_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
flipjs committed Oct 8, 2018
1 parent 4c986f3 commit 92174fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .zshrc
Expand Up @@ -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"
Expand Down

0 comments on commit 92174fe

Please sign in to comment.