]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - completion/notmuch-completion.zsh
cli: address: Add --filter-by option to configure address filtering
[notmuch.git] / completion / notmuch-completion.zsh
index 896856201b46ba772adf74f6027de7cc7d8bd488..c5bad216abf1b4046ad265544dd9a74523100300 100644 (file)
@@ -61,7 +61,8 @@ _notmuch_address()
 {
   _arguments -s : \
     '--sort=[sort results]:sorting:((newest-first\:"reverse chronological order" oldest-first\:"chronological order"))' \
-    '--output=[select what to output]:output:((sender recipients count))'
+    '--output=[select what to output]:output:((sender recipients count))' \
+    '--filter-by=[filter out duplicate addresses]:filter-by:((nameaddr\:"both name and address part" name\:"name part" addr\:"address part" addrfold\:"case-insensitive address part" nameaddrfold\:"name and case-insensitive address part"))'
 }
 
 _notmuch()