mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
Merge pull request #4238 from wubaiqing/master
Add Baidu support to web-search plugin
This commit is contained in:
commit
192de6bcff
@ -12,6 +12,7 @@ function web_search() {
|
||||
duckduckgo "https://www.duckduckgo.com/?q="
|
||||
yandex "https://yandex.ru/yandsearch?text="
|
||||
github "https://github.com/search?q="
|
||||
baidu "https://www.baidu.com/s?wd="
|
||||
)
|
||||
|
||||
# check whether the search engine is supported
|
||||
@ -41,6 +42,7 @@ alias yahoo='web_search yahoo'
|
||||
alias ddg='web_search duckduckgo'
|
||||
alias yandex='web_search yandex'
|
||||
alias github='web_search github'
|
||||
alias baidu='web_search baidu'
|
||||
|
||||
#add your own !bang searches here
|
||||
alias wiki='web_search duckduckgo \!w'
|
||||
|
Loading…
Reference in New Issue
Block a user