diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 10:41:51 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 10:41:51 -0500 |
commit | cead30ba457a7e22b6479ae316517bf333c6cdb2 (patch) | |
tree | 7c475c7c69d3d3931213f404e8b6dc14f594d3e0 | |
parent | Simplify directory handling neomutt uqam (diff) |
neomutt directories rely on XDG
-rw-r--r-- | dot_config/neomutt/neomuttrc.tmpl | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/dot_config/neomutt/neomuttrc.tmpl b/dot_config/neomutt/neomuttrc.tmpl index e857ce4..a49f29c 100644 --- a/dot_config/neomutt/neomuttrc.tmpl +++ b/dot_config/neomutt/neomuttrc.tmpl @@ -76,7 +76,7 @@ set query_command="lbdbq %s" # macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook" # macro index,pager A "<pipe-message>abook --add-email-quiet<return>" set reverse_alias = yes -set alias_file = $XDG_CONFIG_HOME/neomutt/alias.rc +set alias_file = "$XDG_CONFIG_HOME/neomutt/alias.rc" set ispell="aspell -e -c" @@ -127,19 +127,20 @@ set fcc_before_send=yes # to unset the folder option unset folder # alias.rc before accounts.rc -source $XDG_CONFIG_HOME/neomutt/alias.rc -source $XDG_CONFIG_HOME/neomutt/accounts.rc -source $XDG_CONFIG_HOME/neomutt/mailinglists.rc -source $XDG_CONFIG_HOME/neomutt/score.rc -source $XDG_CONFIG_HOME/neomutt/color.rc -source $XDG_CONFIG_HOME/neomutt/gpg.rc -source $XDG_CONFIG_HOME/neomutt/news.rc +source "$XDG_CONFIG_HOME/neomutt/alias.rc" +source "$XDG_CONFIG_HOME/neomutt/accounts.rc" +source "$XDG_CONFIG_HOME/neomutt/mailinglists.rc" +source "$XDG_CONFIG_HOME/neomutt/score.rc" +source "$XDG_CONFIG_HOME/neomutt/color.rc" +source "$XDG_CONFIG_HOME/neomutt/gpg.rc" +source "$XDG_CONFIG_HOME/neomutt/news.rc" {{- if hasPrefix .chezmoi.homeDir "/sdf" }} set from = 'Ryan Kavanagh <rak@sdf.org>' {{- end }} -set tmpdir='$XDG_CONFIG_HOME/neomutt/tmp' +# preserve messages-in-composition between restarts in case of a power failure. +set tmpdir= "$XDG_STATE_HOME/neomutt" macro index <F7> \ "<enter-command>unset wait_key<enter><shell-escape>~/bin/mutt-fetchbug --prompt search<enter><change-folder-readonly>~/.cache/mutt_btsresults<enter><enter-command>set wait_key<enter>" \ |