feat(npm): configure global package directory
This commit is contained in:
parent
c21dba9e14
commit
a050b247d7
|
@ -37,3 +37,7 @@ export EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || co
|
||||||
# ghcup (Haskell)
|
# ghcup (Haskell)
|
||||||
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
|
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
|
||||||
|
|
||||||
|
# Nodejs
|
||||||
|
export npm_config_prefix="$HOME/.local"
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue