mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
rc/{bash,zsh}rc: add nvm
This commit is contained in:
parent
88173c31dd
commit
bcabcfcdb1
@ -268,6 +268,12 @@ export LOCALDOMAIN=.
|
||||
# regardless of whether DNSSEC=true or not.
|
||||
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
||||
|
||||
# https://github.com/nvm-sh/nvm
|
||||
if [ -d ~/.nvm ]; then
|
||||
. ~/.nvm/nvm.sh
|
||||
. ~/.nvm/bash_completition
|
||||
fi
|
||||
|
||||
# https://github.com/nodenv/nodenv
|
||||
if [ -d ~/.nodenv/bin ]; then
|
||||
PATH="$HOME/.nodenv/bin:$PATH"
|
||||
|
6
rc/zshrc
6
rc/zshrc
@ -234,6 +234,12 @@ export LOCALDOMAIN=.
|
||||
# regardless of whether DNSSEC=true or not.
|
||||
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
||||
|
||||
# https://github.com/nvm-sh/nvm
|
||||
if [ -d ~/.nvm ]; then
|
||||
. ~/.nvm/nvm.sh
|
||||
. ~/.nvm/bash_completion
|
||||
fi
|
||||
|
||||
# https://github.com/nodenv/nodenv
|
||||
if [ -d ~/.nodenv/bin ]; then
|
||||
PATH="$HOME/.nodenv/bin:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user