From f18f231ef7eb73ebe0c4e3dec41255924af15e61 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 31 Aug 2008 13:37:27 +0000 Subject: 25569: David Le Bourgeois and pws: _ant completion fix --- Completion/Unix/Command/_ant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_ant') diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index 90f2f5699..e4f5efa67 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -10,7 +10,7 @@ find_targets() { importedfiles=( $(sed -n "s/ *]* file=[\"']\([^\"']*\)[\"'].*/\1/p" < $1) ) # Tweaked to omit targets beginning with "-" that can't # be invoked from the command line; see zsh-workers/24129. - sed -n "s/ *]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1 + sed -n "s/ *]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1 if (( $#importedfiles )) ; then ( cd $1:h for file in $importedfiles ; do -- cgit 1.4.1