Document conflict with oh-my-zsh alias, fixes #148

When using oh-my-zsh completion for maven, mvnd conflicts with oh-my-zsh's alias for `mvn deploy`
This commit is contained in:
Guillaume Nodet
2020-11-17 13:19:55 +01:00
committed by GitHub
parent 3009d93b02
commit cd4fea2f7a

View File

@@ -61,6 +61,15 @@ sense. With SDKMAN!, the `~/.m2/mvnd.properties` file is typically not needed at
$ brew install mvndaemon/homebrew-mvnd/mvnd $ brew install mvndaemon/homebrew-mvnd/mvnd
---- ----
=== Note for oh-my-zsh users ===
Users that use `oh-my-zsh` often use completion for maven. The default maven completion plugin defines `mvnd` as an alias to `mvn deploy`. So before being able to use `mvnd`, you need to unalias using the following command:
[source,shell]
----
$ unalias mvnd
----
=== Install manually === Install manually
* Download the latest ZIP suitable for your platform from https://github.com/mvndaemon/mvnd/releases * Download the latest ZIP suitable for your platform from https://github.com/mvndaemon/mvnd/releases