Hide Forgot
Description of problem: Under bash the following produces "pminfo mem.util.free" as expected: $ pminfo me<TAB>u<TAB>f<TAB> However, if trying to use bashcompinit with zsh, PCP completion doesn't work: autoload -U bashcompinit bashcompinit . /etc/bash_completion.d/pcp It is unclear to me whether this is a generic issue with bashcompinit or something specific to /etc/bash_completion.d/pcp. Version-Release number of selected component (if applicable): zsh-5.1.1-4.fc23.x86_64
The bashcompinit module was introduced in 2003: http://www.zsh.org/mla/workers/2003/msg00046.html ... and there have been 5 commits since then. It does not seem to be actively maintained. I believe the best way to address this is to write a completion for zsh and post it to the upstream mailing list for inclusion.
Thanks for the background info. Yes, indeed seems like bashcompinit is not going to work so I'm ok closing this bug if you like. Thanks.
This is really a matter of contributing the zsh completion script. Looking at /etc/bash_completion.d/pcp it does not seem to be overly complicated. Still it would be better if the completion script was written by someone who actively uses pcp.
Here I was mostly interested to know what bashcompinit is expected to work or not. I will try to create PCP completion for zsh at some point but that's an upstream matter, I think we could close this BZ if nothing will be done for bashcompinit. Thanks.
Thanks for clarification! Closing...