cfe2263f4cf9775466dddc128e7502de582f18da

Author
div_bhasin <divbest99@gmail.com>
Committer
div_bhasin <divbest99@gmail.com>
Date

Message

updated search URL for angular

Diff

 1diff --git a/plugins/frontend-search/README.md b/plugins/frontend-search/README.md
 2index f06e7910207da2736ea53936723d453d191bd4a3..d77a4210d7ade39bb194e8a66b9d5981a29bd0ea 100644
 3--- a/plugins/frontend-search/README.md
 4+++ b/plugins/frontend-search/README.md
 5@@ -32,7 +32,7 @@ Available search contexts are:
 6 
 7 | context       | URL                                                                      |
 8 |---------------|--------------------------------------------------------------------------|
 9-| angularjs     | `https://google.com/search?as_sitesearch=angularjs.org&as_q=`            |
10+| angularjs     | `https://angular.io/?search=`                                             |
11 | aurajs        | `http://aurajs.com/api/#stq=`                                            |
12 | bem           | `https://google.com/search?as_sitesearch=bem.info&as_q=`                 |
13 | bootsnipp     | `https://bootsnipp.com/search?q=`                                         |
14diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh
15index 14877fb0d396f9fe0bdd915e7e4d080705742499..fe57a43d74f8f7e0a4d132ae7e580c4057654291 100644
16--- a/plugins/frontend-search/frontend-search.plugin.zsh
17+++ b/plugins/frontend-search/frontend-search.plugin.zsh
18@@ -26,7 +26,7 @@ function frontend() {
19   # define search context URLS
20   typeset -A urls
21   urls=(
22-    angularjs      'https://google.com/search?as_sitesearch=angularjs.org&as_q='
23+    angularjs      'https://angular.io/?search='
24     aurajs         'http://aurajs.com/api/#stq='
25     bem            'https://google.com/search?as_sitesearch=bem.info&as_q='
26     bootsnipp      'https://bootsnipp.com/search?q='
27@@ -53,7 +53,7 @@ function frontend() {
28   if [[ $# -lt 2 ]]
29   then
30       print -P "Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
31-      print -P ""
32+      print -P "sample"
33       print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
34       print -P "and %Ucontext%u is one of the following:"
35       print -P ""