I just wanted to download a YouTube video using youtube-dl
, however, 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?
oh-my-zsh
, however, I can’t find the particular setting and was hoping that someone knew it off the top of their head. Perhaps they've just disabled the?
globbing wildcard operator??
globbing wildcard operator?” That is a case of using a sledgehammer when a light push would work. Never change core behavior like that for a one-case use.