Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
c481c62b
Commit
c481c62b
authored
Aug 31, 2015
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor and clear up README file
parent
d982e120
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
73 deletions
+48
-73
README.md
plugins/frontend-search/README.md
+48
-73
No files found.
plugins/frontend-search/README.md
View file @
c481c62b
##
Rationale
##
##
Introduction
##
> Searches for your
Frontend contents mor
e easier
> Searches for your
frontend web development mad
e easier
## Instalation ##
## Instal
l
ation ##
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 ##
All command searches are accept only in formats
*
`frontend <search-content> <search-term>`
*
`<search-content> <search-term>`
For more informations, please run help command (are similars)
*
`frontend -h`
*
`frontend --help`
*
`frontend help`
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>`
*
`stackoverflow <stackoverflow.com>`
*
`npmjs <npmjs.com>`
## Aliases ##
There are a few aliases presented as well:
*
`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`
## 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 |
|---------------|--------------------------------------------------------------------------|
| angularjs |
`https://google.com/search?as_sitesearch=angularjs.org&as_q=`
|
| aurajs |
`http://aurajs.com/api/#stq=`
|
| bem |
`https://google.com/search?as_sitesearch=bem.info&as_q=`
|
| bootsnipp |
`http://bootsnipp.com/search?q=`
|
| caniuse |
`http://caniuse.com/#search=`
|
| codepen |
`http://codepen.io/search?q=`
|
| compass |
`http://compass-style.org/search?q=`
|
| cssflow |
`http://www.cssflow.com/search?q=`
|
| dartlang |
`https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:`
|
| emberjs |
`http://emberjs.com/api/#stp=1&stq=`
|
| 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 |
`http://stackoverflow.com/search?q=`
|
| unheap |
`http://www.unheap.com/?s=`
|
If you want to have another context, open an Issue and tell us!
## Author
...
...
@@ -86,5 +63,3 @@ There are a few aliases presented as well:
+
<https://plus.google.com/+WilsonMendes>
+
<https://twitter.com/willmendesneto>
+
<http://github.com/willmendesneto>
New features comming soon.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment