I was thinking that this new 'tabtabcomp' option would be an explicit flag
to set this one feature, regardless of the editing mode (vi or gmacs/emacs).
Of course for convenience (aka outreach to the bash user community :-))
'-o gmacs' could assume '-o tabtabcomp' unless '+o tabtabcomp' was set.
-Mario
Josh Hurst wrote:
> On 6/19/06, Mario DeFazio <Mario.DeFazio at morganstanley.com> wrote:
>
>> Could this not be solved with a new 'set' flag?
>>
>> set -o tabtabcomp
>>
>> This would always treat TAB-TAB as a completion request.
>> Just wonderin'...
>
> Yeah but there is already such a flag: -o gmacs
>
> The gmacs mode is currently almost identical to the emacs mode except
> one or two details but I think that making TAB and TABTAB always a
> completion request is a good thing to add to the gmacs mode as the
> idea came from the GNU people - and is considered as one of the most
> user friendly features of the bash shell.