mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add open command to gem
This commit is contained in:
parent
a525993f6b
commit
51644aaecb
1 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ _1st_arguments=(
|
||||||
'lock:Generate a lockdown list of gems'
|
'lock:Generate a lockdown list of gems'
|
||||||
'mirror:Mirror a gem repository'
|
'mirror:Mirror a gem repository'
|
||||||
'outdated:Display all gems that need updates'
|
'outdated:Display all gems that need updates'
|
||||||
|
'open:Open gem in $EDITOR'
|
||||||
'owner:Manage gem owners on RubyGems.org.'
|
'owner:Manage gem owners on RubyGems.org.'
|
||||||
'pristine:Restores installed gems to pristine condition from files located in the gem cache'
|
'pristine:Restores installed gems to pristine condition from files located in the gem cache'
|
||||||
'push:Push a gem up to RubyGems.org'
|
'push:Push a gem up to RubyGems.org'
|
||||||
|
|
@ -58,7 +59,7 @@ case "$words[1]" in
|
||||||
_gem_installed
|
_gem_installed
|
||||||
_requested installed_gems expl 'installed gems' compadd -a installed_gems
|
_requested installed_gems expl 'installed gems' compadd -a installed_gems
|
||||||
fi ;;
|
fi ;;
|
||||||
uninstall|update)
|
uninstall|update|open)
|
||||||
_gem_installed
|
_gem_installed
|
||||||
_wanted installed_gems expl 'installed gems' compadd -a installed_gems ;;
|
_wanted installed_gems expl 'installed gems' compadd -a installed_gems ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue