Update bin/duckduckgo
This commit is contained in:
parent
0a8ff2171b
commit
1082a22197
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
query=$(urlencode <<< "$*")
|
||||
# Runs a duckduckgo.com search.
|
||||
#
|
||||
# Requires: uri (script in the same folder)
|
||||
|
||||
query=$(uri <<< "$*")
|
||||
echo "Opening https://duckduckgo.com/?q=$query"
|
||||
open "https://duckduckgo.com/?q=$query"
|
||||
|
|
Loading…
Reference in a new issue