open-completion

Bash completion support for the macOS open command

brewmacoslinux
Try with needOr install directly
Source

About

Bash completion for open

Commands

open

Examples

Open a file with tab completion for available applications$ open -a <TAB>
Open a file in a specific application with completion$ open -a Safari file.html
Open current directory in Finder with completion$ open -a Finder .