mail: Seperate mutt account

This seperates my mutt accounts. On startup no default folder is
openend. Bash aliases can be used to start mutt with the desired folder.
This commit is contained in:
Jens Sauer 2020-12-01 21:53:33 +01:00
parent 1c450d4011
commit e855d4d0fc
2 changed files with 9 additions and 4 deletions

View File

@ -56,6 +56,7 @@ set query_command = "khard email --parsable %s"
set print_command="muttprint"
set text_flowed = yes
set wait_key = no
unset folder
#mailboxes +gmail/INBOX \
@ -79,11 +80,11 @@ set wait_key = no
#
# Accounts
#
source "~/.config/mutt/account-uni"
folder-hook $folder 'source ~/.config/mutt/account-uni'
#source "~/.config/mutt/account-uni"
folder-hook imaps://imap.uni-oldenburg.de 'source ~/.config/mutt/account-uni'
macro index,pager \e2 "<sync-mailbox><change-folder>$folder<enter>" "Switch to UOL inbox"
source "~/.config/mutt/account-gmail"
folder-hook $folder 'source ~/.config/mutt/account-gmail'
#source "~/.config/mutt/account-gmail"
folder-hook imaps://imap.gmail.com 'source ~/.config/mutt/account-gmail'
macro index,pager \e1 "<sync-mailbox><change-folder>$folder<enter>" "Switch to GMail inbox"
#

4
shell/.bash_aliases Normal file
View File

@ -0,0 +1,4 @@
# bash aliases
alias muttg='mutt -f imaps://imap.gmail.com'
alias mutto='mutt -f imaps://imap.uni-oldenburg.de'