summaryrefslogtreecommitdiff
path: root/priv/shell-completion
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-04-03 15:09:28 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-04-03 15:09:28 -0400
commit9c234dddeb964ee2fa6ec15268814aed8d446afd (patch)
treeefe792f097c3c74380ba0b0b6cab635fc2d2d23a /priv/shell-completion
parent9753617471e560dbf45b3dd1f2475155a10006a8 (diff)
parent3b56f3cc43f7fbc5eef2da9ea6b1ef7b0363382e (diff)
Merge pull request #312 from tsloughter/zsh_list_deps
update the dir used for upgrade deps to the new path under _build
Diffstat (limited to 'priv/shell-completion')
-rw-r--r--priv/shell-completion/zsh/_rebar34
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/shell-completion/zsh/_rebar3 b/priv/shell-completion/zsh/_rebar3
index 4566eda..347451b 100644
--- a/priv/shell-completion/zsh/_rebar3
+++ b/priv/shell-completion/zsh/_rebar3
@@ -208,8 +208,8 @@ _rebar3_tasks() {
(( $+functions[_rebar3_list_deps] )) ||
_rebar3_list_deps() {
local -a cmd packages deps_long
- deps_long=($PWD/deps/*(/))
- packages=( ${${deps_long#$PWD/deps/}%-*-*} )
+ deps_long=($PWD/_build/default/lib/*(/))
+ packages=( ${${deps_long#$PWD/_build/default/lib/}%-*-*} )
compadd "$@" -a packages
}