summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 00:02:07 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 00:11:47 +0100
commitfcd7532cd087c1ff0c8a2a73cfc878700464094e (patch)
tree9aa6a76409d0ec632f314e015389be46cbcae073 /.config
parente3dfe28d277532e5fdfbc088640e07c98cfaedf6 (diff)
More home folder cleanup
Diffstat (limited to '.config')
-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