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
cfe2263f
Commit
cfe2263f
authored
May 04, 2019
by
div_bhasin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated search URL for angular
parent
177d11d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
plugins/frontend-search/README.md
+1
-1
frontend-search.plugin.zsh
plugins/frontend-search/frontend-search.plugin.zsh
+2
-2
No files found.
plugins/frontend-search/README.md
View file @
cfe2263f
...
@@ -32,7 +32,7 @@ Available search contexts are:
...
@@ -32,7 +32,7 @@ Available search contexts are:
| context | URL |
| context | URL |
|---------------|--------------------------------------------------------------------------|
|---------------|--------------------------------------------------------------------------|
| angularjs |
`https://
google.com/search?as_sitesearch=angularjs.org&as_q=`
|
| angularjs |
`https://
angular.io/?search=`
|
| aurajs |
`http://aurajs.com/api/#stq=`
|
| aurajs |
`http://aurajs.com/api/#stq=`
|
| bem |
`https://google.com/search?as_sitesearch=bem.info&as_q=`
|
| bem |
`https://google.com/search?as_sitesearch=bem.info&as_q=`
|
| bootsnipp |
`https://bootsnipp.com/search?q=`
|
| bootsnipp |
`https://bootsnipp.com/search?q=`
|
...
...
plugins/frontend-search/frontend-search.plugin.zsh
View file @
cfe2263f
...
@@ -26,7 +26,7 @@ function frontend() {
...
@@ -26,7 +26,7 @@ function frontend() {
# define search context URLS
# define search context URLS
typeset
-A
urls
typeset
-A
urls
urls
=(
urls
=(
angularjs
'https://
google.com/search?as_sitesearch=angularjs.org&as_q
='
angularjs
'https://
angular.io/?search
='
aurajs
'http://aurajs.com/api/#stq='
aurajs
'http://aurajs.com/api/#stq='
bem
'https://google.com/search?as_sitesearch=bem.info&as_q='
bem
'https://google.com/search?as_sitesearch=bem.info&as_q='
bootsnipp
'https://bootsnipp.com/search?q='
bootsnipp
'https://bootsnipp.com/search?q='
...
@@ -53,7 +53,7 @@ function frontend() {
...
@@ -53,7 +53,7 @@ function frontend() {
if
[[
$#
-lt
2
]]
if
[[
$#
-lt
2
]]
then
then
print
-P
"Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
print
-P
"Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
print
-P
""
print
-P
"
sample
"
print
-P
"%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
print
-P
"%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
print
-P
"and %Ucontext%u is one of the following:"
print
-P
"and %Ucontext%u is one of the following:"
print
-P
""
print
-P
""
...
...
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