Managing identities without suspending Mutt
Gregory Heytings
ghe at sdf.org
Fri Nov 13 00:50:32 UTC 2020
>> Thank you for your answer! But this does not answer my question: I
>> know that it is possible to manage multiple identities that way, and I
>> was trying to find something more flexible.
>
> You could put the post-the-script stuff in the script output.
>
> macro index A ':`shell-script-emitting-mutt-commands`<enter>'
>
> Then your shell script can run your menu selection of identity (use
> /dev/tty for the output here, since stdout will be going back to mutt)
> and then have it write whatever you like to mutt, for example an
> instruction to source an identity setup file.
>
Thank you very much for the pointer, I'll try to do that, and indeed I
think that doing something like the above will do the trick!
More information about the Mutt-users
mailing list