Description of problem: Filenames containing : are completed weirdly Version-Release number of selected component (if applicable): bash-3.2-1.fc7 How reproducible: Always Steps to Reproduce: 1. ls /etc/gdm/custom.conf:<TAB> 2. 3. Actual results: ls /etc/gdm/custom.conf:/etc/gdm/custom.conf\:0 Expected results: ls /etc/gdm/custom.conf\:0 Additional info: This happens with my (bog standard) .bash_profile and .bashrc (attached), but not when I run "bash --noprofile --norc" (?)
Created attachment 144817 [details] My .bash_profile
Created attachment 144818 [details] My .bashrc
What does 'echo $COMP_WORDBREAKS' say?
$ echo $COMP_WORDBREAKS "'><=;|&(:
BTW, I've also got bash-completion-20060301-2.fc6
Working as expected. ':' is in the default COMP_WORDBREAKS so that auto-completion works correctly when building a PATH-style variable on the command line, for example. Set COMP_WORDBREAKS differently if you like, or use '\:' instead of ':' to use a literal ':' character in a filename and have completion work.