diff options
author | Matthew Martin <phy1729@gmail.com> | 2019-04-04 18:45:19 -0500 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2019-04-04 18:45:19 -0500 |
commit | 7d84cde31330023b264a415ffa02686ee0338b4f (patch) | |
tree | 2bd35212c238a10562e195fe8c0dc74c6244215f /Completion/Zsh/Type | |
parent | 5facfd32805831230f9b42b7ec9765e858b553a8 (diff) | |
download | zsh-7d84cde31330023b264a415ffa02686ee0338b4f.tar.gz zsh-7d84cde31330023b264a415ffa02686ee0338b4f.tar.xz zsh-7d84cde31330023b264a415ffa02686ee0338b4f.zip |
44201: _command_name: Check for external forcing precommand
Diffstat (limited to 'Completion/Zsh/Type')
-rw-r--r-- | Completion/Zsh/Type/_command_names | 2 |
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 |