diff --git a/share/functions/__fish_complete_ant_targets.fish b/share/functions/__fish_complete_ant_targets.fish index b1447ce1e..f8b286439 100644 --- a/share/functions/__fish_complete_ant_targets.fish +++ b/share/functions/__fish_complete_ant_targets.fish @@ -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/^.*]* file=[\"']\([^\"']*\)[\"'].*\$/\1/p" < $buildfile)