local/bin/homesync: Sync notmuch tags

master
Pierre Neidhardt 2019-03-19 10:35:08 +01:00
parent 60a6239097
commit 27c9de9c4f
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ if [ -f ~/.cache/emacs/eshell/history ]; then
gpg --output ~/personal/history/eshell.gpg --recipient mail@ambrevar.xyz --encrypt ~/.cache/emacs/eshell/history
fi
if [ -e ~/.cache/mail/.notmuch ]; then
section "Notmuch tags"
emacs --quick --batch --load=$HOME/.emacs.d/lisp/init-notmuch-sync.el \
-f notmuch-dump-important-tags
fi
project_status() {
local path=$1
local title=$2