1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 19:00:07 +00:00
ohmyzsh/plugins/frontend-search/README.md

67 lines
2.9 KiB
Markdown
Raw Normal View History

2015-08-31 17:17:16 +00:00
## Introduction ##
2014-06-20 02:27:40 +00:00
2015-08-31 17:17:16 +00:00
> Searches for your frontend web development made easier
2015-04-26 14:43:45 +00:00
2014-06-20 02:27:40 +00:00
2015-08-31 17:17:16 +00:00
## Installation ##
2014-06-20 02:27:40 +00:00
2015-08-31 17:17:16 +00:00
Open your `~/.zshrc` file and enable the `frontend-search` plugin:
2014-06-20 02:27:40 +00:00
2015-08-31 17:17:16 +00:00
```zsh
plugins=( ... frontend-search)
2014-06-20 02:27:40 +00:00
```
2015-04-26 14:43:45 +00:00
2015-08-31 17:17:16 +00:00
## Usage ##
You can use the frontend-search plugin in these two forms:
* `frontend <context> <term> [more terms if you want]`
* `<context> <term> [more terms if you want]`
For example, these two are equivalent:
```zsh
$ frontend angularjs dependency injection
$ angularjs dependency injection
```
Available search contexts are:
| context | URL |
|---------------|--------------------------------------------------------------------------|
| angular(>=2.0)| `https://angular.io/?search=` |
| angularjs(1.x)| `https://google.com/search?as_sitesearch=angularjs.org&as_q=`
2015-08-31 17:17:16 +00:00
| aurajs | `http://aurajs.com/api/#stq=` |
| bem | `https://google.com/search?as_sitesearch=bem.info&as_q=` |
| bootsnipp | `https://bootsnipp.com/search?q=` |
| caniuse | `https://caniuse.com/#search=` |
| codepen | `https://codepen.io/search?q=` |
2016-02-21 13:09:27 +00:00
| compassdoc | `http://compass-style.org/search?q=` |
2015-08-31 17:17:16 +00:00
| cssflow | `http://www.cssflow.com/search?q=` |
| dartlang | `https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:` |
| emberjs | `https://emberjs.com/api/#stp=1&stq=` |
2015-08-31 17:17:16 +00:00
| fontello | `http://fontello.com/#search=` |
| html5please | `http://html5please.com/#` |
| jquery | `https://api.jquery.com/?s=` |
| lodash | `https://devdocs.io/lodash/index#` |
| mdn | `https://developer.mozilla.org/search?q=` |
| npmjs | `https://www.npmjs.com/search?q=` |
| qunit | `https://api.qunitjs.com/?s=` |
| reactjs | `https://google.com/search?as_sitesearch=facebook.github.io/react&as_q=` |
| smacss | `https://google.com/search?as_sitesearch=smacss.com&as_q=` |
| stackoverflow | `https://stackoverflow.com/search?q=` |
2015-08-31 17:17:16 +00:00
| unheap | `http://www.unheap.com/?s=` |
If you want to have another context, open an Issue and tell us!
2014-06-20 02:27:40 +00:00
2015-04-26 14:43:45 +00:00
2014-06-20 02:27:40 +00:00
## Author
**Wilson Mendes (willmendesneto)**
2015-04-26 14:43:45 +00:00
+ <https://plus.google.com/+WilsonMendes>
2014-06-20 02:27:40 +00:00
+ <https://twitter.com/willmendesneto>
+ <https://github.com/willmendesneto>