diff options
author | div_bhasin <divbest99@gmail.com> | 2019-05-05 22:17:45 -0400 |
---|---|---|
committer | div_bhasin <divbest99@gmail.com> | 2019-05-05 22:17:45 -0400 |
commit | b3498d110e4dca90f00ce325b4f48835b27ed5da (patch) | |
tree | d596c1581fd8fa96c1c06dc9f78e32a9c53fc67e /plugins/frontend-search/frontend-search.plugin.zsh | |
parent | bcd41006259d88b9785e2cc7740d95545c6e07e3 (diff) | |
download | zsh-b3498d110e4dca90f00ce325b4f48835b27ed5da.tar.gz zsh-b3498d110e4dca90f00ce325b4f48835b27ed5da.tar.bz2 zsh-b3498d110e4dca90f00ce325b4f48835b27ed5da.zip |
Extracted angularjs to its own context for users who still use Angular <= 2
Diffstat (limited to 'plugins/frontend-search/frontend-search.plugin.zsh')
-rw-r--r-- | plugins/frontend-search/frontend-search.plugin.zsh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh index cad692ec4..c5f5ea7a9 100644 --- a/plugins/frontend-search/frontend-search.plugin.zsh +++ b/plugins/frontend-search/frontend-search.plugin.zsh @@ -26,7 +26,8 @@ function frontend() { # define search context URLS typeset -A urls urls=( - angularjs 'https://angular.io/?search=' + angular 'https://angular.io/?search=' + 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 'https://bootsnipp.com/search?q=' @@ -57,7 +58,7 @@ function frontend() { 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 "" - print -P " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow," + print -P " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow," print -P " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs," print -P " qunit, reactjs, smacss, stackoverflow, unheap" print -P "" @@ -73,7 +74,7 @@ function frontend() { echo "" echo "Valid contexts are:" echo "" - echo " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, " + echo " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, " echo " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs, " echo " qunit, reactjs, smacss, stackoverflow, unheap" echo "" |