diff --git a/plugins/gradle/_gradle b/plugins/gradle/_gradle index 1da5aebee..f8df928b4 100644 --- a/plugins/gradle/_gradle +++ b/plugins/gradle/_gradle @@ -1,3 +1,6 @@ +#compdef gradle gradlew gw +# THE LINE ABOVE MUST BE THE FIRST LINE OF THIS FILE IN ORDER FOR COMPLETION TO WORK + # # Taken from https://github.com/gradle/gradle-completion # Copyright (c) 2017 Eric Wendelin @@ -21,8 +24,6 @@ # SOFTWARE. # Terms -#compdef gradle gradlew gw - __gradle-set-project-root-dir() { local dir=`pwd` project_root_dir=`pwd`