scop / bash-completion

Programmable completion functions for bash
GNU General Public License v2.0
2.8k stars 376 forks source link

feat(java): enable .java filename completion for java command #1197

Closed jiri-pejchal closed 1 month ago

jiri-pejchal commented 1 month ago

Modify java command completion scripts to also complete filenames with the .java extension. This adds support for


edited by @akinomyoga

Fixes #1196

jiri-pejchal commented 1 month ago

This pull request incorporates changes according to the commentary from #662 .

akinomyoga commented 1 month ago

The essential fix seems to be the same as https://github.com/scop/bash-completion/pull/662#issuecomment-1001646441. I prefer to leave the credit to the original author of #662, e.g., by including the Co-authored-by: ... in the commit message.

jiri-pejchal commented 1 month ago