feat(npm): configure global package directory

This commit is contained in:
Maciej Jur 2023-08-16 18:10:59 +02:00
parent c21dba9e14
commit a050b247d7
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD

View file

@ -37,3 +37,7 @@ export EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || co
# ghcup (Haskell)
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
# Nodejs
export npm_config_prefix="$HOME/.local"
export PATH="$HOME/.local/bin:$PATH"