diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-03-15 22:41:26 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-06-01 13:59:37 +0200 |
commit | 82aef0550e1cc590623901dd6207e1f277bd743e (patch) | |
tree | 61c65349e87cfcc75e185a6ca48179be179736a3 | |
parent | c36a8f52d2a504d086a5cf9f5eae6fbf9cec4c18 (diff) |
Add script to fuzzy-select mail
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rwxr-xr-x | etc/fzf-mail.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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:{}'" + |