From 5405684c78678bcc66c3892864ba7437fd00461d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 20 Feb 2025 01:28:36 -0800 Subject: fix: neomutt change mailbox fail because I did not specify full path to source --- home/xyz/.config/neomutt/neomuttrc | 7 ++++--- 1 file 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 ";=Junk" "move mail to junk" macro index,pager Ms ";=Sent" "move mail to sent" macro index,pager Mt ";=Trash" "move mail to trash" # not sure about what is for and if it is useful or not -#macro index,pager ia 'source mail!;' -macro index,pager ia 'source mail!' -macro index,pager ib 'source mail2!' +# 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 'source "$XDG_CONFIG_HOME/neomutt/mail"!;' +macro index,pager ia 'source "$XDG_CONFIG_HOME/neomutt/mail"!' +macro index,pager ib 'source "$XDG_CONFIG_HOME/neomutt/mail2"!' # maybe useful for multiple accounts #macro index c "?^K=" -- cgit v1.2.3-70-g09d2