Add support for tj/n, using ~/.local as the prefix - this integrates quite nicely with the other stuff that goes in ~/.local, such as global npm packages

This commit is contained in:
Danielle McLean 2018-01-15 09:08:30 +11:00
parent b714bd1312
commit a2d253384a
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -1,3 +1,4 @@
#! zsh #! zsh
: ${N_PREFIX:=$HOME/.local}
: ${NPM_CONFIG_USERCONFIG:=$XDG_CONFIG_HOME/npm/config} : ${NPM_CONFIG_USERCONFIG:=$XDG_CONFIG_HOME/npm/config}
export NPM_CONFIG_USERCONFIG export N_PREFIX NPM_CONFIG_USERCONFIG