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:
parent
b714bd1312
commit
a2d253384a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue