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" "$@"