1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 23:58:46 +08:00
ohmyzsh/plugins/mvn/mvn.plugin.zsh
Fredrik Appelberg d02a3912cf maven plugin
2010-12-01 09:56:54 +01:00

6 lines
454 B
Bash

function listMavenCompletions {
reply=(
cli:execute cli:execute-phase archetype:generate compile clean install test test-compile deploy package cobertura:cobertura jetty:run gwt:run gwt:debug -DskipTests -Dmaven.test.skip=true -DarchetypeCatalog=http://tapestry.formos.com/maven-snapshot-repository -Dtest= `if [ -d ./src ] ; then find ./src -type f | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`);
}
compctl -K listMavenCompletions mvn