mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Update gem completion
This commit is contained in:
parent
bc3cadf5c8
commit
15509ce047
1 changed files with 4 additions and 1 deletions
|
@ -4,11 +4,13 @@
|
||||||
# gem zsh completion, based on homebrew completion
|
# gem zsh completion, based on homebrew completion
|
||||||
|
|
||||||
_gem_installed() {
|
_gem_installed() {
|
||||||
installed_gems=(`gem list --local --no-versions`)
|
installed_gems=(${(f)"$(gem list --local --no-versions)"})
|
||||||
}
|
}
|
||||||
|
|
||||||
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 gems'
|
'check:Check installed gems'
|
||||||
'cleanup:Clean up old versions of installed gems in the local repository'
|
'cleanup:Clean up old versions of installed gems in the local repository'
|
||||||
|
@ -37,6 +39,7 @@ _1st_arguments=(
|
||||||
'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 local repository'
|
'update:Update the named gems (or all installed gems) in the local repository'
|
||||||
'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
|
||||||
|
|
Loading…
Reference in a new issue