mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-09 18:38:05 +02:00
52179: Fix gradlew completion when it isn't in PATH
This commit is contained in:
parent
97e4310563
commit
8ebbf25a71
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2023-11-01 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* Shohei YOSHIDA: 52179: Completion/Unix/Command/_gradle:
|
||||||
|
Fix gradlew completion when it isn't in PATH
|
||||||
|
|
||||||
2023-10-29 Matthew Martin <phy1729@gmail.com>
|
2023-10-29 Matthew Martin <phy1729@gmail.com>
|
||||||
|
|
||||||
* github #102: Ulysse Buonomo: Completion/Unix/Command/_todo.sh:
|
* github #102: Ulysse Buonomo: Completion/Unix/Command/_todo.sh:
|
||||||
|
|
|
@ -92,7 +92,7 @@ if [[ $state == task && ! -prefix - ]]; then
|
||||||
zle -R "Generating cache from $gradle_buildfile"
|
zle -R "Generating cache from $gradle_buildfile"
|
||||||
|
|
||||||
# Run gradle/gradlew and retrieve possible tasks.
|
# Run gradle/gradlew and retrieve possible tasks.
|
||||||
for outputline in ${(f)"$($service --build-file $gradle_buildfile -q tasks --all)"}; do
|
for outputline in ${(f)"$($words[1] --build-file $gradle_buildfile -q tasks --all)"}; do
|
||||||
|
|
||||||
# Tasks and subprojects each start with a lowercase letter, but whereas tasks are in camelCase, each
|
# Tasks and subprojects each start with a lowercase letter, but whereas tasks are in camelCase, each
|
||||||
# subproject consists of one or more sections of kebab-case, with each section ending in a ':'.
|
# subproject consists of one or more sections of kebab-case, with each section ending in a ':'.
|
||||||
|
|
Loading…
Reference in a new issue