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
- X-seq: zsh-users 20419
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Gowtham M <gowthamgowtham@xxxxxxxxx>
- Subject: Re: Errors with my youtube-dl function in ~/.zshrc but I am unsure why
- Date: Sun, 16 Aug 2015 23:54:17 +0200
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>, John <da_audiophile@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oX3pbB5O3tn2/4ZpUtMXnmxJPMrqBjKGJwTL/aIb3Ak=; b=KpgDPuu7TAlWkt5PROzva82z7WRDBQsJyNKlPHO66c3oqifrXmlYCd7jJCZEWe+trX y+AIf8sp6BTSrnRL2Gj43d1/5YZTyrIftJLUClwIPB4FZLMj0PwDFDPkkaRp1tJUvSsp B+seTOQ1K10a2Vy1aOuBmWvP89Ha4kkwq9Czx5Qw7vv0OsQ2+VOlXssFrPijALjvAtzn Ol7A4SJ1JwVrbTpZZVtA3h61ljw8ipxtKbcilhk2GY2BC8HS5gGiWOijQz5Vyj/Nuwsc AknwlKI2F1HsqUP0RAgqrbiZ2MqbkEmsTtXFsqG9rzQHdtaB4vRiXMFWI3CfrAjKRuyv RL8g==
- In-reply-to: <CABq+BAJhREQ4g1+QSZOfvkoU8kQih8UCTmyNT=y8FKpSb3z3_g@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <55D03155.6010606@gmx.com> <1212377169.5264610.1439708089255.JavaMail.yahoo@mail.yahoo.com> <CABq+BAJhREQ4g1+QSZOfvkoU8kQih8UCTmyNT=y8FKpSb3z3_g@mail.gmail.com>
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