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