Ant build target autocompletion in bash

Another simple one:

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

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *