Browse Source

only sync active mbsync accounts

tags/v3.1
Luke Smith 5 years ago
parent
commit
dd73533565
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync View File

@@ -38,7 +38,7 @@ syncandnotify() {

# Sync accounts passed as argument or all.
if [ "$#" -eq "0" ]; then
accounts="$(ls "$HOME/.local/share/mail")"
accounts="$(awk '/^Channel/ {print $2}' "$HOME/.mbsyncrc")"
else
accounts=$*
fi


Loading…
Cancel
Save