Permalink
Browse files

java: Complete *.war

Closes #179
  • Loading branch information...
martinda authored and scop committed Jan 7, 2018
1 parent 5b3e79e commit c1912bfd080d4eadba8bc81754ba7b2723115d78
Showing with 2 additions and 2 deletions.
  1. +1 −1 completions/java
  2. 0 test/fixtures/java/bashcomp.war
  3. +1 −1 test/lib/completions/java.exp
View
@@ -217,7 +217,7 @@ _java()
else
if [[ "$prev" == -jar ]]; then
# jar file completion
_filedir jar
_filedir '[jw]ar'
else
# classes completion
_java_classes
No changes.
@@ -44,7 +44,7 @@ assert_no_complete "java -cp \"\" "
sync_after_int
assert_complete "a/ bashcomp.jar" "java -jar $::srcdir/fixtures/java/"
assert_complete "a/ bashcomp.jar bashcomp.war" "java -jar $::srcdir/fixtures/java/"
sync_after_int

0 comments on commit c1912bf

Please sign in to comment.