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
a9428b13
Commit
a9428b13
authored
Aug 11, 2016
by
Kyle Scully
Committed by
Marc Cornellà
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added mix autocompletion support for phoenix (#4967)
parent
4505a438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
_mix
plugins/mix/_mix
+10
-2
No files found.
plugins/mix/_mix
View file @
a9428b13
...
@@ -38,6 +38,15 @@ _1st_arguments=(
...
@@ -38,6 +38,15 @@ _1st_arguments=(
'local.hex:Install hex locally'
'local.hex:Install hex locally'
'local.rebar:Install rebar locally'
'local.rebar:Install rebar locally'
'new:Create a new Elixir project'
'new:Create a new Elixir project'
'phoenix.digest:Digests and compress static files'
'phoenix.gen.channel:Generates a Phoenix channel'
'phoenix.gen.html:Generates controller, model and views for an HTML based resource'
'phoenix.gen.json:Generates a controller and model for a JSON based resource'
'phoenix.gen.model:Generates an Ecto model'
'phoenix.gen.secret:Generates a secret'
'phoenix.new:Create a new Phoenix application'
'phoenix.routes:Prints all routes'
'phoenix.server:Starts applications and their servers'
'run:Run the given file or expression'
'run:Run the given file or expression'
"test:Run a project's tests"
"test:Run a project's tests"
'--help:Describe available tasks'
'--help:Describe available tasks'
...
@@ -49,7 +58,7 @@ __task_list ()
...
@@ -49,7 +58,7 @@ __task_list ()
local expl
local expl
declare -a tasks
declare -a tasks
tasks=(app.start archive archive.build archive.install archive.uninstall clean cmd compile compile.protocols deps deps.clean deps.compile deps.get deps.unlock deps.update do escript.build help hex hex.config hex.docs hex.info hex.key hex.outdated hex.owner hex.publish hex.search hex.user loadconfig local local.hex local.rebar new run test)
tasks=(app.start archive archive.build archive.install archive.uninstall clean cmd compile compile.protocols deps deps.clean deps.compile deps.get deps.unlock deps.update do escript.build help hex hex.config hex.docs hex.info hex.key hex.outdated hex.owner hex.publish hex.search hex.user loadconfig local local.hex local.rebar new
phoenix.digest phoenix.gen.channel phoenix.gen.html phoenix.gen.json phoenix.gen.model phoenix.gen.secret phoenix.new phoenix.routes phoenix.server
run test)
_wanted tasks expl 'help' compadd $tasks
_wanted tasks expl 'help' compadd $tasks
}
}
...
@@ -80,4 +89,3 @@ case $state in
...
@@ -80,4 +89,3 @@ case $state in
esac
esac
;;
;;
esac
esac
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