Created attachment 510309 [details] patch for /etc/bash_completion to fix broken completion for sum and sha* programs Description of problem: sum --ver[TAB][TAB] doesn't do anything. Version-Release number of selected component (if applicable): bash-completion-1.3-4.fc15.noarch How reproducible: reproducible 100% of the time. enable bash completion in the normal way, and then try to do: $ sum --vers[TAB][TAB] nothing happens. Steps to Reproduce: 1. enable bash completion in the normal way 2. open a terminal 3. sum --version[TAB][TAB] Actual results: nothing appears. Expected results: I expected the --version option to be completed. Additional info: I am attaching a fix for the bug.
whoops, I meant press [TAB] once, not twice!
Completion for "sum" is not broken, there simply is no completion for it in bash-completion. And the patch is not correct; while it adds completion for sum, it removes completions for sha1sum, sha224sum etc and installs completions for sha1, sha224 etc instead. Fixed patch applied upstream: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=e7b3abf689e9608aa60e6a4504df136022987633
bash-completion-1.3-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/bash-completion-1.3-5.fc16
bash-completion-1.3-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/bash-completion-1.3-5.fc15
bash-completion-1.3-5.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el6
bash-completion-1.3-5.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el5
Package bash-completion-1.3-5.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing bash-completion-1.3-5.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el5 then log in and leave karma (feedback).
bash-completion-1.3-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
bash-completion-1.3-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
bash-completion-1.3-5.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
bash-completion-1.3-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.