From 2abab054c46c4d80216da882b6befa16d6af06c5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 19 Aug 2017 13:20:45 -0300 Subject: Adds wiktionary elvi --- config.dot/surfraw/elvi.link/wiktionary | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 config.dot/surfraw/elvi.link/wiktionary diff --git a/config.dot/surfraw/elvi.link/wiktionary b/config.dot/surfraw/elvi.link/wiktionary new file mode 100755 index 0000000..5827d30 --- /dev/null +++ b/config.dot/surfraw/elvi.link/wiktionary @@ -0,0 +1,58 @@ +#!/bin/sh +# elvis: wiktionary -- Search the free dictionary wiktionary +# $Id$ +# Author: Silvio Rhatto +# Original Author: Moritz Muehlenhoff +# Based on wikipedia elvi +. surfraw || exit 1 + +w3_config_hook () { + def SURFRAW_wiktionary_language "$SURFRAW_lang" +} + +w3_usage_hook () { + cat <