Update rbenv and nvm
This commit is contained in:
parent
dfc3511aa3
commit
ac6926123a
@ -1,7 +1,6 @@
|
|||||||
# NVM
|
# Enable nvm if it is installed
|
||||||
if [[ -s "$NVM_DIR/nvm.sh" ]]; then
|
if [ -d "$HOME/.nvm" ]; then
|
||||||
source "$NVM_DIR/nvm.sh" # This loads nvm
|
export NVM_DIR="$HOME/.nvm"
|
||||||
fi
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
if [[ -s "$NVM_DIR/bash_completion" ]]; then
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||||
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Enable goenv if it is installed
|
# Enable rbenv if it is installed
|
||||||
if (( $+commands[rbenv] )); then
|
if (( $+commands[rbenv] )); then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init - --no-rehash zsh)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user