added programmable bash completion for mac and ubuntu