abook
abook copied to clipboard
abook does nothing if duplicate address was added (from neomutt/mutt)
If I press A in neomutt, the address will be added to the address book with the command the readme page provided:
macro pager A |'abook --add-email'\n
But nothing happens if the address will not be added, because of a duplicate, if the abookrc has the following:
set add_email_prevent_duplicates=true
I would like to have something like the following message, to see something in neomutt:
abook --add-email || echo "Dupliacate found! No address was added"
But it doesn't work.
Does someone has an idea how to solve this?
Thanks a lot for your help