From 51644aaecbdf36125e78fa0a077d90c9077d42bd Mon Sep 17 00:00:00 2001 From: Bodo Tasche Date: Sat, 30 Apr 2011 15:26:18 +0200 Subject: [PATCH] Add open command to gem --- plugins/gem/_gem | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/gem/_gem b/plugins/gem/_gem index 83cba40d1..df593d68e 100644 --- a/plugins/gem/_gem +++ b/plugins/gem/_gem @@ -23,6 +23,7 @@ _1st_arguments=( 'lock:Generate a lockdown list of gems' 'mirror:Mirror a gem repository' 'outdated:Display all gems that need updates' + 'open:Open gem in $EDITOR' 'owner:Manage gem owners on RubyGems.org.' 'pristine:Restores installed gems to pristine condition from files located in the gem cache' 'push:Push a gem up to RubyGems.org' @@ -58,7 +59,7 @@ case "$words[1]" in _gem_installed _requested installed_gems expl 'installed gems' compadd -a installed_gems fi ;; - uninstall|update) + uninstall|update|open) _gem_installed _wanted installed_gems expl 'installed gems' compadd -a installed_gems ;; esac