瀏覽代碼

Merge pull request #186 from dmsalomon/mailsync-param

Mailsync: only pass -a to mbsync when no args
tags/v3.1
Luke Smith 5 年之前
committed by GitHub
父節點
當前提交
ed6ed5854a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      bin/mailsync

+ 6
- 1
bin/mailsync 查看文件

@@ -21,7 +21,12 @@ echo " 🔃" > /tmp/imapsyncicon_$USER
pkill -RTMIN+12 i3blocks

# 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
pkill -RTMIN+12 i3blocks



Loading…
取消
儲存