From 0eb283d95573d52c357f16b0da777c86c934ca18 Mon Sep 17 00:00:00 2001 From: dongweiming Date: Sun, 30 Jun 2013 17:29:02 +0800 Subject: [PATCH] Update gem completion --- plugins/gem/_gem | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/gem/_gem b/plugins/gem/_gem index e6b903c24..25967f1e7 100644 --- a/plugins/gem/_gem +++ b/plugins/gem/_gem @@ -4,10 +4,11 @@ # gem zsh completion, based on homebrew completion _gem_installed() { - installed_gems=(`gem list --local --no-versions`) + installed_gems=(${(f)"$(gem list --local --no-versions)"}) } local -a _1st_arguments + _1st_arguments=( 'build:Build a gem from a gemspec' 'cert:Manage RubyGems certificates and signing settings'