From 26343d2eef0e8892cecb1645935294e221e9f1a7 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 3 Jul 2025 11:21:46 +0530 Subject: Email config change --- config/zsh/zshrc | 2 +- configuration.nix | 2 +- modules/email.home/default.nix | 2 +- modules/email.home/query-map.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/zsh/zshrc b/config/zsh/zshrc index ffa9f30..32392ab 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -2,7 +2,7 @@ autoload -U colors && colors; setopt auto_cd; setopt inc_append_history; -export LESS=--chop-long-lines # less no wrapping +export LESS="-R --chop-long-lines" # less no wrapping export SAVEHIST=10000 # export HISTSIZE=50000 diff --git a/configuration.nix b/configuration.nix index e125469..e581422 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = [ diff --git a/modules/email.home/default.nix b/modules/email.home/default.nix index f10e541..9f17fd9 100644 --- a/modules/email.home/default.nix +++ b/modules/email.home/default.nix @@ -46,7 +46,7 @@ in { source = "notmuch://${maildir}"; outgoing = "gmi send -t -C ${work-maildir}"; query-map = "${./query-map.conf}"; - folders-sort = "Inbox,Unread,Important,_sent,_spam"; + folders-sort = "Inbox,Unread,Important,Sent,_spam"; default = "INBOX"; copy-to = "Sent"; postpone = "[Gmail]/Drafts"; diff --git a/modules/email.home/query-map.conf b/modules/email.home/query-map.conf index fe14b08..4c37dee 100644 --- a/modules/email.home/query-map.conf +++ b/modules/email.home/query-map.conf @@ -4,6 +4,6 @@ Unread=tag:inbox and tag:unread and not tag:spam Important=tag:important and not tag:archived and not tag:deleted and not tag:spam -_sent=tag:sent and not tag:archived not tag:deleted +Sent=tag:sent and not tag:archived not tag:deleted _spam=tag:spam -- cgit v1.3.1