Move npm's user configuration file under XDG config home

This commit is contained in:
Danielle McLean 2017-09-11 08:55:33 +10:00
parent b67d9ebf2f
commit a8eddde979
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

3
config/zsh/login/npm Normal file
View file

@ -0,0 +1,3 @@
#! zsh
: ${NPM_CONFIG_USERCONFIG:=$XDG_CONFIG_HOME/npm/config}
export NPM_CONFIG_USERCONFIG