From e9b8eb15a462b621488249e33b07b9f01ff2a5ee Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sat, 20 Feb 2021 15:14:35 +0800 Subject: [PATCH] bashrc: npm: abuse globalconfig for secrets --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 77a7d52..c6c5f80 100644 --- a/.bashrc +++ b/.bashrc @@ -33,6 +33,7 @@ export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CACHE_HOME/java export CARGO_HOME="$XDG_DATA_HOME/cargo" export PARALLEL_HOME="$XDG_CACHE_HOME/parallel" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" +export NPM_CONFIG_GLOBALCONFIG="$XDG_CONFIG_HOME/sensitive/npm/npmrc" export ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority" export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history" -- 2.45.2