summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/xyz/.config/neomutt/neomuttrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/home/xyz/.config/neomutt/neomuttrc b/home/xyz/.config/neomutt/neomuttrc
index 6e59f808..461f24e6 100644
--- a/home/xyz/.config/neomutt/neomuttrc
+++ b/home/xyz/.config/neomutt/neomuttrc
@@ -172,9 +172,10 @@ macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
# not sure about what <check-stats> is for and if it is useful or not
-#macro index,pager ia '<sync-mailbox><enter-command>source mail<enter><change-folder>!<enter>;<check-stats>'
-macro index,pager ia '<sync-mailbox><enter-command>source mail<enter><change-folder>!<enter>'
-macro index,pager ib '<sync-mailbox><enter-command>source mail2<enter><change-folder>!<enter>'
+# here must specify full path of the file to source, else it will souce in the dir where neomutt is execute at
+#macro index,pager ia '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>!<enter>;<check-stats>'
+macro index,pager ia '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>!<enter>'
+macro index,pager ib '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail2"<enter><change-folder>!<enter>'
# maybe useful for multiple accounts
#macro index c "<change-folder>?<change-dir><home>^K=<enter>"