Tab autocomplete in terminal is not behaving properly

Posted by CaptSaltyJack on Ask Ubuntu See other posts from Ask Ubuntu or by CaptSaltyJack
Published on 2012-03-29T21:04:59Z Indexed on 2012/03/30 17:43 UTC
Read the original article Hit count: 246

Filed under:

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.

© Ask Ubuntu or respective owner

Related posts about auto-completion