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
15014db8
Unverified
Commit
15014db8
authored
Nov 04, 2022
by
Tanmay Patil
Committed by
GitHub
Nov 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(web-search): add ask.com (#11292)
parent
9f2bbebd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
README.md
plugins/web-search/README.md
+1
-0
web-search.plugin.zsh
plugins/web-search/web-search.plugin.zsh
+2
-0
No files found.
plugins/web-search/README.md
View file @
15014db8
...
@@ -43,6 +43,7 @@ Available search contexts are:
...
@@ -43,6 +43,7 @@ Available search contexts are:
|
`wolframalpha`
|
`https://wolframalpha.com/input?i=`
|
|
`wolframalpha`
|
`https://wolframalpha.com/input?i=`
|
|
`archive`
|
`https://web.archive.org/web/*/`
|
|
`archive`
|
`https://web.archive.org/web/*/`
|
|
`scholar`
|
`https://scholar.google.com/scholar?q=`
|
|
`scholar`
|
`https://scholar.google.com/scholar?q=`
|
|
`ask`
|
`https://www.ask.com/web?q=`
|
Also there are aliases for bang-searching DuckDuckGo:
Also there are aliases for bang-searching DuckDuckGo:
...
...
plugins/web-search/web-search.plugin.zsh
View file @
15014db8
...
@@ -24,6 +24,7 @@ function web_search() {
...
@@ -24,6 +24,7 @@ function web_search() {
wolframalpha
"https://www.wolframalpha.com/input/?i="
wolframalpha
"https://www.wolframalpha.com/input/?i="
archive
"https://web.archive.org/web/*/"
archive
"https://web.archive.org/web/*/"
scholar
"https://scholar.google.com/scholar?q="
scholar
"https://scholar.google.com/scholar?q="
ask
"https://www.ask.com/web?q="
)
)
# check whether the search engine is supported
# check whether the search engine is supported
...
@@ -64,6 +65,7 @@ alias stackoverflow='web_search stackoverflow'
...
@@ -64,6 +65,7 @@ alias stackoverflow='web_search stackoverflow'
alias
wolframalpha
=
'web_search wolframalpha'
alias
wolframalpha
=
'web_search wolframalpha'
alias
archive
=
'web_search archive'
alias
archive
=
'web_search archive'
alias
scholar
=
'web_search scholar'
alias
scholar
=
'web_search scholar'
alias
ask
=
'web_search ask'
#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