Add nvm setup to zshrc
This commit is contained in:
parent
e1359d3f3c
commit
0d7f49d84a
1 changed files with 4 additions and 0 deletions
4
zshrc
4
zshrc
|
|
@ -31,6 +31,10 @@ fi
|
||||||
if command_exists rbenv; then
|
if command_exists rbenv; then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
fi
|
fi
|
||||||
|
if [ -s "$HOME/.nvm/nvm.sh" ]; then
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
source "$NVM_DIR/nvm.sh"
|
||||||
|
fi
|
||||||
if command_exists pyenv; then
|
if command_exists pyenv; then
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue