Skip to content

Commit 7a82f0f

Browse files
committed
npm: update env vars
Some tools (prek) don't properly overwrite the lowercase env vars
1 parent 65b5587 commit 7a82f0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.config/fish/conf.d/02-xdg.fish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ set -gx LESSHISTFILE /dev/null
4545

4646
# node
4747
set -gx NODE_REPL_HISTORY /dev/null
48-
set -gx npm_config_cache $XDG_CACHE_HOME/npm
49-
set -gx npm_config_prefix ~/.local
50-
set -gx npm_config_userconfig $XDG_CONFIG_HOME/npm/npmrc
48+
set -gx NPM_CONFIG_CACHE $XDG_CACHE_HOME/npm
49+
set -gx NPM_CONFIG_PREFIX ~/.local
50+
set -gx NPM_CONFIG_USERCONFIG $XDG_CONFIG_HOME/npm/npmrc
5151

5252
# pip
5353
set -gx PIP_CACHE_DIR $XDG_CACHE_HOME/pip

0 commit comments

Comments
 (0)