On Mon, Aug 30, 1999 at 07:49:17PM +0200, Thomas Roessler wrote:
> I'm tinkering around a bit with zsh.
> 
> Does anyone have something better than this for mutt command
> completion?  (I don't like that sub-directories hack too much, but
> it seems to be the only thing I get working.)
> 

I don't know if it's better, but I use the following completion:

compctl -x 's[-]' -s 'a b c d e f F H i m n p R s v vv x y z Z h' - \
        'c[-1,-F][-1,-H][-1,-i][-1,-a]' -g '*(-)' - \
        'c[-1,-f] s[./]' -g "*(-.)" - \
        'c[-1,-f]' -P "+" -g "~/mail/**/*(-.:gs,$HOME/mail/,,)" - \
        'c[-1,-s]' -P "\"" -\
        'c[-1,-e]' -m - 'c[-1,-b][-1,-c]'\
        -s '$(sed -e "/<.*>/\!d" -e "s/.*<\(.*\)>.*/\1/g" ~/.mail_aliases)' - \
        'p[1],s[^-]' -s \
        '$(sed -e "/<.*>/\!d" -e "s/.*<\(.*\)>.*/\1/g" ~/.mail_aliases)' -- mutt

I kind of like the recursive search for folders. And if I wan't a mailbox
which isn't in the standard place i just prefix it with ./.

        Jimmy - [EMAIL PROTECTED]

Reply via email to