From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22925 invoked by alias); 16 Aug 2015 21:54:22 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20419 Received: (qmail 10613 invoked from network); 16 Aug 2015 21:54:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.50.110.72 with SMTP id hy8mr12606986igb.36.1439762057926; Sun, 16 Aug 2015 14:54:17 -0700 (PDT) In-Reply-To: References: <55D03155.6010606@gmx.com> <1212377169.5264610.1439708089255.JavaMail.yahoo@mail.yahoo.com> Date: Sun, 16 Aug 2015 23:54:17 +0200 Message-ID: Subject: Re: Errors with my youtube-dl function in ~/.zshrc but I am unsure why From: Mikael Magnusson To: Gowtham M Cc: "zsh-users@zsh.org" , John Content-Type: text/plain; charset=UTF-8 On Sun, Aug 16, 2015 at 6:43 PM, Gowtham M 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