From 82aef0550e1cc590623901dd6207e1f277bd743e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 15 Mar 2020 22:41:26 +0100 Subject: Add script to fuzzy-select mail Signed-off-by: Matthias Beyer --- etc/fzf-mail.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 etc/fzf-mail.sh diff --git a/etc/fzf-mail.sh b/etc/fzf-mail.sh new file mode 100755 index 00000000..47fa2b7f --- /dev/null +++ b/etc/fzf-mail.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# +# Usage: +# +# imag mail list -q tag:imag 2>/dev/null | ./etc/fzf-mail.sh +# + +imag mail -O print-id | \ + fzf --preview="notmuch show --format=mbox --body=true 'id:{}'" + -- cgit v1.2.3