web-search
                                
                                 web-search copied to clipboard
                                
                                    web-search copied to clipboard
                            
                            
                            
                        ZSH Plugin: zsh plugin for web searching
web-search plugin
This plugin allow aliases for searching from terminal with some popular web search engines.
## Installation
git clone https://github.com/sinetoami/web-search.git "$ZSH_CUSTOM/plugins/web-search"
And add the plugin to your .zshrc:
plugins=(... web-search)
Usage
web-search plugin give to you alias for web_search command. You can use this for example:
# using web_search command
$ web_search google zsh
# using alias
$ google zsh
The results are the same for both ways.
Search engines supported
| alias | engine | 
|---|---|
| ddg | https://www.duckduckgo.com/?q= | 
| google | https://www.google.com/search?q= | 
| yahoo | https://search.yahoo.com/search?p= | 
| github | https://github.com/search?q= | 
| youtube | https://youtube.com/results?search_query= | 
| bing | https://www.bing.com/search?q= | 
Plus+ DuckDuckGo
| alias | description | 
|---|---|
| wiki | open result with Wikipedia | 
| news | open result with DuckDuckGo News | 
| map | open result with Google Maps | 
| images | open result with DuckDuckGo Images | 
| ducky | open the first result | 
Special thanks
- Saurabh Kumar for creating the plugin on which this one is based.
- Joe Block for contributing with macOS support for this plugin.
License
MIT License