This commit is contained in:
Bodo Tasche 2017-05-02 02:23:57 +00:00 committed by GitHub
commit e43289b06a
2 changed files with 12 additions and 1 deletions

View file

@ -25,6 +25,7 @@ _1st_arguments=(
'lock:Generate a lockdown list of gems'
'mirror:Mirror all gem files (requires rubygems-mirror)'
'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'
@ -66,7 +67,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