I've checked in support for bash autocompletion into newt onto develop
To use this for mac, you have to tell your shell how to use it.
1. Install bash completion ('brew install bash-completion')
2. Tell your shell to use newt for autocompletion ('complete -C "newt
complete" newt')
That should be it. A couple caveats.
1. Its not too smart with flags. It will complete the flag tokens, but not
the values like "info, debug, file.txt" that are possible
2. It will look for targets and libs so it will autocomplete for build,
size, load, test, run etc. If you are not in a project directory, it won't
work