From 272d2a88be0582a185146d1319e298ddc04f19e4 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 5 Mar 2023 00:15:58 -0600 Subject: [PATCH] feat(zsh): set custom npm install dir --- dots/.config/zsh/config/profile/profile/env.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dots/.config/zsh/config/profile/profile/env.zsh b/dots/.config/zsh/config/profile/profile/env.zsh index fa209d81..11e42c9f 100644 --- a/dots/.config/zsh/config/profile/profile/env.zsh +++ b/dots/.config/zsh/config/profile/profile/env.zsh @@ -120,3 +120,7 @@ export DOCKER_BUILDKIT=1 export NOTES_DIR="${HOME}/.notes" export GITLAB_HOST="https://gitlab.orion-technologies.io" export SSLKEYLOGFILE="${XDG_DATA_HOME}/ssl-key-log.log" + +### NPM ### +export NPM_CONFIG_PREFIX="${HOME}/.npm-global" +export PATH="${PATH}:${NPM_CONFIG_PREFIX}/bin"