summaryrefslogtreecommitdiff
path: root/priv/shell-completion/zsh/_rebar3
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-06-21 08:48:16 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-06-21 08:48:16 -0400
commit4acd8e01510a6ff387dfae499c1d2e863945d3f7 (patch)
treeb921894485e21479358479460b53ee5763b2fef2 /priv/shell-completion/zsh/_rebar3
parent95cfb44e5af152e67f5051e45b497040fb04ebe1 (diff)
parent18e9def78660ebadda6c70a5dbe735658b1c28ce (diff)
Merge pull request #531 from tsloughter/new_commands
update readme and completions for new commands
Diffstat (limited to 'priv/shell-completion/zsh/_rebar3')
-rw-r--r--priv/shell-completion/zsh/_rebar38
1 files changed, 7 insertions, 1 deletions
diff --git a/priv/shell-completion/zsh/_rebar3 b/priv/shell-completion/zsh/_rebar3
index 5fcdd91..456e6c8 100644
--- a/priv/shell-completion/zsh/_rebar3
+++ b/priv/shell-completion/zsh/_rebar3
@@ -111,6 +111,11 @@ _rebar3 () {
(pkgs)
_message 'List available packages.' && ret=0
;;
+ (plugins)
+ _arguments \
+ '1:type:(list upgrade)' \
+ && ret=0
+ ;;
(release)
_arguments \
'(-n --relname)'{-n,--relname}'[Specify the name for the release that will be generated.]:relname' \
@@ -202,11 +207,12 @@ _rebar3_tasks() {
'help:Display a list of tasks or help for a given task or subtask.'
'new:Create new project from templates.'
'pkgs:List available packages.'
+ 'plugins:List or upgrade plugins.'
'release:Build release of project.'
'report:Provide a crash report to be sent to the rebar3 issues page.'
'shell:Run shell with project apps and deps in path.'
'tar:Tar archive of release built of project.'
- 'unlock:Unlock dependencies..'
+ 'unlock:Unlock dependencies.'
'update:Update package index.'
'upgrade:Upgrade dependencies.'
'version:Print version for rebar and current Erlang.'