Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am 1ntEgr8 on github.
  • I am 1ntegr8 (https://keybase.io/1ntegr8) on keybase.
  • I have a public key whose fingerprint is 0AC9 50B5 FA67 F85C 99B3 D295 B1B0 E1F9 A6DE 8ED0

To claim this, I am signing this object:

@1ntEgr8
1ntEgr8 / duck.sh
Created January 8, 2020 17:43
search duckduckgo from a terminal
#!/usr/bin/env bash
if [ $# -ge 1 ]
then
query=$(sed 's/ /+/g' <<< $(sed 's/"/\"/g' <<< $1))
open "https://www.duckduckgo.com/?q="$query
fi