From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20780 invoked from network); 9 Oct 2002 15:12:34 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 Oct 2002 15:12:34 -0000 Received: (qmail 6364 invoked by alias); 9 Oct 2002 15:12:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17798 Received: (qmail 6344 invoked from network); 9 Oct 2002 15:12:21 -0000 From: "Bart Schaefer" Message-Id: <1021009151153.ZM16040@candle.brasslantern.com> Date: Wed, 9 Oct 2002 15:11:53 +0000 In-Reply-To: <14813.1034156157@csr.com> Comments: In reply to Peter Stephenson "Re: PATCH: _store_cache allows cache names to contain /" (Oct 9, 10:35am) References: <14813.1034156157@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: _store_cache allows cache names to contain / MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 9, 10:35am, Peter Stephenson wrote: } Subject: Re: PATCH: _store_cache allows cache names to contain / } } Felix Rosencrantz wrote: } > + (zmodload zsh/files 2>/dev/null; mkdir -p "$_cache_dir" ) } > + (zmodload zsh/files 2>/dev/null; mkdir -p "$_cache_ident_dir") } } It's slightly better practice to use `zmodload -i zsh/files' I actually recommended against that for this case, because the redirection to /dev/null is necessary to suppress failure messages whether or not the module is already loaded; the -i adds nothing. See zsh-workers/17649. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net