Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Completing directories with special suffix



> 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