mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add stackoverflow search into web-search plugin
This commit is contained in:
parent
a7e30b26ba
commit
877e541fc6
1 changed files with 10 additions and 8 deletions
|
|
@ -14,6 +14,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="
|
||||||
|
stackoverflow "http://stackoverflow.com/search?q="
|
||||||
)
|
)
|
||||||
|
|
||||||
# check whether the search engine is supported
|
# check whether the search engine is supported
|
||||||
|
|
@ -45,6 +46,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 so='web_search stackoverflow'
|
||||||
|
|
||||||
#add your own !bang searches here
|
#add your own !bang searches here
|
||||||
alias wiki='web_search duckduckgo \!w'
|
alias wiki='web_search duckduckgo \!w'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue