Description of problem: I have a core called: core_0.old If I run: gdb foo-server core_0.ol[tab] it will not complete. This used to work in previous releases of Fedora. It seems the tab-completion got too smart and broke some things... Version-Release number of selected component (if applicable): 7.4.50.20120120-42.fc17 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is intentional, only core and core.<PID> files are now completed in this scenario. If you disagree with bash-completions' filename suggestions, use Alt+/ instead of tab to complete on all filenames.
Is there any way to disable this mis-feature and just let tab work like it used to work? I've been doing tab-complete for years and have no interest in training my finders to use some Alt combination that is much more difficult to type.
Some things you may want to look into: rpm -e bash-completion shopt -u progcomp # in bashrc, see /etc/profile.d/bash_completion.sh complete -F _minimal gdb # in bashrc replace the last COMPREPLY+= line plus its continuation in /usr/share/bash-completion/completions/gdb with _filedir. This will be overwritten on bash-completion upgrades though. The "some Alt combination" is what readline binds complete-filename by default. I suppose you could bind it to some other key/combination. Never tried that myself, see the bash man page for more info.