From 5652f0e09c7db989c2fc184bee3bc73645ecc9f9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 24 Aug 2004 20:52:23 +0000 Subject: Incorporate Jean-Baptiste Quenot's change that improves the parsing of the tag. --- Completion/Unix/Command/_ant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index f969ad859..73d193991 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -86,7 +86,7 @@ case $state in buildfile=${(v)opt_args[(I)(-f|-file|-buildfile)]:-build.xml} fi if [[ -f $buildfile ]]; then - targets=( $(sed -n "s/ *]* name=[\"']\([^\"']*\)[\"'].*/\1/p" < $buildfile) ) _wanted targets expl target compadd -a targets && ret=0 else _message -e targets target -- cgit 1.4.1