mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
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:
jqueryA shorthand forfrontend jquerymdnA shorthand forfrontend mdncompassA shorthand forfrontend compasshtml5pleaseA shorthand forfrontend html5pleasecaniuseA shorthand forfrontend caniuseaurajsA shorthand forfrontend aurajsdartlangA shorthand forfrontend dartlanglodashA shorthand forfrontend lodashqunitA shorthand forfrontend qunitfontelloA shorthand forfrontend fontellobootsnippA shorthand forfrontend bootsnippcssflowA shorthand forfrontend cssflowcodepenA shorthand forfrontend codepenunheapA shorthand forfrontend unheapbemA shorthand forfrontend bemsmacssA shorthand forfrontend smacssangularjsA shorthand forfrontend angularjsreactjsA shorthand forfrontend reactjsemberjsA shorthand forfrontend emberjs
Author
Wilson Mendes (willmendesneto)
New features comming soon.