mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
mvn: avoid mvn-or-mvnw function calling itself when mvn is aliased to it
This commit is contained in:
parent
b767976586
commit
c636e0933a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ mvn-or-mvnw() {
|
||||||
echo "executing mvnw instead of mvn"
|
echo "executing mvnw instead of mvn"
|
||||||
./mvnw "$@"
|
./mvnw "$@"
|
||||||
else
|
else
|
||||||
mvn "$@"
|
command mvn "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue