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

Re: Bug report: ZSH stats every file in Maildir even with no_mail_warning option set.



On Thu, 11 Dec 2008 12:30:34 +0100
VÃclav Haisman <v.haisman@xxxxxxxxxx> wrote:
> I am having problems with ZSH stat()ing every file in my ~/Maildir even
> though I have setopt no_mail_warning in my .zshrc. After a discussion
> about this in #ZSH@FreeNode I have also tried unsetopt MAIL_WARNING and
> unsetopt MAIL_WARN, without success. The main problem with this is that
> it can take several seconds to stat() the thousands of files in the Maildir.

What is $mailpath set to?  Try setting

mailpath=()

The option MAIL_WARN is just an alias for MAIL_WARNING.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author