Fix silly type I caused when cleaning up ant completions. Thanks to Steven Knight for the report

darcs-hash:20080112184928-75c98-286284df7196a479c6a2789120705f1764d619b9.gz
This commit is contained in:
liljencrantz 2008-01-13 04:49:28 +10:00
parent 52aaf60510
commit 2aad9d5a95

View File

@ -2,7 +2,7 @@ function __fish_complete_ant_targets -d "Print list of targets from build.xml an
set -l buildfile "build.xml"
if test -f $buildfile
# show ant targets
__fish_print_ant_targets $buildfile
__fish_filter_ant_targets $buildfile
# find files with buildfile
set files (sed -n "s/^.*<import[^>]* file=[\"']\([^\"']*\)[\"'].*\$/\1/p" < $buildfile)