summaryrefslogtreecommitdiff
path: root/plugins/web-search
diff options
context:
space:
mode:
authorPeter Theill <peter@theill.com>2019-03-23 17:03:45 +0100
committerMarc Cornellà <marc.cornella@live.com>2019-03-23 17:03:45 +0100
commit9975b16297e3c5619bdb88cc8f029a90ee80bb27 (patch)
tree90c39268793c211f38f2d400a5c8881a008a2823 /plugins/web-search
parent6fe4ac024a0373a847b3a4c1b59e9509d5832c25 (diff)
downloadzsh-9975b16297e3c5619bdb88cc8f029a90ee80bb27.tar.gz
zsh-9975b16297e3c5619bdb88cc8f029a90ee80bb27.tar.bz2
zsh-9975b16297e3c5619bdb88cc8f029a90ee80bb27.zip
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.
Diffstat (limited to 'plugins/web-search')
-rw-r--r--plugins/web-search/README.md1
-rw-r--r--plugins/web-search/web-search.plugin.zsh2
2 files changed, 3 insertions, 0 deletions
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