Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
47eae26b
Unverified
Commit
47eae26b
authored
Feb 18, 2020
by
Kshitij Nikhal
Committed by
GitHub
Feb 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web-search: add wolframalpha search engine (#8638)
parent
1381da15
Changes
2
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 @
47eae26b
...
...
@@ -39,6 +39,7 @@ Available search contexts are:
|
`qwant`
|
`https://www.qwant.com/?q=`
|
|
`givero`
|
`https://www.givero.com/search?q=`
|
|
`stackoverflow`
|
`https://stackoverflow.com/search?q=`
|
|
`wolframalpha`
|
`https://wolframalpha.com/input?i=`
|
Also there are aliases for bang-searching DuckDuckGo:
...
...
plugins/web-search/web-search.plugin.zsh
View file @
47eae26b
...
...
@@ -19,6 +19,7 @@ function web_search() {
qwant
"https://www.qwant.com/?q="
givero
"https://www.givero.com/search?q="
stackoverflow
"https://stackoverflow.com/search?q="
wolframalpha
"https://www.wolframalpha.com/input/?i="
)
# check whether the search engine is supported
...
...
@@ -55,6 +56,7 @@ alias goodreads='web_search goodreads'
alias
qwant
=
'web_search qwant'
alias
givero
=
'web_search givero'
alias
stackoverflow
=
'web_search stackoverflow'
alias
wolframalpha
=
'web_search wolframalpha'
#add your own !bang searches here
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