Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Errors with my youtube-dl function in ~/.zshrc but I am unsure why



On Sun, Aug 16, 2015 at 6:43 PM, Gowtham M <gowthamgowtham@xxxxxxxxx> wrote:
> Not a direct answer, but youtube-dl works with the video id also, like:
> % yt OC1JiAUr3ZU
>
> You may also "setopt nonomatch" to make zsh leave the argument unchanged if
> no files match. Although, be warned that it might have some side effects.

A sidenote to this sidenote, the above doesn't work if the id starts
with a - :).

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author