<<< Date Index >>>     <<< Thread Index >>>

Is there a way to have mutt automatically run a script at startup?



I'm trying to get mutt to generate a bunch of alias commands via "ls
~mail/lists | awk .." for the mailing lists I am subscribed to and write
them to a file that I would subsequently read via a "source alias-file". 

So every time I start mutt the file would be recreated and mut's alias
list would be in sync with my mailing list mboxes.

I guess I could write a wrapper to launch mutt but I was thinking of
coding something in my .muttrc that would invoke a bash shell & run the
script but I have not found anything.

Thanks!

CJ