Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Completing directories with special suffix
- X-seq: zsh-users 4792
- From: "Will Sargent" <wsargent@xxxxxxx>
- To: "Brian Agnew" <brianagnew@xxxxxxxxx>, <zsh-users@xxxxxxxxxx>
- Subject: RE: Completing directories with special suffix
- Date: Thu, 28 Mar 2002 10:51:14 -0800
- Importance: Normal
- In-reply-to: <20020328095904.51178.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
> I solved this in a non-zsh fashion by writing a program called
> classfind that
> parsed my classpath and built a cache of classes vs. package/directory.
>
> So I can identify which jar I pick up a particular class from.
>
> I then built a zsh completion around it, such that this program
> was invoked for
> 'java com.oopsconsultancy.<TAB>'. So it doesn't complete on
> directories, but
> from your classpath.
>
> More details if you're interested.
That sounds like a great idea; parse out the classpath and then do
completion on it. Woo.
Will.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author