Diff
1diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh
2index c5f5ea7a997f3c43741fec19db44aa207decbe05..bef5992a32ce7ff48098c851c1794024b8f9f600 100644
3--- a/plugins/frontend-search/frontend-search.plugin.zsh
4+++ b/plugins/frontend-search/frontend-search.plugin.zsh
5@@ -1,3 +1,4 @@
6+alias angular='frontend angular'
7 alias angularjs='frontend angularjs'
8 alias aurajs='frontend aurajs'
9 alias bem='frontend bem'
10@@ -58,9 +59,9 @@ function frontend() {
11 print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
12 print -P "and %Ucontext%u is one of the following:"
13 print -P ""
14- print -P " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow,"
15- print -P " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs,"
16- print -P " qunit, reactjs, smacss, stackoverflow, unheap"
17+ print -P " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen,"
18+ print -P " compassdoc, cssflow, dartlang, emberjs, fontello, html5please, jquery,"
19+ print -P " lodash, mdn, npmjs, qunit, reactjs, smacss, stackoverflow, unheap"
20 print -P ""
21 print -P "For example: frontend npmjs mocha (or just: npmjs mocha)."
22 print -P ""
23@@ -74,15 +75,15 @@ function frontend() {
24 echo ""
25 echo "Valid contexts are:"
26 echo ""
27- echo " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, "
28- echo " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs, "
29- echo " qunit, reactjs, smacss, stackoverflow, unheap"
30+ echo " angular (>= 2.0), angularjs (1.x), aurajs, bem, bootsnipp, caniuse, codepen,"
31+ echo " compassdoc, cssflow, dartlang, emberjs, fontello, html5please, jquery,"
32+ echo " lodash, mdn, npmjs, qunit, reactjs, smacss, stackoverflow, unheap"
33 echo ""
34 return 1
35 fi
36
37 # build search url:
38- # join arguments passed with '+', then append to search context URL
39+ # join arguments passed with '%20', then append to search context URL
40 # TODO substitute for proper urlencode method
41 url="${urls[$1]}${(j:%20:)@[2,-1]}"
42