mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Update rvm plugin
Update ruby versions, use `rvm get stable` for update and remove `rvm reload` because it's no longer needed.
This commit is contained in:
parent
d05b2010ff
commit
b4881991b2
1 changed files with 3 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
alias rubies='rvm list rubies'
|
alias rubies='rvm list rubies'
|
||||||
alias gemsets='rvm gemset list'
|
alias gemsets='rvm gemset list'
|
||||||
|
|
||||||
local ruby18='ruby-1.8.7-p334'
|
local ruby18='ruby-1.8.7-p370'
|
||||||
local ruby19='ruby-1.9.2-p180'
|
local ruby19='ruby-1.9.3-p194'
|
||||||
|
|
||||||
function rb18 {
|
function rb18 {
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
|
|
@ -27,8 +27,7 @@ _rb19() {compadd `ls -1 $rvm_path/gems | grep "^$ruby19@" | sed -e "s/^$ruby19@/
|
||||||
compdef _rb19 rb19
|
compdef _rb19 rb19
|
||||||
|
|
||||||
function rvm-update {
|
function rvm-update {
|
||||||
rvm get head
|
rvm get stable # TODO: Reload rvm completion?
|
||||||
rvm reload # TODO: Reload rvm completion?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: Make this usable w/o rvm.
|
# TODO: Make this usable w/o rvm.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue