]> git.notmuchmail.org Git - notmuch/blob - completion/zsh/_email-notmuch
completion: more complete completion for zsh.
[notmuch] / completion / zsh / _email-notmuch
1 #autoload
2
3 local expl
4 local -a notmuch_addr
5
6 notmuch_addr=( ${(f)"$(notmuch address --deduplicate=address --output=address -- from:/$PREFIX/)"} )
7
8 _description notmuch-addr expl 'email address (notmuch)'
9 compadd "$expl[@]" -a notmuch_addr