add bashrc extensions
This commit is contained in:
parent
fbc9022fcf
commit
b0c4e3021d
7 changed files with 537 additions and 0 deletions
17
dot_bashrc.d/node.bashrc.tmpl
Normal file
17
dot_bashrc.d/node.bashrc.tmpl
Normal 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
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue