commit e983ed98ec895705c9cccd8ce32fc51ca5cca043
parent 101e5690f82a5ceaecf514b59d0d000a4e50ea6c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 24 Jan 2020 10:01:56 +0100
Add wikipedia search
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.local/bin/ducksearch b/.local/bin/ducksearch
@@ -22,6 +22,9 @@ else
*!map*)
$BROWSER "https://www.openstreetmap.org/search?query=${choice/!map/}"
;;
+ *!wiki*)
+ $BROWSER "https://en.wikipedia.org/wiki/Special:Search?search=${choice/!wiki/}"
+ ;;
*!yt*)
idiotbox="$HOME/code/idiotbox"
if [ -x "$idiotbox/cgi" ]; then