commit 16684fd6d6ebf5ce17a6025ad76104d11681f7d7
parent 19de3b6faeac4da49ac64a7d2f3845e2a349dd95
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 26 Feb 2017 12:26:05 +0100
Add »wikipedia« as default »en« handler. Remove debug output.
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/bin/plumber b/bin/plumber
@@ -63,6 +63,7 @@ plumbrules = [
["^portage:.*", "portageopener '%s'"],
# Just a try to imitate Ubuntu.
["^apt:.*", "portageopener '%s'"],
+ ["^wikipedia:.*", "wikipediaopener '%s'"],
["^wikipedia-[a-zA-Z]*:.*", "wikipediaopener '%s'"],
["^wiki:.*", "wikiopener '%s'"],
["^@.*", False],
diff --git a/openers/wikipediaopener b/openers/wikipediaopener
@@ -1,7 +1,5 @@
#!/bin/sh
-set -x
-
if [ $# -lt 1 ];
then
printf "usage: [-o] %s URI\n" "$(basename "$0")" >&2