If I type "ant -f" and press <Tab> I would expect either all .xml files or maybe all files to be listed as valid completions. Instead I get: $ ant -f bash: complete-ant-cmd.pl: command not found... Fedora 15, x86_64 bash-completion-1.3-4.fc15.noarch ant-1.8.2-3.fc15.noarch It doesn't look like I have anything weird in /etc/bash_completion: $ for f in `ls /etc/bash_completion`; do rpm -qf $f; done bash-completion-1.3-4.fc15.noarch
Thanks for the report. This change to /etc/bash_completion.d/ant should fix it in new shells, could you try it out? -have complete-ant-cmd.pl && \ +PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type complete-ant-cmd.pl &>/dev/null && \
Yes, that gets rid of the error for me. Thanks!
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.