From fdc5d6108fbcc93f494d93b58298c79d26f549b1 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 2 Aug 2023 01:46:28 +0200 Subject: [PATCH] Set npm specific XDG base dir vars --- home/.config/shell/environment | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/.config/shell/environment b/home/.config/shell/environment index ede1c84..38abde3 100755 --- a/home/.config/shell/environment +++ b/home/.config/shell/environment @@ -41,6 +41,8 @@ export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle" export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" +export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm" +export NPM_CONFIG_PREFIX="$XDG_DATA_HOME/npm" export NUGET_PACKAGES="$XDG_CACHE_HOME/NuGetPackages" export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel" export RANDFILE="$XDG_CACHE_HOME/rnd"