From 569bda9c5fddf131a962237422326de9929c6b77 Mon Sep 17 00:00:00 2001 From: Mellowlink <57295219+Mellowlinku@users.noreply.github.com> Date: Wed, 27 Nov 2019 14:17:19 +0100 Subject: [PATCH] Pinentry-tty and curses support (#317) I did edit the line 65 and added directly "mbsync -a" instead of "mailsync...". In current state mutt-wizard doesn't work properly in CLI only environment without X started. This is first step to be able atleast mbsync with terminal only pinentry. The problem still remains in sending an email with terminal only pinentry. Temporary solution for is to activate gpg key before sending an email and send the email before the key times out. --- share/mutt-wizard.muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index b74f244..2c96b19 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -63,7 +63,7 @@ bind editor complete-query macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" -macro index O "mailsync -Va" "run mbsync to sync all mail" +macro index O "mbsync -a" "run mbsync to sync all mail" macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)"