gradle / gradle/gradle-completion
./gradlew autocompletion fails with `command not found: gradlew`
Open
a:bug
in:zsh
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 155
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 4
Description
When trying to autocomplete when using the wrapper in the project ./gradlew it gives the following error
` ./gradlew _gradle:95: command not found: gradlew `
This is on
OS: MacOS 13
Arch: aarch64
Shell: zsh
Contributor guide
Research direction
Start by reproducing the failure in zsh on macOS with the project wrapper command ./gradlew and inspect the completion path reported as _gradle:95. Done means autocompletion for a project-local ./gradlew no longer produces “command not found: gradlew”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100