[ale] cd command and auto complete
Andrew Sledge
andrew at novologic.com
Fri Jul 1 12:02:17 EDT 2011
You're looking for bash autocomplete, which uses the built in complete
command. Here is a good tutorial on how to assign autocompletes:
http://www.debian-administration.org/articles/316
On Fri, Jul 1, 2011 at 9:20 AM, <ale-request at ale.org> wrote:
>
> Date: Fri, 1 Jul 2011 09:12:14 -0400
> From: "Narahari 'n' Savitha" <savithari at gmail.com>
> Subject: [ale] cd command and auto complete
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Message-ID: <BANLkTimwnyomu1Wud3K7nySDsE1wLXB3sQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.ale.org/pipermail/ale/attachments/20110701/1e4b3461/attachment-0001.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110701/c2bfe3e8/attachment.html
More information about the Ale
mailing list