From d15576c4592b9db52b0c6441116eb57439b4b92c Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 19 Jul 2024 16:23:04 -0700 Subject: neomutt wrapper scrip to mbsync before and after --- home/xyz/.local/bin/neomutt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/xyz/.local/bin/neomutt (limited to 'home/xyz/.local') diff --git a/home/xyz/.local/bin/neomutt b/home/xyz/.local/bin/neomutt new file mode 100755 index 00000000..53d28ac5 --- /dev/null +++ b/home/xyz/.local/bin/neomutt @@ -0,0 +1,7 @@ +#!/bin/sh + +# neomutt shutdown-hook is buggy with mbsync, so I decided to use a wrapper script instead +# more see neomuttrc and vq bug notes +mbsync -a +/usr/bin/neomutt "$@" +mbsync -a -- cgit v1.2.3-70-g09d2