Skip to content

Monthly Archives: November 2006

Ant build file completion for Fish.

Here is a VERY basic completion for Ant build files for Fish. It was based on the Ant completion from Zsh. Save it to ~/.config/fish/completions/ant.fish.


function __fish_complete_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

complete -x -c ant -a "(__fish_complete_targets)"

Upgraded to 4.7.4

I just updated this drupal installation to 4.7.4.