aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-11-29 06:41:44 -0200
committerEuAndreh <eu@euandre.org>2018-11-29 06:41:44 -0200
commitf7b2f093fc1268024aee7c169dc50fd807f98e93 (patch)
tree2f040e9293fd36848ce0cdb903c467b90495a60a /scripts
parentAdd nurl script. (diff)
downloaddotfiles-f7b2f093fc1268024aee7c169dc50fd807f98e93.tar.gz
dotfiles-f7b2f093fc1268024aee7c169dc50fd807f98e93.tar.xz
Sync emails in parallel.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mail.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mail.sh b/scripts/mail.sh
index a6d5adb..a7c8208 100755
--- a/scripts/mail.sh
+++ b/scripts/mail.sh
@@ -1,5 +1,9 @@
if [ "$1" = "-s" ]; then
mbsync -aV &>> /tmp/mbsync.log && notmuch new &>> /tmp/notmuch.log
else
- mbsync -a && notmuch new
+ mbsync EuAndreh &
+ mbsync Nubank &
+ mbsync Gmail &
+ wait
+ notmuch new
fi