Updating configs for usage of npm.

This commit is contained in:
Christian Baer 2020-11-28 15:58:56 +01:00
parent 80435aad1b
commit 90a6331663
4 changed files with 4 additions and 9 deletions

View File

@ -1,4 +0,0 @@
prefix=${XDG_DATA_HOME}/npm
cache=${XDG_CACHE_HOME}/npm
tmp=${XDG_RUNTIME_DIR}/npm
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js

View File

View File

@ -15,7 +15,8 @@ _prepath /usr/local/bin /bin /usr/local/sbin # General
_prepath /usr/bin /usr/sbin /sbin /Library/Apple/usr/bin # macOS _prepath /usr/bin /usr/sbin /sbin /Library/Apple/usr/bin # macOS
_prepath /usr/sbin /sbin # FreeBSD _prepath /usr/sbin /sbin # FreeBSD
_prepath ~/bin _prepath ~/bin
_prepath ~/.npm-packages/bin #npm _prepath ~/.local/bin
_prepath ~/.local/bin/ #pip _prepath ~/Library/Python/2.7/bin
_prepath ~/Library/Python/2.9/bin
unfunction _prepath unfunction _prepath

View File

@ -18,6 +18,4 @@ export VIMDOTDIR="$XDG_CONFIG_HOME/vim"
export VIMINIT='let $VIMRC="$VIMDOTDIR/vimrc" | source $VIMRC' export VIMINIT='let $VIMRC="$VIMDOTDIR/vimrc" | source $VIMRC'
export GOPATH="${XDG_DATA_HOME}/go" export GOPATH="${XDG_DATA_HOME}/go"
export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc" export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc"
export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc" export MANPATH="${MANPATH-$(manpath)}:${HOME}/.local/share/man"
export NPM_PACKAGES="${XDG_CONFIG_HOME}/npm/packages"
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"