notmuch: tweak the pre-new script

This commit is contained in:
Protesilaos Stavrou 2025-02-26 07:58:52 +02:00
parent 263377359e
commit 5b39e2c362
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -1,6 +1,6 @@
#!/bin/bash
# pre-new --- Notmuch rules that run before notmuch new
# pre-new --- Notmuch rules that run before notmuch-new(1)
#
# Copyright (c) 2021-2025 Protesilaos Stavrou <info@protesilaos.com>
#
@ -17,13 +17,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
## Commentary:
### Commentary:
#
# Move unwanted email to the appropriate local directory and tag it
# accordingly. The order of those commands matters.
#
# Part of my dotfiles: <https://github.com/protesilaos/dotfiles>.
### Code:
if [ "$HOSTNAME" = "kronos" ]
then
mail_root_path=$(notmuch config get database.path)