summaryrefslogtreecommitdiff
path: root/priv/shell-completion/zsh/_rebar3
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-09-10 18:02:22 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-09-10 18:02:22 -0400
commite5b8a97c5f1bf4968cfd545945fb37ab7386cab4 (patch)
treed2f76cc9192ba143f0f8ebda72657c6a25e89037 /priv/shell-completion/zsh/_rebar3
parentebb919f228ab694ddd6c114fb6dc66989e7d8707 (diff)
parent9fb81989267b01a954108c4b9528e52a595aa199 (diff)
Merge pull request #784 from tsloughter/extract
add 'local install' and 'local upgrade'
Diffstat (limited to 'priv/shell-completion/zsh/_rebar3')
-rw-r--r--priv/shell-completion/zsh/_rebar316
1 files changed, 11 insertions, 5 deletions
diff --git a/priv/shell-completion/zsh/_rebar3 b/priv/shell-completion/zsh/_rebar3
index 8855bdf..c04791b 100644
--- a/priv/shell-completion/zsh/_rebar3
+++ b/priv/shell-completion/zsh/_rebar3
@@ -111,11 +111,11 @@ _rebar3 () {
(path)
_arguments \
'(--app)--app[Comma seperated list of applications to return paths for.]:apps' \
- '(--base)--base[Return the `base' path of the current profile.]' \
- '(--bin)--bin[Return the `bin' path of the current profile.]' \
- '(--ebin)--ebin[Return all `ebin' paths of the current profile's applications.]' \
- '(--lib)--lib[Return the `lib' path of the current profile.]' \
- '(--priv)--priv[Return the `priv' path of the current profile's applications.]' \
+ '(--base)--base[Return the `base` path of the current profile.]' \
+ '(--bin)--bin[Return the `bin` path of the current profile.]' \
+ '(--ebin)--ebin[Return all `ebin` paths of the current profile`s applications.]' \
+ '(--lib)--lib[Return the `lib` path of the current profile.]' \
+ '(--priv)--priv[Return the `priv` path of the current profile`s applications.]' \
'(-s --separator)--separator[In case of multiple return paths, the separator character to use to join them.]' \
&& ret=0
;;
@@ -212,6 +212,11 @@ _rebar3 () {
'*: :_rebar3_list_deps' \
&& ret=0
;;
+ (unstable)
+ _arguments \
+ '*: :(install upgrade)' \
+ && ret=0
+ ;;
(update)
_message 'rebar update' && ret=0
;;
@@ -254,6 +259,7 @@ _rebar3_tasks() {
'tar:Tar archive of release built of project.'
'tree:Print dependency tree.'
'unlock:Unlock dependencies.'
+ 'unstable:Namespace providing commands that are still in flux.'
'update:Update package index.'
'upgrade:Upgrade dependencies.'
'version:Print version for rebar and current Erlang.'