From cfe2263f4cf9775466dddc128e7502de582f18da Mon Sep 17 00:00:00 2001 From: div_bhasin Date: Sat, 4 May 2019 16:17:28 -0400 Subject: [PATCH] updated search URL for angular --- plugins/frontend-search/README.md | 2 +- plugins/frontend-search/frontend-search.plugin.zsh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/frontend-search/README.md b/plugins/frontend-search/README.md index f06e79102..d77a4210d 100644 --- a/plugins/frontend-search/README.md +++ b/plugins/frontend-search/README.md @@ -32,7 +32,7 @@ Available search contexts are: | context | URL | |---------------|--------------------------------------------------------------------------| -| angularjs | `https://google.com/search?as_sitesearch=angularjs.org&as_q=` | +| angularjs | `https://angular.io/?search=` | | aurajs | `http://aurajs.com/api/#stq=` | | bem | `https://google.com/search?as_sitesearch=bem.info&as_q=` | | bootsnipp | `https://bootsnipp.com/search?q=` | diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh index 14877fb0d..fe57a43d7 100644 --- a/plugins/frontend-search/frontend-search.plugin.zsh +++ b/plugins/frontend-search/frontend-search.plugin.zsh @@ -26,7 +26,7 @@ function frontend() { # define search context URLS typeset -A urls urls=( - angularjs 'https://google.com/search?as_sitesearch=angularjs.org&as_q=' + angularjs 'https://angular.io/?search=' aurajs 'http://aurajs.com/api/#stq=' bem 'https://google.com/search?as_sitesearch=bem.info&as_q=' bootsnipp 'https://bootsnipp.com/search?q=' @@ -53,7 +53,7 @@ function frontend() { if [[ $# -lt 2 ]] then 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 "and %Ucontext%u is one of the following:" print -P ""