summaryrefslogtreecommitdiff
path: root/priv/shell-completion/bash
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2015-09-03 01:41:13 -0700
committeralisdair sullivan <alisdairsullivan@yahoo.ca>2015-09-07 11:14:03 -0700
commit04da2ffd5e65895ff0beb6f8f3ffd0deb95328de (patch)
tree043d47930c7df324416e358b06d61054517eb121 /priv/shell-completion/bash
parent7e32efda63bbf3598eb1860933a10e19eb95653f (diff)
shell completions for `rebar3 path'
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