Commit 7c3665bd authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2003 from dongweiming/update-gem

Update gem completion
parents c0a6f8a8 15509ce0
...@@ -4,10 +4,11 @@ ...@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment