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

BUG: java command auto complete is incorrect if `-jar` is used



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: signature.asc
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author