gradle / gradle-completion

Gradle tab completion for bash and zsh
MIT License
1.02k stars 131 forks source link

Halve results - skip completions starting with ':' if nothing is typed #87

Closed mwos-sl closed 4 years ago

mwos-sl commented 4 years ago

..Otherwise tasks for subprojects are doubled when just

./gradlew <tab, tab>

e.g.:

:some-subproject:someTask
some-subproject:someTask

Let's skip those with ":" as there is no value from them. Ofc if someone types ./gradlew :<tab,tab> it works as expected.

eriwen commented 4 years ago

I think this is a good user-facing change. Thanks @mwos-sl!