Subject: Re: Zstyle command completion does not work for some executables
From: Daniel Shahaf <[email-masked]>
To: Silvio Ricardo Cordeiro <[email-masked]>
Cc: [email-masked]
Date: Fri, 29 Jan 2016 09:19:07 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Silvio Ricardo Cordeiro wrote on Thu, Jan 28, 2016 at 12:52:44 -0200:
> On an otherwise empty .zshrc:
> 
> Some completion specifications work normally:
> 
> > zstyle ':completion:*:*killall*:*' command 'echo testing'
> > zstyle ':completion:*:*rake*:*' command 'echo testing'

What is happening?  What do you want to happen?

The 'command' style isn't used by all completion functions.

Cheers,

Daniel

> While other completion just do *not* work:
> 
> > zstyle ':completion:*:*bash*:*' command 'echo testing'
> > zstyle ':completion:*:*some_file_in_PATH*:*' command 'echo testing'
> 
> zstyle ':completion:*:*inexistent_executable*:*' command 'echo testing'
> >
> 
> Is there any way to debug this kind of behavior?  I have tried pressing
> "^X?", but the output is the same for "killall" and for "bash"...
> 
> -- 
> Silvio Ricardo Cordeiro