Overview
Request 1173477 accepted
add completion subpackages and fix version output
- Created by ojkastl_buildservice
- In state accepted
- Package maintainers: amanzini and ojkastl_buildservice
Loading...
Request History
ojkastl_buildservice created request
add completion subpackages and fix version output
amanzini accepted request
Some notes:
rpmlint warning about group tag
Other packages put zsh completions under
/usr/share/zsh/site-functions
, see also: https://unix.stackexchange.com/questions/607809/where-should-i-install-the-zsh-completion-file-as-a-package-maintainerHi Andrea,
thanks for checking.
ad 1) The rpmlint check only warns on 15.x, where groups were still a thing. If you have a favorite, I can add this to the spec file.
ad 2) I am basically just copying what I found in the openSUSE docs and other packages, each time I need to add a completion subpackage. Check the change for skaffold which was one of the first ones. This far no reviewer had objections, so I daresay this is fine. Of course, it could just be that no one uses zsh completions... :-)
Maybe we should clarify this on the packaging list.
I just checked the openSUSE zsh package: https://build.opensuse.org/projects/openSUSE:Factory/packages/zsh/files/zsh.spec?expand=1
Line 181 creates this "custom completion directory".
right, probably I missed that addition to $fpath. Thanks for clarification!