Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created April 10, 2010 19:12
Show Gist options
  • Save jhsu/362237 to your computer and use it in GitHub Desktop.
Save jhsu/362237 to your computer and use it in GitHub Desktop.
From ad700a5c42519db6d1e751598a6b74d7111ee19b Mon Sep 17 00:00:00 2001
From: Joseph Hsu <[email protected]>
Date: Sat, 10 Apr 2010 15:11:27 -0400
Subject: [PATCH] fix commands and add default & system to rubies completion
---
scripts/completion | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/completion b/scripts/completion
index 134c333..64a7cad 100644
--- a/scripts/completion
+++ b/scripts/completion
@@ -25,7 +25,7 @@ __rvm_subcommand()
__rvm_rubies ()
{
- echo "$(rvm list strings)"
+ echo "$(rvm list strings) default system"
}
__rvm_gemsets ()
@@ -37,10 +37,11 @@ _rvm_commands ()
{
local cur=${COMP_WORDS[COMP_CWORD]}
- COMMANDS='use info list reload impload update reset debug\
+ COMMANDS='\
+ version use reload impload update reset info debug\
install uninstall remove\
- ruby gem gemset rake tests spects\
- gemdir srcdir'
+ ruby gem rake tests specs monitor gemset\
+ gemdir srcdir fetch list package notes'
RVM_OPTS='\
-v --version\
--
1.6.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment