remove rvm, part of prezto ruby module
This commit is contained in:
parent
686e8d706f
commit
2c8c33539c
17
zsh/rvm.zsh
17
zsh/rvm.zsh
@ -1,17 +0,0 @@
|
||||
# RVM / rbenv
|
||||
if [[ -d ~/.rvm/ ]] && [[ -d ~/.rbenv/ ]]; then
|
||||
# TODO: colorize
|
||||
echo '***************************************************************'
|
||||
echo 'ERROR!'
|
||||
echo 'YADR found both ~/.rvm and ~/.rbenv directories. You cannot use'
|
||||
echo 'RVM and rbenv simultaneously. Please delete one and reload zsh.'
|
||||
echo '***************************************************************'
|
||||
echo ''
|
||||
else
|
||||
if [[ -d ~/.rvm/ ]]; then
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
fi
|
||||
if [[ -d ~/.rbenv/ ]]; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user