7 lines
223 B
Bash
7 lines
223 B
Bash
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/config
|
|
export NODE_REPL_HISTORY=$XDG_CACHE_HOME/node/repl_history
|
|
|
|
export NODENV_ROOT=$XDG_DATA_HOME/nodenv
|
|
path=( $NODENV_ROOT/bin $path )
|
|
_cache nodenv init - --no-rehash
|