Diff
1diff --git a/plugins/frontend-search/README.md b/plugins/frontend-search/README.md
2index 0500589311dbb1913883faead8464c31a50a33bd..619d31e7f4bc902bd0a9e7de817fba3030d11878 100644
3--- a/plugins/frontend-search/README.md
4+++ b/plugins/frontend-search/README.md
5@@ -60,6 +60,7 @@ Available search contexts are:
6 | typescript | `https://google.com/search?as_sitesearch=www.typescriptlang.org/docs&as_q=` |
7 | unheap | `http://www.unheap.com/?s=` |
8 | vuejs | `https://www.google.com/search?as_sitesearch=vuejs.org&as_q=` |
9+| nextjs | `https://www.google.com/search?as_sitesearch=nextjs.org&as_q=` |
10
11 If you want to have another context, open an Issue and tell us!
12
13diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh
14index b9e2fe95d48182490fef76e7a377fd66333c7c15..541b23701bd88303f3613acb9048c9429bec5cc5 100644
15--- a/plugins/frontend-search/frontend-search.plugin.zsh
16+++ b/plugins/frontend-search/frontend-search.plugin.zsh
17@@ -27,6 +27,7 @@ alias stackoverflow='frontend stackoverflow'
18 alias typescript='frontend typescript'
19 alias unheap='frontend unheap'
20 alias vuejs='frontend vuejs'
21+alias nextjs='frontend nextjs'
22
23 function _frontend_fallback() {
24 case "$FRONTEND_SEARCH_FALLBACK" in
25@@ -70,6 +71,7 @@ function frontend() {
26 typescript $(_frontend_fallback 'www.typescriptlang.org/docs')
27 unheap 'http://www.unheap.com/?s='
28 vuejs $(_frontend_fallback 'vuejs.org')
29+ nextjs $(_frontend_fallback 'nextjs.org')
30 )
31
32 # show help for command list
33@@ -81,7 +83,7 @@ function frontend() {
34 print -P ""
35 print -P " angular, angularjs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, packagephobia"
36 print -P " dartlang, emberjs, fontello, flowtype, github, html5please, jestjs, jquery, lodash,"
37- print -P " mdn, npmjs, nodejs, qunit, reactjs, smacss, stackoverflow, unheap, vuejs, bundlephobia"
38+ print -P " mdn, npmjs, nodejs, qunit, reactjs, smacss, stackoverflow, unheap, vuejs, bundlephobia, nextjs"
39 print -P ""
40 print -P "For example: frontend npmjs mocha (or just: npmjs mocha)."
41 print -P ""
42@@ -96,7 +98,7 @@ function frontend() {
43 echo ""
44 echo " angular, angularjs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, packagephobia"
45 echo " dartlang, emberjs, fontello, github, html5please, jest, jquery, lodash,"
46- echo " mdn, npmjs, nodejs, qunit, reactjs, smacss, stackoverflow, unheap, vuejs, bundlephobia"
47+ echo " mdn, npmjs, nodejs, qunit, reactjs, smacss, stackoverflow, unheap, vuejs, bundlephobia, nextjs"
48 echo ""
49 return 1
50 fi