mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
add maven plugin
This commit is contained in:
parent
814ecfc60d
commit
e9feccf6a9
1 changed files with 6 additions and 0 deletions
6
plugins/mvn/mvn.plugin.zsh
Normal file
6
plugins/mvn/mvn.plugin.zsh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function listMavenCompletions {
|
||||||
|
reply=(
|
||||||
|
cli:execute cli:execute-phase archetype:generate generate-sources compile clean install test test-compile deploy package cobertura:cobertura jetty:run gwt:run gwt:debug -DskipTests -Dmaven.test.skip=true -Dtest= `if [ -d ./src ] ; then find ./src -type f | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`);
|
||||||
|
}
|
||||||
|
|
||||||
|
compctl -K listMavenCompletions mvn
|
Loading…
Reference in a new issue