This commit is contained in:
Rob Loach 2017-05-03 17:24:14 +00:00 committed by GitHub
commit 9caf79d1b3

View file

@ -72,3 +72,10 @@ function _rvm_completion {
source $rvm_path"/scripts/zsh/Completion/_rvm"
}
compdef _rvm_completion rvm
# Register the rvm sources.
if [ -f ~/.rvm/scripts/rvm ]; then
source ~/.rvm/scripts/rvm
elif [ -f /usr/local/rvm/scripts/rvm ]; then
source /usr/local/rvm/scripts/rvm
fi