summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonatan Ivanov <jonatan.ivanov@gmail.com>2020-02-12 12:52:47 -0800
committerGitHub <noreply@github.com>2020-02-12 21:52:47 +0100
commita6df94d2c677c6d28c5ee339975b7a56a2f67e21 (patch)
tree3e283d1daeb4b57fde805a2ad2dccf5150051cbd
parent3ec04997ebc413ddc95b7c11743b525d7fc7c4ab (diff)
downloadzsh-a6df94d2c677c6d28c5ee339975b7a56a2f67e21.tar.gz
zsh-a6df94d2c677c6d28c5ee339975b7a56a2f67e21.tar.bz2
zsh-a6df94d2c677c6d28c5ee339975b7a56a2f67e21.zip
gradle: run gradle command instead of alias (#8620)
- Similarly to the mvn plugin - Without this fix, the shell crashes in some cases
-rw-r--r--plugins/gradle/gradle.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gradle/gradle.plugin.zsh b/plugins/gradle/gradle.plugin.zsh
index 6be583179..c651b91ca 100644
--- a/plugins/gradle/gradle.plugin.zsh
+++ b/plugins/gradle/gradle.plugin.zsh
@@ -7,7 +7,7 @@ gradle-or-gradlew() {
echo "executing gradlew instead of gradle";
./gradlew "$@";
else
- gradle "$@";
+ command gradle "$@";
fi
}