Managing identities without suspending Mutt
Gregory Heytings
ghe at sdf.org
Tue Nov 10 22:15:36 UTC 2020
Hi list,
Is there a trick to execute a macro after a shell-escape which asks for
user input? I currently have:
macro index A '<shell-escape>shell-script '
macro index B '<enter-command>source ~/.mutt/mutt-script<return>'
shell-script writes mutt-script, and I'd like to do 'B' when 'A' returns,
without having to press 'B'.
A few words about the context of this question: I'm trying to find a way
to manage multiple profiles/identities without "leaving" Mutt. I tried
the muttprofile Perl script, which works fine, except that Mutt is
suspended while it is executed. The above question is however not limited
to that use case.
Gregory
More information about the Mutt-users
mailing list