1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

gradle: run gradle command instead of alias (#8620)

- Similarly to the mvn plugin
- Without this fix, the shell crashes in some cases
This commit is contained in:
Jonatan Ivanov 2020-02-12 12:52:47 -08:00 committed by GitHub
parent 3ec04997eb
commit a6df94d2c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ gradle-or-gradlew() {
echo "executing gradlew instead of gradle";
./gradlew "$@";
else
gradle "$@";
command gradle "$@";
fi
}