История изменений
Исправление disarmer, (текущая версия) :
У меня так, переключение работает:
# Folder hooks
folder-hook 'account.com.gmail.mk1' 'source ~/.config/mutt/mk1'
folder-hook 'account.com.gmail.mk2' 'source ~/.config/mutt/mk2'
# Default account
source ~/.config/mutt/mk1
# Macros for switching accounts
macro index <f1> '<sync-mailbox><enter-command>source ~/.config/mutt/mk1<enter><change-folder>!<enter>'
macro index <f2> '<sync-mailbox><enter-command>source ~/.config/mutt/mk2<enter><change-folder>!<enter>'
Исходная версия disarmer, :
У меня так, переключение работает:
# Folder hooks
folder-hook 'account.com.gmail.mk1' 'source ~/.config/mutt/mk1'
folder-hook 'account.com.gmail.mk2' 'source ~/.config/mutt/mk2'
# Default account
source ~/.config/mutt/mk1
# Macros for switching accounts
macro index <f1> '<sync-mailbox><enter-command>source ~/.config/mutt/mk1<enter><change-folder>!<enter>'
macro index <f2> '<sync-mailbox><enter-command>source ~/.config/mutt/mk2<enter><change-folder>!<enter>'