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
Oh My Zsh
Commits
34ce86e4
Commit
34ce86e4
authored
Jul 23, 2013
by
Robby Russell
Browse files
Merge pull request #1994 from kennethgeerts/master
Updated gem plugin zsh completion (gem 2.0.3).
parents
a256f7a8
107d196f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/gem/_gem
View file @
34ce86e4
...
@@ -9,8 +9,9 @@ _gem_installed() {
...
@@ -9,8 +9,9 @@ _gem_installed() {
local -a _1st_arguments
local -a _1st_arguments
_1st_arguments=(
_1st_arguments=(
'build:Build a gem from a gemspec'
'cert:Manage RubyGems certificates and signing settings'
'cert:Manage RubyGems certificates and signing settings'
'check:Check
installed gem
s'
'check:Check
a gem repository for added or missing file
s'
'cleanup:Clean up old versions of installed gems in the local repository'
'cleanup:Clean up old versions of installed gems in the local repository'
'contents:Display the contents of the installed gems'
'contents:Display the contents of the installed gems'
'dependency:Show the dependencies of an installed gem'
'dependency:Show the dependencies of an installed gem'
...
@@ -21,7 +22,7 @@ _1st_arguments=(
...
@@ -21,7 +22,7 @@ _1st_arguments=(
'install:Install a gem into the local repository'
'install:Install a gem into the local repository'
'list:Display gems whose name starts with STRING'
'list:Display gems whose name starts with STRING'
'lock:Generate a lockdown list of gems'
'lock:Generate a lockdown list of gems'
'mirror:Mirror a gem
reposit
or
y
'
'mirror:Mirror a
ll
gem
files (requires rubygems-mirr
or
)
'
'outdated:Display all gems that need updates'
'outdated:Display all gems that need updates'
'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'
...
@@ -35,8 +36,9 @@ _1st_arguments=(
...
@@ -35,8 +36,9 @@ _1st_arguments=(
'stale:List gems along with access times'
'stale:List gems along with access times'
'uninstall:Uninstall gems from the local repository'
'uninstall:Uninstall gems from the local repository'
'unpack:Unpack an installed gem to the current directory'
'unpack:Unpack an installed gem to the current directory'
'update:Update
the named gems (or all
installed gems
) in
the l
ocal repository
'
'update:Update installed gems
to
the l
atest version
'
'which:Find the location of a library file you can require'
'which:Find the location of a library file you can require'
'yank:Remove a specific gem version release from RubyGems.org'
)
)
local expl
local expl
...
...
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