wodeb(): update URL 0.3.31
authorMichael Prokop <mika@grml.org>
Fri, 5 Oct 2007 16:57:54 +0000 (18:57 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 5 Oct 2007 16:57:54 +0000 (18:57 +0200)
debian/changelog
etc/skel/.zshrc

index 3cb9996..4273c1c 100644 (file)
@@ -2,8 +2,8 @@ grml-etc-core (0.3.31) unstable; urgency=low
 
   [ Michael Prokop ]
   * /etc/skel/.zshrc:
-    - use same pattern in function wikien as in wikide.
-      (Thanks, wuehlmaus)
+    - use same pattern in function wikien as in wikide. (thanks wuehlmaus)
+    - wodeb(): update URL (thanks for the pointer, wuehlmaus)
     - getskype(): make it compatible with final skype 1.4 version
   * Added /etc/apt/apt.conf.example + /etc/apt/hg-snapshot-script
   * Added /etc/grml/screenrc_generic which should work on any OS without
index 2438c1b..4f52a35 100644 (file)
   #f4# Search English  Wikipedia
   wikien()  { ${=BROWSER} http://en.wikipedia.org/wiki/"${(C)*}" }
   #f4# Search official debs
-  wodeb ()  { ${=BROWSER} "http://packages.debian.org/cgi-bin/search_contents.pl?word=$1&version=${2:-unstable}" }
+  wodeb ()  { ${=BROWSER} "http://packages.debian.org/search?keywords=$1&searchon=contents&suite=${2:=unstable}&section=all" }
+
   #m# f4 gex() Exact search via Google
   which google &>/dev/null && gex () { google "\"[ $1]\" $*" } # exact search at google