rvm plugin: update to ruby version helpers and rvm-update
* the current patch levels hard-coded here are pretty dated. I updated the ruby version helpers to use loose ruby version matchers so they don't continually need to be updated with every new patch level release.
* `rvm get head` actually performs an `rvm reload` in the post install. there's no need to do again here in rvm-update so I've removed that.
Diff
1diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh
2index cdd0a7847d96339b6a405ef4e99033154ff0dc6f..e6ad6450d343b03a2d85893969c673d67cdb5519 100644
3--- a/plugins/rvm/rvm.plugin.zsh
4+++ b/plugins/rvm/rvm.plugin.zsh
5@@ -3,9 +3,9 @@ fpath=($rvm_path/scripts/zsh/Completion $fpath)
6 alias rubies='rvm list rubies'
7 alias gemsets='rvm gemset list'
8 9-local ruby18='ruby-1.8.7-p371'
10-local ruby19='ruby-1.9.3-p392'
11-local ruby20='ruby-2.0.0-p0'
12+local ruby18='ruby-1.8.7'
13+local ruby19='ruby-1.9.3'
14+local ruby20='ruby-2.0.0'
1516 function rb18 {
17 if [ -z "$1" ]; then
18@@ -42,7 +42,6 @@ compdef _rb20 rb20
1920 function rvm-update {
21 rvm get head
22- rvm reload # TODO: Reload rvm completion?
23 }
2425 # TODO: Make this usable w/o rvm.