use local npm prefix
This commit is contained in:
parent
a7d45f528b
commit
f02e2016e2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user