summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-05 00:02:07 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-05 00:11:32 +0100
commitd8fd179baeff48320e3888087f3b23032a6c162e (patch)
treee25bae334c5b98347fd1c33dd7dfec24fd037c74
parenta5ce141ab75a8cca2b97be2733cddcb879cacdad (diff)
More home folder cleanup
-rw-r--r--.config/npm/npmrc4
-rw-r--r--.config/zsh/.zprofile1
2 files changed, 5 insertions, 0 deletions
diff --git a/.config/npm/npmrc b/.config/npm/npmrc
new file mode 100644
index 0000000..fc84b78
--- /dev/null
+++ b/.config/npm/npmrc
@@ -0,0 +1,4 @@
+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
diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile
index 885f272..7210ca6 100644
--- a/.config/zsh/.zprofile
+++ b/.config/zsh/.zprofile
@@ -12,5 +12,6 @@ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
+export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx $XDG_CONFIG_HOME/X11/xinitrc -- vt1