aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_ant_targets.fish
blob: 55b77e444e6a3d0057ad85e84d8e43efec060a1b (plain)
1
2
3
4
5
6
7

function __fish_complete_ant_targets -d "Print list of targets from build.xml"
	if test -f build.xml
		sed -n "s/ *<target name=[\"']\([^\"']*\)[\"'].*/\1/p" < build.xml
	end
end