Ubuntu – Tab autocomplete in terminal is not behaving properly

auto-completioncommand line

There's something odd about my autocomplete in the gnome terminal.

I used to be able to type cp Downtab to get cp Downloads/, and then type Jettab to end up with cp Downloads/Jet\ Pack\ Instructions.pdf

But now, when I have cp Down typed and hit tab, I get cp Downloads with a space afterwards. And if I backspace that and make it say cp Downloads/Jet and hit tab, I get cp Downloads/Jet Pack Instructions.pdf without the backslashes.

It wasn't like this before. How do I fix this?

EDIT: There's a problem with my /etc/bash_completion file, it seems. Just not sure what.

Best Answer

It is caused due to acrobat reader. The file is -


Removing this file, worked correctly for me.

Related Question