helm/bin/duckduckgo
2017-07-03 23:03:48 +02:00

10 lines
210 B
Bash
Executable file

#!/usr/bin/env bash
# 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"