add bashrc extensions

This commit is contained in:
Yax 2021-05-11 11:52:49 +02:00
parent fbc9022fcf
commit b0c4e3021d
7 changed files with 537 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Node
if [ -f "{{ .extra_ca_cert }}" ]; then
export NODE_EXTRA_CA_CERTS={{ .extra_ca_cert }}
fi
export NODE_BUILD_CURL_OPTS=--insecure
# Nodenv (https://github.com/nodenv/nodenv)
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"
# NVM (https://github.com/nvm-sh/nvm)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion