Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Why is this happening in zsh?



Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:

> On Wed, 14 Mar 2012 19:59:02 +0100 (CET)
> Anonymous <remailer@xxxxxxxxxxxxxxxxxxx> wrote:
> > fossil --ignore *.class
> > zsh: no matches found *.class
> 
>   setopt nonomatch
> 
> fixes this.
> 
> If you are generally speaking expecting bash-like behaviour you might
> want to read the zshoptions manual page and note in particular options
> that are marked <S> (on in sh emulation) or <Z> (on by default in zsh
> but not necessarily emulations of other shells.

Guys: thanks very much indeed for the explanations, solutions and insights.
I have no illusions, bash and much of gnu software does things that aren't
consistent etc. I am not expecting zsh to work like bash either, if I wanted
that I would just use bash! I'm not very good with UNIX and I often miss
simple things. I do appreciate zsh works in a more uniform way. I knew there
was something about globbing but I couldn't get around it for some rsync
commands and now this. Now I think I understand a bit more. Thanks to
everyone who's answered!



Messages sorted by: Reverse Date, Date, Thread, Author