diff --git a/runcoms/zshrc b/runcoms/zshrc index 039b882..6175a54 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -10,4 +10,6 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi -# Customize to your needs... +# Use local npm prefix +export NPM_CONFIG_PREFIX=~/.npm_prefix +export PATH=$PATH:$NPM_CONFIG_PREFIX/bin