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

mvn: avoid mvn-or-mvnw function calling itself when mvn is aliased to it

This commit is contained in:
Marc Cornellà 2019-02-17 18:28:24 +01:00
parent b767976586
commit c636e0933a

View file

@ -26,7 +26,7 @@ mvn-or-mvnw() {
echo "executing mvnw instead of mvn"
./mvnw "$@"
else
mvn "$@"
command mvn "$@"
fi
}