Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
fec2e56b
Commit
fec2e56b
authored
5 years ago
by
Nicholas Wehr
Committed by
Robby Russell
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding gatsby command set (#7831)
parent
5f18dbf8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
README.md
plugins/gatsby/README.md
+7
-0
_gatsby
plugins/gatsby/_gatsby
+24
-0
No files found.
plugins/gatsby/README.md
0 → 100644
View file @
fec2e56b
# gatsby autocomplete plugin
*
Adds autocomplete options for all gatsby commands.
## Requirements
In order to make this work, you will need to have gatsby set up in your path.
This diff is collapsed.
Click to expand it.
plugins/gatsby/_gatsby
0 → 100644
View file @
fec2e56b
#compdef gatsby
#autoload
# in order to make this work, you will need to have gatsby
# https://www.gatsbyjs.org/
local -a _1st_arguments
_1st_arguments=(
'develop:Start development server. Watches files, rebuilds, and hot reloads if something changes'
'build:Build a Gatsby project.'
'serve:Serve previously built Gatsby site.'
'info:Get environment information for debugging and issue reporting'
'clean:Wipe the local gatsby environment including built assets and cache'
'repl:Get a node repl with context of Gatsby environment, see (add docs link here)'
'new: [rootPath] [starter] Create new Gatsby project.'
'telemetry:Enable or disable Gatsby anonymous analytics collection.'
)
_arguments -C '*:: :->subcmds' && return 0
if (( CURRENT == 1 )); then
_describe -t commands "gatsby subcommand" _1st_arguments
return
fi
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment