Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: False alarm (nonomatch and cshnullglob)
- X-seq: zsh-workers 1739
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: False alarm (nonomatch and cshnullglob)
- Date: Tue, 23 Jul 1996 09:31:44 +0200
- In-reply-to: "schaefer@xxxxxxxxxxxxxxxxxxxxxxx"'s message of "Mon, 22 Jul 1996 15:11:21 MET."             <960722151122.ZM10323@xxxxxxxxxxxxxxxxxxxxxxx> 
schaefer@xxxxxxxxxxxxxxxxxxxxxxx wrote:
> zsh% setopt nobadpattern nonomatch
> zsh% echo ( Make | buy )
> zsh: no match
> 
> I forgot that I also have cshnullglob set.
I suppose that's right, since the manual says that nullglob overrides
nonomatch, and (elsewhere) that cshnullglob overrides nullglob, but it
does seem a bit of a palaver deciding on the behaviour, easy to get
confused, and hard to set the behaviour you want if there are default
settings in /etc/zshrc.  Still, there doesn't seem to be much to do
without a really radical options overhaul (setopt
nomatch=csh/null/none would be nice).
-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author