The default completion of the
open commands tries to fill in URLs. For example, typing
curl <TAB> gives
file: ftp:// gopher:// http:// https://
alongside any files in the current directory.
I never want to autocomplete URLs, so these suggestions are just visual noise mixed in with the filenames etc. that I’m actually interested in. How can I prevent zsh from offering URL completion for a particular command? How can I prevent it from offering this for any command?