Tab Completion Does Not End Shielded Space Paths

For some time I have been experiencing the annoying bash -completion problem, namely, it does not work when the path contains shielded space. For example, I am in / cygdrive / c and print

$ cd Pro 

pressing the Tab key ends with "cd Program", pressing twice shows all directories with this prefix "Program":

 Program Files/ Program Files (x86)/ ProgramData/ 

I want to write cd to "Program Files" to print

 $ cd Program\ 

(with a space after a backslash), and from now on, pressing Tab does nothing. This worked a while ago, but I can’t determine exactly when it stopped. Any hints on what might be causing this?

+4
source share
1 answer

There seems to be a problem with the bash_completion package. I had a problem with cd , but not with other programs like ls . You can remove this package or put complete -r cd in .bashrc .

+5
source

All Articles