zsh-workers
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: zsh-workers@zsh.org
Subject: BUG: java command auto complete is incorrect if `-jar` is used
Date: Thu, 18 Jun 2015 13:57:16 -0700	[thread overview]
Message-ID: <87bngcpwer.fsf@topbug.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]


Hi,

The java command with `-jar` switch is used in the following way:

    java [ options ] -jar file.jar [ argument ... ]

The zsh autocomplete behaves in a strange way:

    java -jar f<tab>              # works
    java -jar file.jar x<tab>     # should complete file names, etc but not working
    java -jar file.jar whatever x<tab> # completes file names correctly

The second case above is incorrect.

Hong

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

             reply	other threads:[~2015-06-18 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 20:57 Hong Xu [this message]
2015-06-19 15:14 ` Oliver Kiddle

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=87bngcpwer.fsf@topbug.net \
    --to=hong@topbug.net \
    --cc=zsh-workers@zsh.org \
    /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).