How can I modify the following so that it reads maildir and not just mailbox format?
typeset -a mailpath
for i in ~/Mail/Lists/*(.); do
mailpath[$#mailpath+1]="${i}?You have new mail in ${i:t}."
done
Currently, I get:
/home/XXX/.zshrc:77: no matches found: /home/XXX/.Mail/Lists/*(.)