Update rbenv and nvm

This commit is contained in:
Daniel Lynn 2025-05-05 19:39:17 -05:00
parent dfc3511aa3
commit ac6926123a
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,6 @@
# NVM
if [[ -s "$NVM_DIR/nvm.sh" ]]; then
source "$NVM_DIR/nvm.sh" # This loads nvm
fi
if [[ -s "$NVM_DIR/bash_completion" ]]; then
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Enable nvm if it is installed
if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
fi

View File

@ -1,4 +1,4 @@
# Enable goenv if it is installed
# Enable rbenv if it is installed
if (( $+commands[rbenv] )); then
eval "$(rbenv init -)"
eval "$(rbenv init - --no-rehash zsh)"
fi