9975b16297e3c5619bdb88cc8f029a90ee80bb27

Author
Peter Theill <peter@theill.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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.

Diff

 1diff --git a/plugins/web-search/README.md b/plugins/web-search/README.md
 2index 5b09b8980c16ab1adc0ff5cdfabb31cd66e629ab..d04042506d894c70be88f79cc2c792fca4d409d0 100644
 3--- a/plugins/web-search/README.md
 4+++ b/plugins/web-search/README.md
 5@@ -37,6 +37,7 @@ Available search contexts are:
 6 | `ecosia`              | `https://www.ecosia.org/search?q=`       |
 7 | `goodreads`           | `https://www.goodreads.com/search?q=`    |
 8 | `qwant`               | `https://www.qwant.com/?q=`              |
 9+| `givero`              | `https://www.givero.com/search?q=`       |
10 | `stackoverflow`       | `https://stackoverflow.com/search?q=`    |
11 
12 Also there are aliases for bang-searching DuckDuckGo:
13diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh
14index 9a70d7bc671f56e078401a561dbba20b0e74d8b8..5b76eeae2ef5d06142b263352258648e5d423ead 100644
15--- a/plugins/web-search/web-search.plugin.zsh
16+++ b/plugins/web-search/web-search.plugin.zsh
17@@ -17,6 +17,7 @@ function web_search() {
18     ecosia      "https://www.ecosia.org/search?q="
19     goodreads   "https://www.goodreads.com/search?q="
20     qwant       "https://www.qwant.com/?q="
21+    givero      "https://www.givero.com/search?q="
22     stackoverflow  "https://stackoverflow.com/search?q="
23   )
24 
25@@ -52,6 +53,7 @@ alias baidu='web_search baidu'
26 alias ecosia='web_search ecosia'
27 alias goodreads='web_search goodreads'
28 alias qwant='web_search qwant'
29+alias givero='web_search givero'
30 alias stackoverflow='web_search stackoverflow'
31 
32 #add your own !bang searches here