feat(web-search): add `deepL` (#12165)

master
とんとんぼ 2 years ago committed by GitHub
parent 8be4789bbb
commit 35a5357704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      plugins/web-search/README.md
  2. 2
      plugins/web-search/web-search.plugin.zsh

@ -45,6 +45,7 @@ Available search contexts are:
| `scholar` | `https://scholar.google.com/scholar?q=` |
| `ask` | `https://www.ask.com/web?q=` |
| `youtube` | `https://www.youtube.com/results?search_query=` |
| `deepl` | `https://www.deepl.com/translator#auto/auto/` |
Also there are aliases for bang-searching DuckDuckGo:

@ -26,6 +26,7 @@ function web_search() {
scholar "https://scholar.google.com/scholar?q="
ask "https://www.ask.com/web?q="
youtube "https://www.youtube.com/results?search_query="
deepl "https://www.deepl.com/translator#auto/auto/"
)
# check whether the search engine is supported
@ -68,6 +69,7 @@ alias archive='web_search archive'
alias scholar='web_search scholar'
alias ask='web_search ask'
alias youtube='web_search youtube'
alias deepl='web_search deepl'
#add your own !bang searches here
alias wiki='web_search duckduckgo \!w'

Loading…
Cancel
Save