Commit c481c62b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Refactor and clear up README file

parent d982e120
## Rationale ## ## Introduction ##
> Searches for your Frontend contents more easier > Searches for your frontend web development made easier
## Instalation ## ## Installation ##
Open your `~/.zshrc` file and enable the `frontend-search` plugin:
Open your `.zshrc` file and load `frontend-search` plugin ```zsh
plugins=( ... frontend-search)
```bash
...
plugins=( <your-plugins-list>... frontend-search)
...
``` ```
## Commands ## ## Usage ##
All command searches are accept only in formats You can use the frontend-search plugin in these two forms:
* `frontend <search-content> <search-term>` * `frontend <context> <term> [more terms if you want]`
* `<search-content> <search-term>` * `<context> <term> [more terms if you want]`
For more informations, please run help command (are similars) For example, these two are equivalent:
* `frontend -h` ```zsh
* `frontend --help` $ frontend angularjs dependency injection
* `frontend help` $ angularjs dependency injection
```
The search content are
Available search contexts are:
* `jquery <api.jquery.com>`
* `mdn <developer.mozilla.org>` | context | URL |
* `compass <compass-style.org>` |---------------|--------------------------------------------------------------------------|
* `html5please <html5please.com>` | angularjs | `https://google.com/search?as_sitesearch=angularjs.org&as_q=` |
* `caniuse <caniuse.com>` | aurajs | `http://aurajs.com/api/#stq=` |
* `aurajs <aurajs.com>` | bem | `https://google.com/search?as_sitesearch=bem.info&as_q=` |
* `dartlang <api.dartlang.org/apidocs/channels/stable/dartdoc-viewer>` | bootsnipp | `http://bootsnipp.com/search?q=` |
* `lodash <search>` | caniuse | `http://caniuse.com/#search=` |
* `qunit <api.qunitjs.com>` | codepen | `http://codepen.io/search?q=` |
* `fontello <fontello.com>` | compass | `http://compass-style.org/search?q=` |
* `bootsnipp <bootsnipp.com>` | cssflow | `http://www.cssflow.com/search?q=` |
* `cssflow <cssflow.com>` | dartlang | `https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:` |
* `codepen <codepen.io>` | emberjs | `http://emberjs.com/api/#stp=1&stq=` |
* `unheap <www.unheap.com>` | fontello | `http://fontello.com/#search=` |
* `bem <google.com/search?as_q=<search-term>&as_sitesearch=bem.info>` | html5please | `http://html5please.com/#` |
* `smacss <google.com/search?as_q=<search-term>&as_sitesearch=smacss.com>` | jquery | `https://api.jquery.com/?s=` |
* `angularjs <google.com/search?as_q=<search-term>&as_sitesearch=angularjs.org>` | lodash | `https://devdocs.io/lodash/index#` |
* `reactjs <google.com/search?as_q=<search-term>&as_sitesearch=facebook.github.io/react>` | mdn | `https://developer.mozilla.org/search?q=` |
* `emberjs <emberjs.com>` | npmjs | `https://www.npmjs.com/search?q=` |
* `stackoverflow <stackoverflow.com>` | qunit | `https://api.qunitjs.com/?s=` |
* `npmjs <npmjs.com>` | 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 | `http://stackoverflow.com/search?q=` |
## Aliases ## | unheap | `http://www.unheap.com/?s=` |
There are a few aliases presented as well: If you want to have another context, open an Issue and tell us!
* `jquery` A shorthand for `frontend jquery`
* `mdn` A shorthand for `frontend mdn`
* `compass` A shorthand for `frontend compass`
* `html5please` A shorthand for `frontend html5please`
* `caniuse` A shorthand for `frontend caniuse`
* `aurajs` A shorthand for `frontend aurajs`
* `dartlang` A shorthand for `frontend dartlang`
* `lodash` A shorthand for `frontend lodash`
* `qunit` A shorthand for `frontend qunit`
* `fontello` A shorthand for `frontend fontello`
* `bootsnipp` A shorthand for `frontend bootsnipp`
* `cssflow` A shorthand for `frontend cssflow`
* `codepen` A shorthand for `frontend codepen`
* `unheap` A shorthand for `frontend unheap`
* `bem` A shorthand for `frontend bem`
* `smacss` A shorthand for `frontend smacss`
* `angularjs` A shorthand for `frontend angularjs`
* `reactjs` A shorthand for `frontend reactjs`
* `emberjs` A shorthand for `frontend emberjs`
* `stackoverflow` A shorthand for `frontend stackoverflow`
* `npmjs` A shorthand for `frontend npmjs`
## Author ## Author
...@@ -86,5 +63,3 @@ There are a few aliases presented as well: ...@@ -86,5 +63,3 @@ There are a few aliases presented as well:
+ <https://plus.google.com/+WilsonMendes> + <https://plus.google.com/+WilsonMendes>
+ <https://twitter.com/willmendesneto> + <https://twitter.com/willmendesneto>
+ <http://github.com/willmendesneto> + <http://github.com/willmendesneto>
New features comming soon.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment