From 4aa2389cb04adc77b91148fe5d63290bd0c4a0d4 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 14 Mar 2024 21:33:59 -0400 Subject: [PATCH] ADD mbsync override script --- bin/mbsync | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/mbsync diff --git a/bin/mbsync b/bin/mbsync new file mode 100755 index 0000000..2029c8e --- /dev/null +++ b/bin/mbsync @@ -0,0 +1,10 @@ +#! /bin/sh + +rcpath=$XDG_CONFIG_HOME/emacs/local/lib/mu4e/mbsyncrc + +if [ ! -f $rcpath ]; then + echo "mbsyncrc does not exist" + exit 1 +fi + +/usr/bin/mbsync -c "$rcpath" "$@"