Move npm config to ~/.config
This commit is contained in:
parent
5632633f84
commit
321be93d14
0
.config/npm/packages/.gitignore
vendored
Normal file
0
.config/npm/packages/.gitignore
vendored
Normal file
@ -13,13 +13,11 @@ export LC_CTYPE=$LANG
|
|||||||
export LC_ALL=de_DE.UTF-8
|
export LC_ALL=de_DE.UTF-8
|
||||||
export IOCAGE_COLOR=TRUE
|
export IOCAGE_COLOR=TRUE
|
||||||
|
|
||||||
## npm config
|
|
||||||
NPM_PACKAGES="${HOME}/.npm-packages"
|
|
||||||
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
|
|
||||||
|
|
||||||
## Set some app specific dirs with XDM scheme
|
## Set some app specific dirs with XDM scheme
|
||||||
export VIMDOTDIR="$XDG_CONFIG_HOME/vim"
|
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 NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
|
||||||
|
export NPM_PACKAGES="${XDG_CONFIG_HOME}/npm/packages"
|
||||||
|
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
|
Loading…
Reference in New Issue
Block a user