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

Re: PATCH: _store_cache allows cache names to contain /



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