summaryrefslogtreecommitdiff
path: root/plugins/mvn
diff options
context:
space:
mode:
authorFredrik Appelberg <fredrik.appelberg@gmail.com>2011-12-08 10:02:17 +0100
committerFredrik Appelberg <fredrik.appelberg@gmail.com>2011-12-08 10:02:17 +0100
commite24230cbfb766320fa13fcda6c1adb60028288f4 (patch)
tree1137da0d087f136626bbc692b4a4dabf48598f68 /plugins/mvn
parent7c36ef7faa65441f8eec27589f24ba9f18f8d66c (diff)
parent0a896119214b5211d26be6446d5e98af7634c5ae (diff)
downloadzsh-e24230cbfb766320fa13fcda6c1adb60028288f4.tar.gz
zsh-e24230cbfb766320fa13fcda6c1adb60028288f4.tar.bz2
zsh-e24230cbfb766320fa13fcda6c1adb60028288f4.zip
Merge branch 'master' of git@github.com:fred-o/oh-my-zsh
Conflicts: .gitignore
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