-   Fedora (
-   -   Tab does not auto-complete in terminal (

General 04-30-2006 12:21 AM

Tab does not auto-complete in terminal
I am used to hitting tab to list possible matches, in a bash terminal.


$ cp image<tab>
$ cp image1<tab>
$ cp image11<tab>
automatically changes it to:
$ cp image11.png

Fedora Core 5 does not seem to do this. How can I add this feature in?

Penguin of Wonder 04-30-2006 12:39 AM

Alot of times you have to hit tab multiple times in order for this feature to kick in. I know I do in Gentoo using Fluxbox.

ataraxia 04-30-2006 12:41 AM

It's probably the readline config that's different. Put into your ~/.inputrc:

set show-all-if-ambiguous on
set show-all-if-unmodified on

_s0t0_ 05-07-2009 01:59 PM

make sure you are using /bin/bash instead of /bin/sh as your shell

dicyan 06-03-2012 01:16 PM

1. Log as root
2. Press middle (scroll) mouse button in the terminal emulator! (show all ambiguous on)

stoggy 06-04-2012 06:34 PM

wow man dead thread or what? 2006? Its 2012!!! LOL I do it too. I hit one from 30 years ago once.

David the H. 06-05-2012 02:08 PM

Not to mention that the post that resurrected it doesn't actually provide a solution to the original question. A middle-mouse click generally just pastes the current x-selection. I'm not at all sure what the poster is really thinking. :scratch:

philmck 05-15-2013 11:03 AM

And the correct answer is...
yum install bash-completion

jayasraj 09-12-2013 01:48 AM


Originally Posted by _s0t0_ (Post 3533689)
make sure you are using /bin/bash instead of /bin/sh as your shell

Using /bin/bash fixed this issue for me.

All times are GMT -5. The time now is 12:55 AM.