summaryrefslogtreecommitdiff
path: root/plugins/frontend-search/_frontend-search.sh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-05-06 19:36:44 +0200
committerGitHub <noreply@github.com>2019-05-06 19:36:44 +0200
commit6da59ff046d7a81483345d0e16333a69eb96ccc6 (patch)
tree2180d41d7042d9b6189e61c772d20dfed2e3e317 /plugins/frontend-search/_frontend-search.sh
parentd4a3e0645bef49bfd1808aa263ecf916f79f9040 (diff)
parent63b8d652f251f2b7e22ee80dbeaba8ecf6b9b535 (diff)
downloadzsh-6da59ff046d7a81483345d0e16333a69eb96ccc6.tar.gz
zsh-6da59ff046d7a81483345d0e16333a69eb96ccc6.tar.bz2
zsh-6da59ff046d7a81483345d0e16333a69eb96ccc6.zip
frontend-search: add Angular 2 context (#7830)
* Add search URL for angular 2 * Convert + to %20 encoding
Diffstat (limited to 'plugins/frontend-search/_frontend-search.sh')
-rw-r--r--plugins/frontend-search/_frontend-search.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/frontend-search/_frontend-search.sh b/plugins/frontend-search/_frontend-search.sh
index 9aad76f76..573aa3aae 100644
--- a/plugins/frontend-search/_frontend-search.sh
+++ b/plugins/frontend-search/_frontend-search.sh
@@ -33,7 +33,8 @@ function _frontend() {
'unheap: Search in unheap website'
'bem: Search in BEM website'
'smacss: Search in SMACSS website'
- 'angularjs: Search in Angular website'
+ 'angular: Search in Angular website for Angular 2.x'
+ 'angularjs: Search in Angular website for Angular 1.x'
'reactjs: Search in React website'
'emberjs: Search in Ember website'
'stackoverflow: Search in StackOverflow website'
@@ -99,6 +100,9 @@ function _frontend() {
smacss)
_describe -t points "Warp points" frontend_points && ret=0
;;
+ angular)
+ _describe -t points "Warp points" frontend_points && ret=0
+ ;;
angularjs)
_describe -t points "Warp points" frontend_points && ret=0
;;