commit 84cbf259581bcb1183a1c3b9946e04543155c0dc parent fd924a64a6e6bc5d33eeb1d2385929dae8f9af0a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 20 Jan 2019 15:59:07 +0100 Fix issue with duplicate contacts Diffstat:
M | links/bin/contactmenu | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/contactmenu b/links/bin/contactmenu @@ -8,7 +8,7 @@ contact=$(cat "${contact_files[@]}" | awk '{ print $2 }'| dmenu_themed -i "$@") [[ -n $contact ]] || exit 0 -email=$(cat "${contact_files[@]}" | grep "$contact" | grep "@" | sed 's/.*<//;s/>.*//') +email=$(cat "${contact_files[@]}" | grep "$contact " | grep "@" | sed 's/.*<//;s/>.*//') echo "$email" | xclip