helm/bin/duckduckgo

10 lines
210 B
Plaintext
Raw Normal View History

2017-04-24 23:35:22 -07:00
#!/usr/bin/env bash
2017-07-03 14:03:48 -07:00
# Runs a duckduckgo.com search.
#
# Requires: uri (script in the same folder)
query=$(uri <<< "$*")
2017-04-24 23:35:22 -07:00
echo "Opening https://duckduckgo.com/?q=$query"
open "https://duckduckgo.com/?q=$query"