diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-12 14:18:19 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-12 14:18:19 +0200 |
commit | 11076c620bfa526a23befd1649873871495f4162 (patch) | |
tree | 76c2316dc69fd2edb560b6c72e603e48210d68d9 /.config/mutt | |
parent | Merge branch 'master' of gitjoe.xyz:dotfiles-bsd (diff) | |
download | dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.gz dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.bz2 dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.xz dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.tar.zst dotfiles-bsd-11076c620bfa526a23befd1649873871495f4162.zip |
update
Diffstat (limited to '.config/mutt')
7 files changed, 7 insertions, 7 deletions
diff --git a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc index 1b7ce9a..4b2b3a7 100644 --- a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc +++ b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc bousset.rudy@gmail.com<enter>" "run mbsync to sync bousset.rudy@gmail.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc bousset.rudy@gmail.com<enter>" "run mbsync to sync bousset.rudy@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" diff --git a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc index 7542f24..e3f7a32 100644 --- a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc +++ b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc olsen.oyvind.nor@gmail.com<enter>" "run mbsync to sync olsen.oyvind.nor@gmail.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc olsen.oyvind.nor@gmail.com<enter>" "run mbsync to sync olsen.oyvind.nor@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" diff --git a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc index 01972ac..d39d043 100644 --- a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc +++ b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc towerofsilence777@gmail.com<enter>" "run mbsync to sync towerofsilence777@gmail.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc towerofsilence777@gmail.com<enter>" "run mbsync to sync towerofsilence777@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail].Messages envoy&AOk-s" "=[Gmail].Brouillons" "=[Gmail].Spam" "=[Gmail].Corbeille" "=[Gmail].Important" "=[Gmail].Suivis" diff --git a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc index 6772013..f1df17f 100644 --- a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc +++ b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com<enter>" "run mbsync to sync rbousset@secuserve.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com<enter>" "run mbsync to sync rbousset@secuserve.com" unmailboxes * mailboxes "=INBOX" "=Sent" "=Drafts" "=Trash" "=Calendrier" "=NEWS" diff --git a/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc b/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc index bc6becb..eca8b9b 100644 --- a/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc +++ b/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc exploitation@secuserve.com<enter>" "run mbsync to sync exploitation@secuserve.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc exploitation@secuserve.com<enter>" "run mbsync to sync exploitation@secuserve.com" unmailboxes * mailboxes "=INBOX" "=INBOX/- Secuserve" "=INBOX/Altospam" "=INBOX/BAT" "=INBOX/DEBUG" "=INBOX/Erreurs (boite recept)" \ diff --git a/.config/mutt/accounts/7-support@secuserve.com.muttrc b/.config/mutt/accounts/7-support@secuserve.com.muttrc index 8b99b9b..70bfe46 100644 --- a/.config/mutt/accounts/7-support@secuserve.com.muttrc +++ b/.config/mutt/accounts/7-support@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc support@secuserve.com<enter>" "run mbsync to sync support@secuserve.com" +macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc support@secuserve.com<enter>" "run mbsync to sync support@secuserve.com" unmailboxes * mailboxes "=INBOX" "=INBOX/ALFRESCO" "=INBOX/FIN EVAL" "=INBOX/NAS" "=INBOX/Owentis notif" \ diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index 66a2730..15102d2 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -99,7 +99,7 @@ bind editor <Tab> complete-query macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook" macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" -macro index O "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail" +macro index O "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail" macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~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' \`\"<enter>" "show only messages matching a notmuch pattern" macro index A "<limit>all\n" "show all messages (undo limit)" macro compose Y "<first-entry>\ |