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
d2725d44
Commit
d2725d44
authored
Jan 15, 2017
by
Ruslan Voronkov
Committed by
Robby Russell
Jan 15, 2017
Browse files
Add goodreads search provider (#5778)
parent
0b4bba4c
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/web-search/web-search.plugin.zsh
View file @
d2725d44
...
@@ -15,6 +15,7 @@ function web_search() {
...
@@ -15,6 +15,7 @@ function web_search() {
github
"https://github.com/search?q="
github
"https://github.com/search?q="
baidu
"https://www.baidu.com/s?wd="
baidu
"https://www.baidu.com/s?wd="
ecosia
"https://www.ecosia.org/search?q="
ecosia
"https://www.ecosia.org/search?q="
goodreads
"https://www.goodreads.com/search?q="
)
)
# check whether the search engine is supported
# check whether the search engine is supported
...
@@ -47,6 +48,7 @@ alias yandex='web_search yandex'
...
@@ -47,6 +48,7 @@ alias yandex='web_search yandex'
alias
github
=
'web_search github'
alias
github
=
'web_search github'
alias
baidu
=
'web_search baidu'
alias
baidu
=
'web_search baidu'
alias
ecosia
=
'web_search ecosia'
alias
ecosia
=
'web_search ecosia'
alias
goodreads
=
'web_search goodreads'
#add your own !bang searches here
#add your own !bang searches here
alias
wiki
=
'web_search duckduckgo \!w'
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