Upstream provides Zsh completion for hub command. Please install it in /usr/share/zsh/site-functions
If you're not familiar with zsh, /usr/share/zsh/site-functions/_hub is right destination.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Created attachment 1196397 [details] Patch to update to 2.2.5 Ralph, I've requested ACLs on all branches. I'm attaching a patch (minus `fedpkg new-sources`) to update to 2.2.5 built in Go.
Oops, wrong BZ. But I'll update the patch to include ZSH...
Comment on attachment 1196397 [details] Patch to update to 2.2.5 Complete patch posted to BZ #1321183
hub-2.2.5-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bf355a0a10
hub-2.2.5-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ee9213e044
hub-2.2.5-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ee9213e044
hub-2.2.5-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bf355a0a10
hub-2.2.5-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
I apologies for not being clear. The path /usr/share/zsh/site-functions/_hub/hub.zsh_completion is not correct. Upstream hub.zsh_completion must be installed as /usr/share/zsh/site-functions/_hub
hub-2.2.5-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f56a7c07e6
hub-2.2.5-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-38ae34085b
hub-2.2.5-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-38ae34085b
hub-2.2.5-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f56a7c07e6
hub-2.2.5-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
Still not fixed: # rpm -ql hub | grep zsh /usr/share/zsh/site-functions/_hub /usr/share/zsh/site-functions/_hub/hub.zsh_completion In spec file: -install -d -m 755 %{buildroot}%{_datarootdir}/zsh/site-functions/_hub/ +install -d -m 755 %{buildroot}%{_datarootdir}/zsh/site-functions/
hub-2.2.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
hub-2.2.5-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6fafabb81b
hub-2.2.5-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f90e46a83a
hub-2.2.5-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
hub-2.2.5-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.