1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-24 13:21:57 +00:00
ohmyzsh/plugins/mvn/mvn.plugin.zsh

6 lines
471 B
Bash
Raw Normal View History

2010-12-01 08:56:54 +00:00
function listMavenCompletions {
reply=(
2011-02-16 09:40:51 +00:00
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 -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`);
2010-12-01 08:56:54 +00:00
}
compctl -K listMavenCompletions mvn