diff options
author | Zach Whitten <zwhitten+github@gmail.com> | 2018-10-03 14:10:40 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-10-03 20:10:40 +0200 |
commit | 5ce96c3f77347e3c5bb60a86fb72b9c2333e34c3 (patch) | |
tree | bca8aa12e529e9b34f236f4e3eb6af0c6adbd9a5 | |
parent | dfe7d6eca119ac58be04a2ef1bf142c3e78b6c1a (diff) | |
download | zsh-5ce96c3f77347e3c5bb60a86fb72b9c2333e34c3.tar.gz zsh-5ce96c3f77347e3c5bb60a86fb72b9c2333e34c3.tar.bz2 zsh-5ce96c3f77347e3c5bb60a86fb72b9c2333e34c3.zip |
mix: add Nerves tasks to completion (#7180)
-rw-r--r-- | plugins/mix/README.md | 1 | ||||
-rw-r--r-- | plugins/mix/_mix | 8 |
2 files changed, 9 insertions, 0 deletions
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' |