[ale] cd command and auto complete

arxaaron arxaaron at gmail.com
Sat Jul 2 14:02:21 EDT 2011


On 2011/07/01, at 19:36 , arxaaron wrote:
[snippage]
>       ...The question was if command
> completion could be set to progress through the list of potential
> choices with repeated <TAB> key presses (or a command key
> combination) instead of simply displaying the choices.
>
> The link offered by Billy (which leads to the original source
> below) is a cool solution that does exactly what was requested:
>
> <http://www.jpsdomain.org/linux/linux.html>
>

FOLLOWUP:
The tweak works like a champ for bash on OSeX as well.

Though after tinkering with it a little I'm finding cases where
the default list methodology might be preferred.

peace
aaron



>>
>> On Fri, Jul 1, 2011 at 9:12 AM, Narahari 'n' Savitha <savithari at gmail.com
>>> wrote:
>> Friends:
>>
>> I use bash.  Take this scenario
>>
>> prompt>ls -l
>> config
>> configevents
>>
>> prompt>cd co<TAB>
>>
>> It does not alternate between config and confievents folder(s)
>>
>> However on Windoze platform
>>
>> c:\users\narahari>dir
>> config
>> configevents
>>
>> c:\users\narahari>cd co<TAB>
>> It presents both config first and then another <TAB> puts
>> configevents.
>>
>> How can I get that behaviour in bash ?
>>
>> -Narahari
>>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



More information about the Ale mailing list