1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-26 14:21:58 +00:00

web-search: add Wayback Archive (#8784)

This commit is contained in:
Pierre Gimalac 2020-06-03 18:28:47 +02:00 committed by GitHub
parent aee9e603b4
commit 0fd11130a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@ Available search contexts are:
| `givero` | `https://www.givero.com/search?q=` |
| `stackoverflow` | `https://stackoverflow.com/search?q=` |
| `wolframalpha` | `https://wolframalpha.com/input?i=` |
| `archive` | `https://web.archive.org/web/*/` |
Also there are aliases for bang-searching DuckDuckGo:

View file

@ -20,6 +20,7 @@ function web_search() {
givero "https://www.givero.com/search?q="
stackoverflow "https://stackoverflow.com/search?q="
wolframalpha "https://www.wolframalpha.com/input/?i="
archive "https://web.archive.org/web/*/"
)
# check whether the search engine is supported
@ -57,6 +58,7 @@ alias qwant='web_search qwant'
alias givero='web_search givero'
alias stackoverflow='web_search stackoverflow'
alias wolframalpha='web_search wolframalpha'
alias archive='web_search archive'
#add your own !bang searches here
alias wiki='web_search duckduckgo \!w'