Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zstyle command completion does not work for some executables



Oops, pressed Send too early.

$ zsh --version
zsh 5.0.5 (x86_64-pc-linux-gnu)

Thanks for your help,

2016-01-28 12:52 GMT-02:00 Silvio Ricardo Cordeiro <silvioricardoc@xxxxxxxxx
>:

> On an otherwise empty .zshrc:
>
> Some completion specifications work normally:
>
>> zstyle ':completion:*:*killall*:*' command 'echo testing'
>> zstyle ':completion:*:*rake*:*' command 'echo testing'
>>
>
> 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
>



-- 
Silvio Ricardo Cordeiro


Messages sorted by: Reverse Date, Date, Thread, Author