diff options
author | Ryan Kavanagh <rak@debian.org> | 2016-07-06 14:20:00 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2016-07-06 14:20:00 -0400 |
commit | dc63532258cdf7f2964df23c7e6e8649729259cd (patch) | |
tree | 7542a1ed54d7a04352a5e9da3705ea68574d1a25 | |
parent | More cleanup (diff) |
Revamped mutt aliases to also use lbdb
-rw-r--r-- | .lbdbrc | 4 | ||||
-rw-r--r-- | .muttrc | 3 | ||||
-rwxr-xr-x | bin/lbdb-fetchaddr-wrapper | 7 | ||||
-rw-r--r-- | gpg/.mutt/alias.rc.gpg | bin | 3741 -> 3771 bytes | |||
-rw-r--r-- | packages-install | 1 |
5 files changed, 14 insertions, 1 deletions
@@ -0,0 +1,4 @@ +KEEP_DUPES="yes" +METHODS="m_finger m_inmail m_gpg m_muttalias" +M_FINGER_HOSTS="andrew.cmu.edu cs.cmu.edu" +MUTTALIAS_FILES="~/.mutt/aliases.rc" @@ -24,7 +24,7 @@ set pager_stop = yes # Display HTML mail only if there's no text/plain alternative_order text/plain text/html * auto_view text/html -set display_filter="~/bin/mutt-autoalias" +set display_filter="~/bin/lbdb-fetchaddr-wrapper" set timeout=15 set mail_check=60 @@ -70,6 +70,7 @@ macro index \cxw '<enter-command>set index_format="%4C %{%m%d} %-16.16F %-15.15B set mark_old=yes +set query_command="lbdbq %s" # set query_command = "abook --mutt-query '%s'" # macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook" # macro index,pager A "<pipe-message>abook --add-email-quiet<return>" diff --git a/bin/lbdb-fetchaddr-wrapper b/bin/lbdb-fetchaddr-wrapper new file mode 100755 index 0000000..214228d --- /dev/null +++ b/bin/lbdb-fetchaddr-wrapper @@ -0,0 +1,7 @@ +#!/bin/sh + +MSG=$(cat /dev/stdin) + +echo "$MSG" | lbdb-fetchaddr; + +echo "$MSG" diff --git a/gpg/.mutt/alias.rc.gpg b/gpg/.mutt/alias.rc.gpg Binary files differindex 16d5adf..4b8019d 100644 --- a/gpg/.mutt/alias.rc.gpg +++ b/gpg/.mutt/alias.rc.gpg diff --git a/packages-install b/packages-install index 8357b96..8ac9a7d 100644 --- a/packages-install +++ b/packages-install @@ -19,6 +19,7 @@ apt-get install \ imapfilter \ keychain \ latex-mk \ + lbdb \ libmail-box-perl \ lintex \ mailcheck \ |