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
Ohmyzsh
Commits
0cca3c0d
Commit
0cca3c0d
authored
Dec 11, 2015
by
Marc Cornellà
Browse files
Merge pull request #4687 from gmccue/web-search-ecosia
Add Ecosia to web-search plugin.
parents
ee343814
fb5effd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/web-search/web-search.plugin.zsh
View file @
0cca3c0d
...
@@ -13,6 +13,7 @@ function web_search() {
...
@@ -13,6 +13,7 @@ function web_search() {
yandex
"https://yandex.ru/yandsearch?text="
yandex
"https://yandex.ru/yandsearch?text="
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="
)
)
# check whether the search engine is supported
# check whether the search engine is supported
...
@@ -43,6 +44,7 @@ alias ddg='web_search duckduckgo'
...
@@ -43,6 +44,7 @@ alias ddg='web_search duckduckgo'
alias
yandex
=
'web_search yandex'
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'
#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