tab completion - single press for possibilities - Kubuntu 6.06
How do all.
THE PROBLEM: When I'm using tab-completion from within a shell I have to press the tab button twice in order to get a list of the possibilities. What I've got right now Code:
shell> cat /var/lo*<tab press>* If I press the tab button twice: Code:
shell> cat /var/lo*<tab press>**<second tab press>* Now, to be fair the double tab press is the default, intended, behavior. However, in the past (I believe I was using Mandrake/Mandriva at the time) a single tab press that didn't have one and only one possible completion would immediately list the possibilities. Any way to get the same functionality under ubuntu/kubuntu? Thanks all, enjoy! |
You probably want either
set show-all-if-ambiguous or set show-all-if-unmodified in your ~/.inputrc. The bash man page describes these options. |
Nice Work!
I added "set show-all-if-ambiguous" to my ~/.inputrc and that seemed to do it. Code:
shell> echo "set show-all-if-ambiguous" >> ~/.inputrc Code:
shell> man bash |
All times are GMT -5. The time now is 11:46 AM. |