diff options
author | dongweiming <ciici123@hotmail.com> | 2013-06-30 17:29:02 +0800 |
---|---|---|
committer | dongweiming <ciici123@hotmail.com> | 2013-06-30 17:29:02 +0800 |
commit | 15509ce0472a431867cc2ff21ca5ef0a1c1e855f (patch) | |
tree | 1ec829d87561572f17cf8e35e25da5f81d77f84d /plugins/gem | |
parent | bc3cadf5c83697c176c9d4ce41c7fde7f57bf6e7 (diff) | |
download | zsh-15509ce0472a431867cc2ff21ca5ef0a1c1e855f.tar.gz zsh-15509ce0472a431867cc2ff21ca5ef0a1c1e855f.tar.bz2 zsh-15509ce0472a431867cc2ff21ca5ef0a1c1e855f.zip |
Update gem completion
Diffstat (limited to 'plugins/gem')
-rw-r--r-- | plugins/gem/_gem | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gem/_gem b/plugins/gem/_gem index 83cba40d1..279181e70 100644 --- a/plugins/gem/_gem +++ b/plugins/gem/_gem @@ -4,11 +4,13 @@ # 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' 'check:Check installed gems' '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' 'update:Update the named gems (or all installed gems) in the local repository' 'which:Find the location of a library file you can require' + 'yank:Remove a specific gem version release from RubyGems.org' ) local expl |