Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: is there a way to use *.{txt,zip,tbz,dmg} if one or more might be
- X-seq: zsh-users 24081
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: is there a way to use *.{txt,zip,tbz,dmg} if one or more might be
- Date: Sun, 21 Jul 2019 20:11:20 +0100
- 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==
- In-reply-to: <20190707163948.6202__37372.3986953095$1562542863$gmane$org@Huxley>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20190707163948.6202__37372.3986953095$1562542863$gmane$org@Huxley>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author