1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 02:08:37 +08:00

Merge pull request #2003 from dongweiming/update-gem

Update gem completion
This commit is contained in:
Robby Russell 2013-12-02 23:41:31 -08:00
commit 7c3665bd2e

View File

@ -4,10 +4,11 @@
# 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' 'build:Build a gem from a gemspec'
'cert:Manage RubyGems certificates and signing settings' 'cert:Manage RubyGems certificates and signing settings'