bash completion isn't working like it used to — not escaping spaces and oddities in filenames, etc [duplicate]

StackOverflow https://stackoverflow.com/questions/12641949

Okay, I just don't understand why this isn't working automatically.

When I'm working on my mac, spaces and other odd characters get escaped automatically when I do autocomplete in bash, but on my ubuntu box, they don't. Even worse, if I do escape the character, then try autocomplete, the escapes disappear. Why doesn't debian's bash complete know how to deal with spaces and other chars that need escaping out of the box??

有帮助吗?

解决方案

THe answer to my question appears here:

Bash autocomplete doesn't escape SPACE and doesn't mark directories in Ubuntu 11.4

Remove /etc/bash_completion.d/acroread.sh

其他提示

Debian isn't the same thing as Ubuntu. Also, bash completion isn't part of bash proper, it's a package. I suggest simply uninstalling and reinstalling the package. If you're curious or have customized changes to the bash stack, back up your files beforehand for comparison.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top