From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: PATCH: _java
Date: Tue, 9 Apr 2002 22:43:57 -0700 (PDT) [thread overview]
Message-ID: <20020410054357.98237.qmail@web10404.mail.yahoo.com> (raw)
Here is a proposed patch for _java, that uses the new _java_class function.
If I don't hear any complaints, I'll commit it.
-FR.
Index: Completion/Unix/Command/_java
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_java,v
retrieving revision 1.5
diff -r1.5 _java
47c47
< '(-):class:->class' \
---
> '(-):class:_java_class -m main' \
60c60
< '-doclet[specify a doclet]:doclet:->doclet' \
---
> '-doclet[specify a doclet]:doclet:_java_class -t doclet' \
143c143
< '*:fully qualified classname:->class' && return 0
---
> '*:fully qualified classname:_java_class -m main' && return 0
162c162
< '*:class:->class' && return 0
---
> '*:class:_java_class' && return 0
185c185
< '*:package qualified class name:->class' && return 0
---
> '*:package qualified class name:_java_class' && return 0
504,512d503
< ;;
<
< class|doclet)
< match=()
< compset -P '(#b)(*.)'
< basedir=${match[1]//.//}
< _alternative \
< 'classes:class:compadd $basedir*.class(.:t:s/.class//)' \
< 'packages:package:compadd -qS. $basedir*~$basedir*.*(/:t)'
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
next reply other threads:[~2002-04-10 5:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 5:43 Felix Rosencrantz [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-06-17 18:07 Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020410054357.98237.qmail@web10404.mail.yahoo.com \
--to=f_rosencrantz@yahoo.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).