On Thu, May 04, 2017 at 02:22:38PM +0200, Nicolas George wrote: > For interactive use, the other other behaviour is obviously the best > one: > > ~ $ ls *.c > zsh: no matches found: *.c > zsh: exit 1 ls --color=tty -FT0 *.c > > Notice how zsh is reporting the error, not ls?
Oh, bash calls that one "failglob". wooledg:~$ shopt -s failglob wooledg:~$ ls *.txy bash: no match: *.txy