From 69bd9ab3f040a8ad55b59cbd306aa91852184064 Mon Sep 17 00:00:00 2001 From: Zach Whitten Date: Tue, 2 Oct 2018 13:58:14 -0400 Subject: mix: add README (#7185) --- plugins/mix/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugins/mix/README.md (limited to 'plugins/mix/README.md') diff --git a/plugins/mix/README.md b/plugins/mix/README.md new file mode 100644 index 000000000..63476dd6b --- /dev/null +++ b/plugins/mix/README.md @@ -0,0 +1,18 @@ +# Mix plugin + +This plugin adds completions for the [Elixir's Mix build tool](https://hexdocs.pm/mix/Mix.html). + +To use it, add `mix` to the plugins array in your zshrc file: + +```zsh +plugins=(... mix) +``` +## Supported Task Types + +| Task Type | Documentation | +|-------------------------|----------------------------------------------------------| +| Elixir | [Elixir Lang](https://elixir-lang.org/) | +| Phoenix v1.2.1 and below| [Phoenix](https://hexdocs.pm/phoenix/1.2.1/Phoenix.html) | +| Phoenix v1.3.0 and above| [Phoenix](https://hexdocs.pm/phoenix/Phoenix.html) | +| Ecto | [Ecto](https://hexdocs.pm/ecto/Ecto.html) | +| Hex | [Hex](https://hex.pm/) | -- cgit v1.2.3-70-g09d2 From 5ce96c3f77347e3c5bb60a86fb72b9c2333e34c3 Mon Sep 17 00:00:00 2001 From: Zach Whitten Date: Wed, 3 Oct 2018 14:10:40 -0400 Subject: mix: add Nerves tasks to completion (#7180) --- plugins/mix/README.md | 1 + plugins/mix/_mix | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'plugins/mix/README.md') diff --git a/plugins/mix/README.md b/plugins/mix/README.md index 63476dd6b..878f370f2 100644 --- a/plugins/mix/README.md +++ b/plugins/mix/README.md @@ -16,3 +16,4 @@ plugins=(... mix) | Phoenix v1.3.0 and above| [Phoenix](https://hexdocs.pm/phoenix/Phoenix.html) | | Ecto | [Ecto](https://hexdocs.pm/ecto/Ecto.html) | | Hex | [Hex](https://hex.pm/) | +| Nerves | [Nerves](https://nerves-project.org/) | diff --git a/plugins/mix/_mix b/plugins/mix/_mix index ecbe7e2d3..61fa1cf25 100644 --- a/plugins/mix/_mix +++ b/plugins/mix/_mix @@ -31,6 +31,9 @@ _1st_arguments=( 'ecto.migrations:Displays the up / down migration status' 'ecto.rollback:Reverts applied migrations' 'escript.build:Builds an escript for the project' + 'firmware:Nerves - Build a firmware image for the selected target platform' + 'firmware.burn:Nerves - Writes the generated firmware image to an attached SDCard or file' + 'firmware.image:Nerves - Create a firmware image file that can be copied byte-for-byte' 'help:Print help information for tasks' 'hex:Print hex help information' 'hex.config:Read or update hex config' @@ -48,6 +51,11 @@ _1st_arguments=( 'local.phoenix:Updates Phoenix locally' 'local.phx:Updates the Phoenix project generator locally' 'local.rebar:Install rebar locally' + 'nerves.artifact:Create an artifact for a specified Nerves package' + 'nerves.artifact.get:Nerves get artifacts' + 'nerves.info:Prints Nerves system information' + 'nerves.new:Create a new Nerves application' + 'nerves.release.init:Prepare a new Nerves project for use with releases' 'new:Create a new Elixir project' 'phoenix.digest:Digests and compress static files' 'phoenix.gen.channel:Generates a Phoenix channel' -- cgit v1.2.3-70-g09d2