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

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

Question

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??

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top