summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_gem
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_gem')
-rw-r--r--Completion/Unix/Command/_gem5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_gem b/Completion/Unix/Command/_gem
index 7e244ccad..7d81619bb 100644
--- a/Completion/Unix/Command/_gem
+++ b/Completion/Unix/Command/_gem
@@ -56,6 +56,11 @@ if [[ $state = command ]]; then
check|cleanup|contents|dependency|list|open|pristine|rdoc|uninstall|unpack|update)
args+=( '(--all --skip)*:installed gem:->gems-local' )
;|
+ install)
+ (( ${(M)#line:#[^-]*} > 1 )) && args+=(
+ '(*)--[specify build options]:*:build option:_default'
+ )
+ ;|
fetch|install|lock|owner|search|yank)
args+=( '*:gem:->gems-remote' )
;|