diff --git a/mutt/.local/bin/mailsync b/mutt/.local/bin/mailsync index 835ed73..9498376 100755 --- a/mutt/.local/bin/mailsync +++ b/mutt/.local/bin/mailsync @@ -33,7 +33,7 @@ syncandnotify() { # Sync accounts passed as argument or all. if [ "$#" -eq "0" ]; then - accounts="$(awk '/^Channel/ {print $2}' "$HOME/.mbsyncrc")" + accounts="$(awk '/^Group/ {print $2}' "$HOME/.mbsyncrc")" else accounts=$* fi diff --git a/mutt/.mbsyncrc b/mutt/.mbsyncrc index 68ec698..3f254c7 100644 --- a/mutt/.mbsyncrc +++ b/mutt/.mbsyncrc @@ -16,10 +16,13 @@ Path ~/.local/share/mail/ryankes/ Inbox ~/.local/share/mail/ryankes/INBOX Flatten . -Channel ryankes +Channel ryankes-all Master :ryankes-remote: Slave :ryankes-local: Patterns INBOX* Trash Drafts Sent Archive Spam + +Group ryankes +Channel ryankes-all # End profile IMAPStore gmail-remote