Use bash-completion.