aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile1
-rw-r--r--.config/npmrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index 77671d4..44aac41 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -42,6 +42,7 @@ export LESSHISTFILE="$XDG_CACHE_HOME/less.history"
export INPUTRC="$XDG_CONFIG_HOME/inputrc"
export ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
+export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npmrc"
# themes
export DESKTOP_SESSION=gnome
diff --git a/.config/npmrc b/.config/npmrc
new file mode 100644
index 0000000..813f01a
--- /dev/null
+++ b/.config/npmrc
@@ -0,0 +1 @@
+cache=~/.cache/npm