zip files should be completion candidates for jar.
Bug #248057 reported by
Brett Sealey
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
| bash-completion (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: bash-completion
The jar utility works with zip files, so they should be candidates for completion.
Ubuntu 8.04.1
Here is a patch against 20060301-3ubuntu3 that enables it:
diff -u bash_completion
--- bash_completion
+++ bash_completion 2008-07-13 10:13:30.000000000 +0100
@@ -2985,7 +2985,7 @@
_filedir
;;
*f)
- _filedir '?(e|j|w)ar'
+ _filedir '?([ejw]
;;
*)
_filedir
| Changed in bash-completion (Ubuntu): | |
| importance: | Undecided → Low |
| status: | Confirmed → Triaged |
| Changed in bash-completion (Debian): | |
| status: | Unknown → Fix Released |
To post a comment you must log in.

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you.
I have tried to reproduce it in my 8.10 Intrepid Ibex and i can't.
My test case:
$ touch test.zip
$ touch test.jar
$ jar t test.[TAB]
test.jar test.zip # the 2 files are proposed like expected.
I have also edited my /etc/bash_ completion file to see what i have in the _jar spécifications and i can't see difference with the last hardy version.
I mark this bug as invalid for now beacause i can't reproduce it and the auto completion work like expected in the latest ubuntu version. Feel free to provide us more information (like your java virtual machine, java path, ...) to help us figure why you have this issue, and change back the status to incomplete.