mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00:00
2.6 KiB
2.6 KiB
Rationale
The idea for this script is to help searches in important doc contents from frontend.
Instalation
I will send a Pull Request with this plugin for .oh-my-zsh official repository. If accept them, it's only add in plugins list that exists in .zshrc
file.
For now, you can clone this repository and add in custom/plugins
folder
$ git clone git://github.com/willmendesneto/frontend-search.git ~/.oh-my-zsh/custom/plugins/frontend-search
After this, restart your terminal and frontend-search plugin is configurated in you CLI.
...
plugins=( <your-plugins-list>... frontend-search)
...
Commands
All command searches are accept only in format
frontend <search-content> <search-term>
The search content are
jquery <api.jquery.com>
mdn <developer.mozilla.org>
compass <compass-style.org>
html5please <html5please.com>
caniuse <caniuse.com>
aurajs <aurajs.com>
dartlang <api.dartlang.org/apidocs/channels/stable/dartdoc-viewer>
lodash <search>
qunit <api.qunitjs.com>
fontello <fontello.com>
bootsnipp <bootsnipp.com>
cssflow <cssflow.com>
codepen <codepen.io>
unheap <www.unheap.com>
bem <google.com/search?as_q=<search-term>&as_sitesearch=bem.info>
smacss <google.com/search?as_q=<search-term>&as_sitesearch=smacss.com>
angularjs <google.com/search?as_q=<search-term>&as_sitesearch=angularjs.org>
reactjs <google.com/search?as_q=<search-term>&as_sitesearch=facebook.github.io/react>
emberjs <emberjs.com>
Aliases
There are a few aliases presented as well:
jquery
A shorthand forfrontend jquery
mdn
A shorthand forfrontend mdn
compass
A shorthand forfrontend compass
html5please
A shorthand forfrontend html5please
caniuse
A shorthand forfrontend caniuse
aurajs
A shorthand forfrontend aurajs
dartlang
A shorthand forfrontend dartlang
lodash
A shorthand forfrontend lodash
qunit
A shorthand forfrontend qunit
fontello
A shorthand forfrontend fontello
bootsnipp
A shorthand forfrontend bootsnipp
cssflow
A shorthand forfrontend cssflow
codepen
A shorthand forfrontend codepen
unheap
A shorthand forfrontend unheap
bem
A shorthand forfrontend bem
smacss
A shorthand forfrontend smacss
angularjs
A shorthand forfrontend angularjs
reactjs
A shorthand forfrontend reactjs
emberjs
A shorthand forfrontend emberjs
Author
Wilson Mendes (willmendesneto)
New features comming soon.