about summary refs log tree commit diff
path: root/Completion/Unix/Command/_ant
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-01-08 15:14:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-01-08 15:14:50 +0000
commitabd18275a4c27bc76d26e5111b4cb9c33e2ae7d7 (patch)
tree0ff9220ed8efed8aa274afab154677cc1d4f1180 /Completion/Unix/Command/_ant
parent24dd6fcd97da2f322f31876de0126334722148d3 (diff)
downloadzsh-abd18275a4c27bc76d26e5111b4cb9c33e2ae7d7.tar.gz
zsh-abd18275a4c27bc76d26e5111b4cb9c33e2ae7d7.tar.xz
zsh-abd18275a4c27bc76d26e5111b4cb9c33e2ae7d7.zip
18058, 18060: merge from 4.1
Diffstat (limited to 'Completion/Unix/Command/_ant')
-rw-r--r--Completion/Unix/Command/_ant11
1 files changed, 2 insertions, 9 deletions
diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant
index c1baf6f69..5edc6dd63 100644
--- a/Completion/Unix/Command/_ant
+++ b/Completion/Unix/Command/_ant
@@ -1,16 +1,9 @@
-#compdef ant -value-,ANT_ARGS,-default-
+#compdef ant
 
 typeset -A opt_args
 local state line curcontext="$curcontext"
 local target='*:target:->target'
 
-if [[ $service = *ANT_ARGS* ]]; then
-  compset -q
-  words=( fake "$words[@]" )
-  (( CURRENT++ ))
-  unset target
-fi
-
 _arguments -C \
   '-help[display usage information]' \
   '-projecthelp[print project hjelp information]' \
@@ -25,7 +18,7 @@ _arguments -C \
   '-listener[add an instance of class as a project listener]:classname:_java_class' \
   '(-f -file -buildfile)'{-f,-file,-buildfile}'[use specified build file]:build file:_files' \
   '*-D[specify property with value to use]:property' \
-  '-propertyfile[load properties from specfied file]:property file:_files' \
+  '-propertyfile[load properties from specified file]:property file:_files' \
   '-inputhandler[specify class which will handle input requests]:class:_java_class' \
   '-find[search for buildfile]:file:_files' \
   $target && return