zsh-workers
 help / color / mirror / code / Atom feed
* BUG: java command auto complete is incorrect if `-jar` is used
@ 2015-06-18 20:57 Hong Xu
  2015-06-19 15:14 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: Hong Xu @ 2015-06-18 20:57 UTC (permalink / raw)
  To: zsh-workers

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-19 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 20:57 BUG: java command auto complete is incorrect if `-jar` is used Hong Xu
2015-06-19 15:14 ` Oliver Kiddle

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).