about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r--Completion/Zsh/Command/_command2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_command b/Completion/Zsh/Command/_command
index 72d7b6e99..7cfb52c2f 100644
--- a/Completion/Zsh/Command/_command
+++ b/Completion/Zsh/Command/_command
@@ -2,6 +2,8 @@
 
 local ret
 
+# indicate if this is a precommand modifier
+[[ $service = command ]] && precommands+=(command)
 if [[ CURRENT -ge 3 ]]; then
   compset -n 2
   _normal && ret=0