about summary refs log tree commit diff
path: root/Completion/Zsh/Type
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Type')
-rw-r--r--Completion/Zsh/Type/_command_names2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_command_names b/Completion/Zsh/Type/_command_names
index f8188774d..cd630b7a4 100644
--- a/Completion/Zsh/Type/_command_names
+++ b/Completion/Zsh/Type/_command_names
@@ -21,6 +21,8 @@ defs=(
 
 if [[ "$1" = -e ]]; then
   shift
+elif (( ${#precommands:|builtin_precommands} )); then
+  # precommand excludes internal options below
 else
   [[ "$1" = - ]] && shift