diff --git a/.profile b/.profile index f342185..a988c77 100644 --- a/.profile +++ b/.profile @@ -22,3 +22,4 @@ export WINEPREFIX="$XDG_DATA_HOME/wine" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo" export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm" +export NPM_PACKAGES="$XDG_DATA_HOME/npm_global" diff --git a/.zshrc b/.zshrc index 5f86627..ed54bca 100644 --- a/.zshrc +++ b/.zshrc @@ -22,7 +22,7 @@ # - pkgfile # - 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