mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
notmuch: tweak the pre-new script
This commit is contained in:
parent
263377359e
commit
5b39e2c362
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue