summaryrefslogtreecommitdiff
path: root/priv/shell-completion/bash
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/bash
parent77e5e6b8f3028626afb4a687c1b02709a2dbd9b6 (diff)
parent04da2ffd5e65895ff0beb6f8f3ffd0deb95328de (diff)
Merge pull request #761 from talentdeficit/rebar_path
`rebar3 path' provider
Diffstat (limited to 'priv/shell-completion/bash')
-rw-r--r--priv/shell-completion/bash/rebar312
1 files changed, 12 insertions, 0 deletions
diff --git a/priv/shell-completion/bash/rebar3 b/priv/shell-completion/bash/rebar3
index 40009b7..511d537 100644
--- a/priv/shell-completion/bash/rebar3
+++ b/priv/shell-completion/bash/rebar3
@@ -23,6 +23,7 @@ _rebar3()
eunit \
help \
new \
+ path \
pkgs \
plugins \
release \
@@ -98,6 +99,17 @@ _rebar3()
elif [[ ${prev} == new ]] ; then
sopts="-f"
lopts="--force"
+ elif [[ ${prev} == path ]] ; then
+ sopts="-s"
+ lopts="--app \
+ --base \
+ --bin \
+ --ebin \
+ --lib \
+ --priv \
+ --separator \
+ --src \
+ --rel"
elif [[ ${prev} == pkgs ]] ; then
:
elif [[ ${prev} == plugins ]] ; then