Bash completion support for the macOS open command
Bash completion for open
open
$ open -a <TAB>
$ open -a Safari file.html
$ open -a Finder .