From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 145ebd71 for ; Sun, 21 Jul 2019 19:12:08 +0000 (UTC) Received: (qmail 15919 invoked by alias); 21 Jul 2019 19:11:58 -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: List-Unsubscribe: X-Seq: 24081 Received: (qmail 25516 invoked by uid 1010); 21 Jul 2019 19:11:58 -0000 X-Qmail-Scanner-Diagnostics: from mail-wm1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25517. spamassassin: 3.4.2. Clear:RC:0(209.85.128.45):SA:0(-2.0/5.0):. Processed in 1.959053 secs); 21 Jul 2019 19:11:58 -0000 X-Envelope-From: stephane.chazelas@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.128.45 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KBA9c47aGGNhBSw0MB65bZX13e81yAlRtrjQOskZkD4=; b=ibzmvkQxpazcSX6ZMSH7xRW92rZRApFQIcmYIdh+qs0qWUoolRR/BBpcorqI+Fx+F0 Up+xAHQQNo8qIcI7lBGjIqud/euh9pMMTdobHbidxephnMwRrRL5ILt9E0vilOPhU2Ha TFnSfU4rD9QXNhsgLwX1/Cw8jMei62I6GQtWwSvi0qx938DS5v8WeJS6Teozc+TOUF2b 24/SHhSNIXGAgiiWHqASrSNpKm8T2lgY7LHhqtvPOv1kmWH9BSPasGycDkPMmgNtZ/v/ hYk2Rj/FT/yvOu6WPZq2I2eTySp6REbbq7y6iDccYvgbTlGUqToz+1kH0gxo0Al7nGQ5 ecMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=KBA9c47aGGNhBSw0MB65bZX13e81yAlRtrjQOskZkD4=; b=jVvjMwVglKx2MRrf5OL6PzK/M2Ell6dNf5LhZC7KuTpsDxURqBeJMafSB+rqESSdk1 yOcz9XkTSSu9qd6G9mkHBFb0XAqT+Y8mx7CWNT//03eXGA5L2XhfqucscpgScz/838qu 8RuwIUrwZMGTfU2U/fxFm3zWuJvRdivFQS54hUXn+IdEkVWBLboEOuwxysYEk+47rrdc XjxfGnSDW6x4KuZ5dlst+5Z4PvJjAinL7aiKL8XliMejiegODX7gE2irsD3B2eVDjh0F 5wT6BXq9T3EwM672/R3pF8DWlbAAwPxC+evn9SIh+irtA7TPMZcdW3bDE9f+/1kV2JQg uMXg== X-Gm-Message-State: APjAAAWVvCmQPsNBfzZXGLaYcppNRZTuyDXu3F373bqlDk4Bdvp4PWZb F+ggVUCXCSMNIpcpfq7k1j7mkowsjnQ= X-Google-Smtp-Source: APXvYqxaQnX8WFdMuNFp4qvlqGF5fJH7GnIFgaoGyoMmb++647E5oOgc10R/gtOqkn7orDlLK/Fqcw== X-Received: by 2002:a05:600c:2c7:: with SMTP id 7mr53213472wmn.45.1563736281963; Sun, 21 Jul 2019 12:11:21 -0700 (PDT) Date: Sun, 21 Jul 2019 20:11:20 +0100 From: Stephane Chazelas To: zsh-users@zsh.org Subject: Re: is there a way to use *.{txt,zip,tbz,dmg} if one or more might be Message-ID: <20190721191120.qlrne2hrnwpsqjlu@chaz.gmail.com> Mail-Followup-To: zsh-users@zsh.org References: <20190707163948.6202__37372.3986953095$1562542863$gmane$org@Huxley> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190707163948.6202__37372.3986953095$1562542863$gmane$org@Huxley> User-Agent: NeoMutt/20171215 2019-07-07 16:39:48 -0700, jdh: > > There should be two ways to do that; > > 1.) Using extended flags > > setopt nullglob # this will last throughout your session [...] cshnullglob would be less problematic than nullglob here. Note that that very question was asked (and answered) on unix.stackexchange.com at https://unix.stackexchange.com/questions/298548/matching-files-using-curly-brace-expansion-in-zsh -- Stephane