cnuke@mirbsd.org points out that DuckDuckGo now works with Lynx ☺
authorThorsten Glaser <tg@mirbsd.org>
Tue, 21 Jun 2011 11:59:39 +0000 (13:59 +0200)
committerThorsten Glaser <tg@mirbsd.org>
Tue, 21 Jun 2011 11:59:39 +0000 (13:59 +0200)
bash-ksh/profile-funcs

index 5c2d970..262fa50 100644 (file)
@@ -21,6 +21,10 @@ df() {
        command df -P "$@" | sed 's/Mounted on/Mountpoint/' | column -t
 }
 
+ddg() {                        # DuckDuckGo Search
+       ${BROWSER:-lynx} "https://duckduckgo.com/?kp=-1&kl=wt-wt&kb=t&kh=1&kj=g2&km=l&ka=monospace&ku=1&ko=s&k1=-1&kv=1&q=$*"
+}
+
 ggs() {                        # Google Search
        ${BROWSER:-lynx} "http://www.google.com/search?hl=la&num=100&safe=off&q=$*"
 }