fix(gradle): move compdef line (#11488)

This commit is contained in:
Bartek Pacia 2023-02-11 20:54:20 +01:00 committed by GitHub
parent 041c35ffc8
commit f9104d155f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`