summaryrefslogtreecommitdiff
path: root/plugins/mvn
diff options
context:
space:
mode:
authorPeter Tillemans <pti@snamellit.com>2012-06-18 10:45:07 +0200
committerPeter Tillemans <pti@snamellit.com>2012-06-18 10:45:07 +0200
commit8b69c7f6a0c80c1c53505e17d356387b83e18efc (patch)
treec76fc91c12ef4f1ecc52f888a92c3472f8ae8c55 /plugins/mvn
parent3f42fd000c2110ec8647d341cb69a31ebbbe9b4e (diff)
parente8d582aba98d57214a374bed01570ba791c54d9e (diff)
downloadzsh-8b69c7f6a0c80c1c53505e17d356387b83e18efc.tar.gz
zsh-8b69c7f6a0c80c1c53505e17d356387b83e18efc.tar.bz2
zsh-8b69c7f6a0c80c1c53505e17d356387b83e18efc.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/mvn')
-rw-r--r--plugins/mvn/mvn.plugin.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mvn/mvn.plugin.zsh b/plugins/mvn/mvn.plugin.zsh
new file mode 100644
index 000000000..e8af2f49d
--- /dev/null
+++ b/plugins/mvn/mvn.plugin.zsh
@@ -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 -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 \ No newline at end of file