Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
52e848ce
Unverified
Commit
52e848ce
authored
Oct 14, 2022
by
Sibs
Committed by
GitHub
Oct 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(web-search): add support for Brave search engine (#11106)
parent
b9be3a43
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
README.md
plugins/web-search/README.md
+2
-1
web-search.plugin.zsh
plugins/web-search/web-search.plugin.zsh
+2
-0
No files found.
plugins/web-search/README.md
View file @
52e848ce
...
...
@@ -25,9 +25,10 @@ $ google oh-my-zsh
Available search contexts are:
| Context | URL |
|
-----------------------|------------------------------------------
|
|
--------------------- | ----------------------------------------
|
|
`bing`
|
`https://www.bing.com/search?q=`
|
|
`google`
|
`https://www.google.com/search?q=`
|
|
`brs`
or
`brave`
|
`https://search.brave.com/search?q=`
|
|
`yahoo`
|
`https://search.yahoo.com/search?p=`
|
|
`ddg`
or
`duckduckgo`
|
`https://www.duckduckgo.com/?q=`
|
|
`sp`
or
`startpage`
|
`https://www.startpage.com/do/search?q=`
|
...
...
plugins/web-search/web-search.plugin.zsh
View file @
52e848ce
...
...
@@ -9,6 +9,7 @@ function web_search() {
$ZSH_WEB_SEARCH_ENGINES
google
"https://www.google.com/search?q="
bing
"https://www.bing.com/search?q="
brave
"https://search.brave.com/search?q="
yahoo
"https://search.yahoo.com/search?p="
duckduckgo
"https://www.duckduckgo.com/?q="
startpage
"https://www.startpage.com/do/search?q="
...
...
@@ -47,6 +48,7 @@ function web_search() {
alias
bing
=
'web_search bing'
alias
brs
=
'web_search brave'
alias
google
=
'web_search google'
alias
yahoo
=
'web_search yahoo'
alias
ddg
=
'web_search duckduckgo'
...
...
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