Fix bug in search script

This commit is contained in:
samedamci 2020-05-23 15:46:44 +02:00
parent 91522c2ac1
commit caff251d77

View File

@ -11,7 +11,7 @@ chosen="$(
)"
[ ! "$chosen" ] && exit 0
url="$(grep "$chosen" "$bmfile" | awk '{ print $1 }')"
url="$(grep -m 1 "$chosen" "$bmfile" | awk '{ print $1 }')"
[ ! "$url" ] && url="https://duckduckgo.com/?q=$chosen"
"$BROWSER" "$url"