mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
fix nodenv config
This commit is contained in:
@@ -4,11 +4,13 @@ if [ -f "{{ .extra_ca_cert }}" ]; then
|
|||||||
fi
|
fi
|
||||||
export NODE_BUILD_CURL_OPTS=--insecure
|
export NODE_BUILD_CURL_OPTS=--insecure
|
||||||
|
|
||||||
if [ -d "$HOME/.nvm" ]; then
|
if [ -d "$HOME/.nodenv" ]; then
|
||||||
# Nodenv (https://github.com/nodenv/nodenv)
|
# Nodenv (https://github.com/nodenv/nodenv)
|
||||||
export PATH="$HOME/.nodenv/bin:$PATH"
|
export PATH="$HOME/.nodenv/bin:$PATH"
|
||||||
eval "$(nodenv init -)"
|
eval "$(nodenv init -)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$HOME/.nvm" ]; then
|
||||||
# NVM (https://github.com/nvm-sh/nvm)
|
# NVM (https://github.com/nvm-sh/nvm)
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|||||||
Reference in New Issue
Block a user