Updating configs for usage of npm.
This commit is contained in:
parent
80435aad1b
commit
90a6331663
@ -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
|
0
.config/npm/packages/.gitignore
vendored
0
.config/npm/packages/.gitignore
vendored
@ -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/sbin /sbin # FreeBSD
|
||||
_prepath ~/bin
|
||||
_prepath ~/.npm-packages/bin #npm
|
||||
_prepath ~/.local/bin/ #pip
|
||||
_prepath ~/.local/bin
|
||||
_prepath ~/Library/Python/2.7/bin
|
||||
_prepath ~/Library/Python/2.9/bin
|
||||
|
||||
unfunction _prepath
|
||||
|
@ -18,6 +18,4 @@ export VIMDOTDIR="$XDG_CONFIG_HOME/vim"
|
||||
export VIMINIT='let $VIMRC="$VIMDOTDIR/vimrc" | source $VIMRC'
|
||||
export GOPATH="${XDG_DATA_HOME}/go"
|
||||
export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc"
|
||||
export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
|
||||
export NPM_PACKAGES="${XDG_CONFIG_HOME}/npm/packages"
|
||||
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
|
||||
export MANPATH="${MANPATH-$(manpath)}:${HOME}/.local/share/man"
|
Loading…
Reference in New Issue
Block a user