Tab does not auto-complete in terminal
I am used to hitting tab to list possible matches, in a bash terminal.
Ex. Code:
$ cp image<tab> |
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.
|
It's probably the readline config that's different. Put into your ~/.inputrc:
Code:
set show-all-if-ambiguous on |
make sure you are using /bin/bash instead of /bin/sh as your shell
|
Solution
Just:
1. Log as root 2. Press middle (scroll) mouse button in the terminal emulator! (show all ambiguous on) Voala! |
wow man dead thread or what? 2006? Its 2012!!! LOL I do it too. I hit one from 30 years ago once.
|
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:
|
And the correct answer is...
yum install bash-completion
|
Quote:
Using /bin/bash fixed this issue for me. |
All times are GMT -5. The time now is 12:12 AM. |