Diff
1diff --git a/plugins/gatsby/README.md b/plugins/gatsby/README.md
2new file mode 100644
3index 0000000000000000000000000000000000000000..36846a228bb3241e40e3d868e845695a0a95e610
4--- /dev/null
5+++ b/plugins/gatsby/README.md
6@@ -0,0 +1,7 @@
7+# gatsby autocomplete plugin
8+
9+* Adds autocomplete options for all gatsby commands.
10+
11+## Requirements
12+
13+In order to make this work, you will need to have gatsby set up in your path.
14diff --git a/plugins/gatsby/_gatsby b/plugins/gatsby/_gatsby
15new file mode 100644
16index 0000000000000000000000000000000000000000..66eb02f001dd3c0369b1fb7d58f5bdeb53f085e8
17--- /dev/null
18+++ b/plugins/gatsby/_gatsby
19@@ -0,0 +1,24 @@
20+#compdef gatsby
21+#autoload
22+
23+# in order to make this work, you will need to have gatsby
24+# https://www.gatsbyjs.org/
25+
26+local -a _1st_arguments
27+_1st_arguments=(
28+'develop:Start development server. Watches files, rebuilds, and hot reloads if something changes'
29+'build:Build a Gatsby project.'
30+'serve:Serve previously built Gatsby site.'
31+'info:Get environment information for debugging and issue reporting'
32+'clean:Wipe the local gatsby environment including built assets and cache'
33+'repl:Get a node repl with context of Gatsby environment, see (add docs link here)'
34+'new: [rootPath] [starter] Create new Gatsby project.'
35+'telemetry:Enable or disable Gatsby anonymous analytics collection.'
36+)
37+
38+_arguments -C '*:: :->subcmds' && return 0
39+
40+if (( CURRENT == 1 )); then
41+ _describe -t commands "gatsby subcommand" _1st_arguments
42+ return
43+fi