From 7d84cde31330023b264a415ffa02686ee0338b4f Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Thu, 4 Apr 2019 18:45:19 -0500 Subject: 44201: _command_name: Check for external forcing precommand --- Completion/Zsh/Type/_command_names | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Zsh/Type') 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 -- cgit 1.4.1