helm/bin/duckduckgo

6 lines
137 B
Plaintext
Raw Normal View History

2017-04-24 23:35:22 -07:00
#!/usr/bin/env bash
2017-04-24 23:58:25 -07:00
query=$(urlencode <<< "$*")
2017-04-24 23:35:22 -07:00
echo "Opening https://duckduckgo.com/?q=$query"
open "https://duckduckgo.com/?q=$query"