improve address book and rename nextctype to nextpart

This commit is contained in:
Felix Van der Jeugt 2018-04-09 10:46:09 +02:00
parent 308b510ce7
commit bcbc5556aa
No known key found for this signature in database
GPG key ID: 58B209295023754D
2 changed files with 8 additions and 4 deletions

View file

@ -1,2 +1,5 @@
#!/bin/sh
notmuch address --format=json --output=recipients --output=sender --deduplicate=address from:"$*" OR to:"$*" | rg -i "$*"
notmuch address --output=recipients --output=sender --deduplicate=address from:'*'"$*"'*' OR to:'*'"$*"'*' \
| grep -i "$*" \
| grep -v noreply \
| sort | uniq