From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18703 invoked by alias); 29 Jan 2016 09:19:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37832 Received: (qmail 9287 invoked from network); 29 Jan 2016 09:19:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Date: Fri, 29 Jan 2016 09:19:07 +0000 From: Daniel Shahaf To: Silvio Ricardo Cordeiro Cc: zsh-workers@zsh.org Subject: Re: Zstyle command completion does not work for some executables Message-ID: <20160129091907.GC28305@tarsus.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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