mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
25569: David Le Bourgeois and pws: _ant completion fix
This commit is contained in:
parent
50e4b43362
commit
f18f231ef7
2 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@ find_targets() {
|
|||
importedfiles=( $(sed -n "s/ *<import[^>]* 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/ *<target[^>]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1
|
||||
sed -n "s/ *<target[^>]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1
|
||||
if (( $#importedfiles )) ; then
|
||||
( cd $1:h
|
||||
for file in $importedfiles ; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue