From 9975b16297e3c5619bdb88cc8f029a90ee80bb27 Mon Sep 17 00:00:00 2001
From: Peter Theill <peter@theill.com>
Date: Sat, 23 Mar 2019 17:03:45 +0100
Subject: [PATCH] web-search: add Givero (supports good causes) as search
 engine (#7581)

Adds "givero" as a keyword for searching Givero, a relative new search engine donating revenue to good causes around the world.
---
 plugins/web-search/README.md             | 1 +
 plugins/web-search/web-search.plugin.zsh | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/plugins/web-search/README.md b/plugins/web-search/README.md
index 5b09b8980..d04042506 100644
--- a/plugins/web-search/README.md
+++ b/plugins/web-search/README.md
@@ -37,6 +37,7 @@ Available search contexts are:
 | `ecosia`              | `https://www.ecosia.org/search?q=`       |
 | `goodreads`           | `https://www.goodreads.com/search?q=`    |
 | `qwant`               | `https://www.qwant.com/?q=`              |
+| `givero`              | `https://www.givero.com/search?q=`       |
 | `stackoverflow`       | `https://stackoverflow.com/search?q=`    |
 
 Also there are aliases for bang-searching DuckDuckGo:
diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh
index 9a70d7bc6..5b76eeae2 100644
--- a/plugins/web-search/web-search.plugin.zsh
+++ b/plugins/web-search/web-search.plugin.zsh
@@ -17,6 +17,7 @@ function web_search() {
     ecosia      "https://www.ecosia.org/search?q="
     goodreads   "https://www.goodreads.com/search?q="
     qwant       "https://www.qwant.com/?q="
+    givero      "https://www.givero.com/search?q="
     stackoverflow  "https://stackoverflow.com/search?q="
   )
 
@@ -52,6 +53,7 @@ alias baidu='web_search baidu'
 alias ecosia='web_search ecosia'
 alias goodreads='web_search goodreads'
 alias qwant='web_search qwant'
+alias givero='web_search givero'
 alias stackoverflow='web_search stackoverflow'
 
 #add your own !bang searches here
-- 
2.21.0