I just wanted to download a YouTube video using
zsh interprets the questionmark
? (which separates the query part of the URL) as a globbing wildcard operator (which matches any single character) and thus it aborts the command with the following error message:
$ youtube-dl https://www.youtube.com/watch?v=eDSESarTQXk zsh: no matches found: https://www.youtube.com/watch?v=eDSESarTQXk
Is there a way to make
zsh recognize URLs, perhaps using regular expression, so that it doesn’t try to glob them?