use local npm prefix

This commit is contained in:
Enrico Fasoli 2015-08-25 10:41:23 +00:00
parent a7d45f528b
commit f02e2016e2

View File

@ -10,4 +10,6 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi fi
# Customize to your needs... # Use local npm prefix
export NPM_CONFIG_PREFIX=~/.npm_prefix
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin