Rob 'Feztaa' Park wrote: > Alas! Benjamin Smith spake thus: > > The ways that script works is by outputting the muttrc to a tempory > > file, the name of which is outputted for source, but what you can do is > > just to put: > > > > `~/bin/do-whatever.sh` > > > > In the muttrc and mutt will interpret the output of the shell script > > without the need of tempory files. > > Nope, that was the first thing I tried, didn't work.
source "$HOME/bin/mutt-prep folders=$HOME/mail"| (note the "|" at the end of the command) should work without a temporary file. Regards... Michael