My collection of bash completion scripts that work on my Mac. They probably work for yours too.