Re: Completion: menu-complete from second TAB hit onwards

2009-10-04 Thread Chet Ramey
Julien Duval wrote: > Thanks for the quick reply Chet. > > I should have insisted on the fact that I don't want the first TAB to insert > a full match. The first TAB should only insert the longest common prefix > between all the possible completions (not a full match). A full match should > only b

Re: Completion: menu-complete from second TAB hit onwards

2009-09-30 Thread Julien Duval
Thanks for the quick reply Chet. I should have insisted on the fact that I don't want the first TAB to insert a full match. The first TAB should only insert the longest common prefix between all the possible completions (not a full match). A full match should only be inserted from the second TAB

Re: Completion: menu-complete from second TAB hit onwards

2009-09-30 Thread Chet Ramey
> I'm trying to get a specific completion behaviour (simple but effective). > Any help would be greatly appreciated. > Here is what I'm looking for: > > 1. When TAB is hit once, complete the command-line with the longest common > prefix AND list all possible completions (at the same time). > This

Completion: menu-complete from second TAB hit onwards

2009-09-29 Thread Julien Duval
Hi everyone, I'm trying to get a specific completion behaviour (simple but effective). Any help would be greatly appreciated. Here is what I'm looking for: 1. When TAB is hit once, complete the command-line with the longest common prefix AND list all possible completions (at the same time). This