Fix bug in search script
This commit is contained in:
parent
e95677b4af
commit
7b2597b63c
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user