diff options
author | Brandon Black <brandonmblack@gmail.com> | 2013-06-27 11:38:04 -0700 |
---|---|---|
committer | Brandon Black <brandonmblack@gmail.com> | 2013-06-27 11:46:41 -0700 |
commit | 644728bd225c70068e32501c81a95713d04b8ff1 (patch) | |
tree | 7b058a66c9b40cabe30e5d32e4e8281b4769ab9c /plugins | |
parent | bc3cadf5c83697c176c9d4ce41c7fde7f57bf6e7 (diff) | |
download | zsh-644728bd225c70068e32501c81a95713d04b8ff1.tar.gz zsh-644728bd225c70068e32501c81a95713d04b8ff1.tar.bz2 zsh-644728bd225c70068e32501c81a95713d04b8ff1.zip |
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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/rvm/rvm.plugin.zsh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index cdd0a7847..e6ad6450d 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -3,9 +3,9 @@ fpath=($rvm_path/scripts/zsh/Completion $fpath) alias rubies='rvm list rubies' alias gemsets='rvm gemset list' -local ruby18='ruby-1.8.7-p371' -local ruby19='ruby-1.9.3-p392' -local ruby20='ruby-2.0.0-p0' +local ruby18='ruby-1.8.7' +local ruby19='ruby-1.9.3' +local ruby20='ruby-2.0.0' function rb18 { if [ -z "$1" ]; then @@ -42,7 +42,6 @@ compdef _rb20 rb20 function rvm-update { rvm get head - rvm reload # TODO: Reload rvm completion? } # TODO: Make this usable w/o rvm. |