From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14542 invoked from network); 7 Oct 1998 15:40:45 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Oct 1998 15:40:45 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id LAA15597; Wed, 7 Oct 1998 11:21:45 -0400 (EDT) Resent-Date: Wed, 7 Oct 1998 11:21:40 -0400 (EDT) Message-Id: <9810071511.AA34477@ibmth.df.unipi.it> To: Greg Badros , zsh-users@math.gatech.edu Subject: Re: Null tilde expansions? In-Reply-To: "Greg Badros"'s message of "07 Oct 1998 08:00:14 DFT." Date: Wed, 07 Oct 1998 17:11:42 +0200 From: Peter Stephenson Resent-Message-ID: <"3AEJf2.0.Dp3.4Su6s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1839 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Greg Badros wrote: > "Bart Schaefer" writes: > % unsetopt badpattern > % echo ~notauser > zsh: no such user or named directory: notauser > > The badpattern option does look like the right thing, but perhaps > it's broken? I think the appropriate option is 'nomatch'. (Sounds OK to me, it's a match that's failing rather than a pattern that's been typed wrongly.) % setopt nomatch % echo ~nouser zsh: no such user or named directory: nouser % setopt nonomatch % echo ~nouser ~nouser % -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy