Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _store_cache allows cache names to contain /
- X-seq: zsh-workers 17798
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: _store_cache allows cache names to contain /
- Date: Wed, 9 Oct 2002 15:11:53 +0000
- In-reply-to: <14813.1034156157@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <14813.1034156157@xxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author