Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
04c98ae9
Commit
04c98ae9
authored
Jun 28, 2013
by
Robby Russell
Browse files
Merge pull request #1917 from brandonblack/rvm-plugin
rvm plugin: update to ruby version helpers and rvm-update
parents
bc3cadf5
644728bd
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/rvm/rvm.plugin.zsh
View file @
04c98ae9
...
@@ -3,9 +3,9 @@ fpath=($rvm_path/scripts/zsh/Completion $fpath)
...
@@ -3,9 +3,9 @@ fpath=($rvm_path/scripts/zsh/Completion $fpath)
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
-p371
'
local
ruby18
=
'ruby-1.8.7'
local
ruby19
=
'ruby-1.9.3
-p392
'
local
ruby19
=
'ruby-1.9.3'
local
ruby20
=
'ruby-2.0.0
-p0
'
local
ruby20
=
'ruby-2.0.0'
function
rb18
{
function
rb18
{
if
[
-z
"
$1
"
]
;
then
if
[
-z
"
$1
"
]
;
then
...
@@ -42,7 +42,6 @@ compdef _rb20 rb20
...
@@ -42,7 +42,6 @@ compdef _rb20 rb20
function
rvm-update
{
function
rvm-update
{
rvm get
head
rvm get
head
rvm reload
# TODO: Reload rvm completion?
}
}
# TODO: Make this usable w/o rvm.
# TODO: Make this usable w/o rvm.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment