summaryrefslogtreecommitdiff
path: root/priv/shell-completion/zsh
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-09-07 13:19:11 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-09-07 13:19:11 -0500
commitd7f2226d31f4708518c1ddb41f7666f9c1d0f151 (patch)
tree1ef34c11592cac77eac4ccfbd047bcb952642bef /priv/shell-completion/zsh
parent77e5e6b8f3028626afb4a687c1b02709a2dbd9b6 (diff)
parent04da2ffd5e65895ff0beb6f8f3ffd0deb95328de (diff)
Merge pull request #761 from talentdeficit/rebar_path
`rebar3 path' provider
Diffstat (limited to 'priv/shell-completion/zsh')
-rw-r--r--priv/shell-completion/zsh/_rebar311
1 files changed, 11 insertions, 0 deletions
diff --git a/priv/shell-completion/zsh/_rebar3 b/priv/shell-completion/zsh/_rebar3
index 04575bc..8855bdf 100644
--- a/priv/shell-completion/zsh/_rebar3
+++ b/priv/shell-completion/zsh/_rebar3
@@ -108,6 +108,17 @@ _rebar3 () {
'(-f --force)'{-f,--force}'[ overwrite existing files]' \
&& ret=0
;;
+ (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.]' \
+ '(-s --separator)--separator[In case of multiple return paths, the separator character to use to join them.]' \
+ && ret=0
+ ;;
(pkgs)
_message 'List available packages.' && ret=0
;;