[linux-elitists] bash completion

Rob Walker rob@myinternetplace.net
Mon Jan 14 18:41:25 PST 2002


>>>>> On Mon, 14 Jan 2002 20:33:08 -0500, Joey Hess <joey@kitenet.net> said:

Joey> Rob Walker wrote:
>> # cvs(1) completion

Joey> Wimpy. Doesn't even parse CVS/Entries to see what files you have
Joey> in cvs and which you don't, and which you've changed
Joey> recently. Certianly doesn't know how to pull tags and revisions
Joey> out of cvs. Omits all the esoteric options, including the
Joey> command-specific ones.

>> What does it do?  Does it run the app with --help and then help
>> complete the options?  

Joey> Well yes but that's minor. It completes the word you're dicting,
Joey> using dict -m to find matches.

Joey> joey@silk:~>dict elitis<tab>
Joey> elitism   elitist

Joey> Hmm.. w3m? Nope, supported..

Joey> joey@silk:~>w3m htttp://<tab>
Joey> zsh: do you wish to see all 136 possibilities (127 lines)? 

wow, that is pretty amazing.  Thanks.

rob



More information about the linux-elitists mailing list