Another simple one:
- Look up ant’s location:
which ant - you should find a file there named
complete-ant-cmd.plor the like. - add this to your .bashrc (one line):
complete -C <path to antbin dir>/complete-ant-cmd.pl ant
Another simple one:
which antcomplete-ant-cmd.pl or the like.
complete -C <path to antbin dir>/complete-ant-cmd.pl ant