added npm to path
This commit is contained in:
parent
db4bd5ba75
commit
1c2ad6327c
1
.profile
1
.profile
@ -22,3 +22,4 @@ export WINEPREFIX="$XDG_DATA_HOME/wine"
|
|||||||
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||||
export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo"
|
export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo"
|
||||||
export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm"
|
export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm"
|
||||||
|
export NPM_PACKAGES="$XDG_DATA_HOME/npm_global"
|
||||||
|
2
.zshrc
2
.zshrc
@ -22,7 +22,7 @@
|
|||||||
# - pkgfile
|
# - pkgfile
|
||||||
# - trash-cli (with gvfs)
|
# - trash-cli (with gvfs)
|
||||||
|
|
||||||
export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$PATH
|
export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$PATH
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user