mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Merge pull request #3661 from ericbottard/GradleWrapperFix
Fix invocation of gradlew
This commit is contained in:
commit
baf1aa13cb
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ _gradlew_tasks () {
|
||||||
if [ in_gradle ]; then
|
if [ in_gradle ]; then
|
||||||
_gradle_arguments
|
_gradle_arguments
|
||||||
if _gradle_does_task_list_need_generating; then
|
if _gradle_does_task_list_need_generating; then
|
||||||
gradlew tasks --all | grep "^[ ]*[a-zA-Z0-9:]*\ -\ " | sed "s/ - .*$//" | sed "s/[\ ]*//" > .gradletasknamecache
|
./gradlew tasks --all | grep "^[ ]*[a-zA-Z0-9:]*\ -\ " | sed "s/ - .*$//" | sed "s/[\ ]*//" > .gradletasknamecache
|
||||||
fi
|
fi
|
||||||
compadd -X "==== Gradlew Tasks ====" `cat .gradletasknamecache`
|
compadd -X "==== Gradlew Tasks ====" `cat .gradletasknamecache`
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue