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



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