Merge pull request #186 from dmsalomon/mailsync-param
Mailsync: only pass -a to mbsync when no args
This commit is contained in:
commit
ed6ed5854a
@ -21,7 +21,12 @@ echo " 🔃" > /tmp/imapsyncicon_$USER
|
|||||||
pkill -RTMIN+12 i3blocks
|
pkill -RTMIN+12 i3blocks
|
||||||
|
|
||||||
# Run mbsync. You can feed this script different settings.
|
# Run mbsync. You can feed this script different settings.
|
||||||
mbsync -a "$@"
|
if [ $# -eq 0 ]; then
|
||||||
|
mbsync -a
|
||||||
|
else
|
||||||
|
mbsync "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f /tmp/imapsyncicon_$USER
|
rm -f /tmp/imapsyncicon_$USER
|
||||||
pkill -RTMIN+12 i3blocks
|
pkill -RTMIN+12 i3blocks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user