Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
0fd11130
Unverified
Commit
0fd11130
authored
Jun 03, 2020
by
Pierre Gimalac
Committed by
GitHub
Jun 03, 2020
Browse files
web-search: add Wayback Archive (#8784)
parent
aee9e603
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/web-search/README.md
View file @
0fd11130
...
...
@@ -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:
...
...
plugins/web-search/web-search.plugin.zsh
View file @
0fd11130
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment