diff --git a/config/zsh/login/npm b/config/zsh/login/npm index 5d74ce6..5f8b56b 100644 --- a/config/zsh/login/npm +++ b/config/zsh/login/npm @@ -1,3 +1,4 @@ #! zsh +: ${N_PREFIX:=$HOME/.local} : ${NPM_CONFIG_USERCONFIG:=$XDG_CONFIG_HOME/npm/config} -export NPM_CONFIG_USERCONFIG +export N_PREFIX NPM_CONFIG_USERCONFIG