diff options
| author | Marlon Richert <marlonrichert@users.noreply.github.com> | 2021-09-17 16:05:53 +0300 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-09-28 23:50:31 +0200 |
| commit | 1e9013941e7a830827acf6cffcbd1c407358ecfe (patch) | |
| tree | f2d5d93755077bcb4c47ada8f811276da0aefe18 /Completion/Unix/Command/_gradle | |
| parent | 49454: open dump file once only instead of reopening it for appends (diff) | |
| download | zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar.gz zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar.bz2 zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar.lz zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar.xz zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.tar.zst zsh-1e9013941e7a830827acf6cffcbd1c407358ecfe.zip | |
Add support for multi-project builds to _gradle
Diffstat (limited to 'Completion/Unix/Command/_gradle')
| -rw-r--r-- | Completion/Unix/Command/_gradle | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/Completion/Unix/Command/_gradle b/Completion/Unix/Command/_gradle index adf5e9aa8..a1d9381cb 100644 --- a/Completion/Unix/Command/_gradle +++ b/Completion/Unix/Command/_gradle @@ -1,9 +1,9 @@ #compdef gradle gradlew local curcontext="$curcontext" ret=1 state state_descr line -local gradle_inspect=yes cache_policy tag_order +local gradle_inspect=yes cache_policy tag_order filter= local -A opt_args -local -a gradle_group_tasks gradle_all_tasks +local -aU gradle_group_tasks gradle_all_tasks tasks # Set the caching policy to invalidate cache if the build file is newer than the cache. _gradle_caching_policy() { @@ -78,31 +78,53 @@ if [[ $words[CURRENT] != -* ]]; then local -a match mbegin mend |
