[Ilugc] Bash auto-completion magic

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Thu Jan 7 09:22:06 2010

Rosh,

Leave the thread. At least I got your mind. ;)

Thanks.

-Girish

On Thu, Jan 7, 2010 at 7:46 AM, Roshan Mathews <rmathews@xxxxxxxxx> wrote:

On Thu, Jan 7, 2010 at 7:09 AM, Girish Venkatachalam
<girishvenkatachalam@xxxxxxxxx> wrote:
On Wed, Jan 6, 2010 at 11:37 PM, Roshan Mathews <rmathews@xxxxxxxxx> wrote:
Check out:
/etc/bash_completion
/etc/bash_completion.d/mercurial

I seem to be missing something. What is the connection?

I was talking about the set command in [1] and you are talking about
auto completion.

Yes, but one of your examples for set used the file bash_completion.

I did talk about how to add editline in one of the language classes.

That adds auto completion feature to your program shell.

That adds the history feature, right? ?So that you can use your arrow
keys and C-r to search for previous commands.

By the way I find that nowadays the application specific files alone
show up in auto completion. This is a very nice improvement.

Exactly. ?That's what I was talking about. ?Maybe I should have been
clearer about how I wrote it. ?Application specific file completion is
done by those two files I mentioned (if you have sourced them into
your .bashrc)

? ?- rm
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts: