Bash completion

See https://gist.github.com/smousa/10403120 for instructions on how to implement.