summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-07-19 16:23:04 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-07-19 16:23:04 -0700
commitd15576c4592b9db52b0c6441116eb57439b4b92c (patch)
treef2bfdd3077c27363960955db107b9339e273d9c1 /home/xyz/.local
parentdc9a5212de9a0f121d16617f913196298615e5d3 (diff)
neomutt wrapper scrip to mbsync before and after
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/neomutt7
1 files changed, 7 insertions, 0 deletions
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