summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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