]>
gitweb.pimeys.fr Git - config-20-100.git/blob - .zsh/rc/extra/20_search_engines_tools
4 #f4# Search for newspostings from authors
5 agoogle
() { ${=BROWSER} "http://groups.google.com/groups?as_uauthors=$*" ; }
6 #f4# Search Debian Bug Tracking System
10 if [[ $# -eq 1 ]]; then
13 ${=BROWSER} "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=$1"
16 ${=BROWSER} "http://bugs.debian.org/cgi-bin/pkgreport.cgi?submitter=$1"
19 ${=BROWSER} "http://bugs.debian.org/$*"
23 print
"$0 needs one argument"
27 #f4# Search Debian Bug Tracking System in mbox format
35 ${=BROWSER} http
://search.dmoz.org
/cgi-bin
/search
\?search
=${1// /_}
37 #f4# Search German Wiktionary
40 ${=BROWSER} http
://de.wiktionary.org
/wiki
/${(C)1// /_}
42 #f4# Search English Wiktionary
45 ${=BROWSER} http
://en.wiktionary.org
/wiki
/${(C)1// /_}
47 #f4# Search Google Groups
50 ${=BROWSER} "http://groups.google.com/groups?q=$*"
55 ${=BROWSER} "http://www.google.com/search?&num=100&q=$*"
57 #f4# Search Google Groups for MsgID
60 ${=BROWSER} "http://groups.google.com/groups?selm=$*"
65 ${=BROWSER} "http://toolbar.netcraft.com/site_report?url=$1"
67 #f4# Use German Wikipedia's full text search
70 ${=BROWSER} http
://de.wikipedia.org
/wiki
/Spezial
:Search
/${(C)1}
72 #f4# search \kbd{dict.leo.org}
75 ${=BROWSER} "http://dict.leo.org/?search=$*"
77 #f4# Search German Wikipedia
80 ${=BROWSER} http
://de.wikipedia.org
/wiki
/"${(C)*}"
82 #f4# Search English Wikipedia
85 ${=BROWSER} http
://en.wikipedia.org
/wiki
/"${(C)*}"
87 #f4# Search official debs
90 ${=BROWSER} "http://packages.debian.org/search?keywords=$1&searchon=contents&suite=${2:=unstable}§ion=all"
93 #m# f4 gex() Exact search via Google
94 check_com google
&& gex
() {