[Dorset] Bash completion

2009-07-01 Thread Tim Allen
Hi All Just had a taste of the effort that's gone in to Bash completion (this on Debian Etch): In a directory with a bunch of .c and .h files, including file1.c and file1.h. Files under cvs version control. rm file1.c cvs delete fi (TAB for completion) gives cvs delete file1.c

Re: [Dorset] Bash completion

2009-07-01 Thread Andy Leon
Yeah, I noticed a similar thing the other day with the javac and java commands. Depending on which program I'm using, tab-completion works out whether to select the source file or class file, and whatsmore it knows not to add the .class extension to the classfile. Absolutely brilliant.