Hi Andrey!

On Do, 18 Feb 2010, Andrey Zhidenkov wrote:

> Hello, all.
> 
> I've converted all my mail from mbox to maildir format. I use sidebar patch
> and now my mailboxes name starts with '.'. mailboxes setting defined like 
> this:
> 
> 
> mailboxes `echo -n "+ "; find ~/mail -maxdepth 1 -type d -name ".*" -printf 
> "+'%f' "`
> 
> Can I remove a '.' symbol here? Does mutt will be able to find mailbox dirs?

Ok, I am late, but does that work:

mailboxes `shopt -s dotglob; printf "+%s " /dir/*/`

This should work with bash, so in case backticks won't call bash you 
could use:
mailboxes `bash -c 'shopt -s dotglob; printf "+%s " /dir/*/'`

and zsh knows something similar:
mailboxes `printf "+%s " /dir/*(D/)`

regards,
Christian
-- 
Department chairmen never die, they just lose their faculties.

Reply via email to