summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Cafferata <erick@cafferata.me>2018-11-03 12:42:58 -0500
committerErick Cafferata <erick@cafferata.me>2018-11-08 06:43:52 -0500
commit0d977c473ebdde81c869cbae4e97b3671920e2bb (patch)
tree31ebde00bc2a9f1b12d968fb7cd65159cdd098d3
parentb4d09b4a2900c2de3efe6ad6970ab744dcf24437 (diff)
downloadasp32-0d977c473ebdde81c869cbae4e97b3671920e2bb.tar.xz
bash-completion: change to asp32(2/2)
-rw-r--r--shell/bash-completion6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/bash-completion b/shell/bash-completion
index b09b8ed..3eebbd3 100644
--- a/shell/bash-completion
+++ b/shell/bash-completion
@@ -40,11 +40,11 @@ _asp() {
word=${COMP_WORDS[i]}
if in_array "$word" ${verbs[ALL_PACKAGES]}; then
verb=$word
- comps=$(ASP_GIT_QUIET=1 \asp list-all | sed 's,.*/,,')
+ comps=$(ASP_GIT_QUIET=1 \asp32 list-all | sed 's,.*/,,')
break
elif in_array "$word" ${verbs[LOCAL_PACKAGES]}; then
verb=$word
- comps=$(ASP_GIT_QUIET=1 \asp list-local | sed 's,.*/,,')
+ comps=$(ASP_GIT_QUIET=1 \asp32 list-local | sed 's,.*/,,')
break
elif in_array "$word" ${verbs[PROTO]}; then
verb=$word
@@ -60,7 +60,7 @@ _asp() {
case $verb in
show)
if (( i < ${#COMP_WORDS[@]} - 2 )); then
- comps=$(ASP_GIT_QUIET=1 \asp ls-files "${COMP_WORDS[i+1]}" 2>/dev/null)
+ comps=$(ASP_GIT_QUIET=1 \asp32 ls-files "${COMP_WORDS[i+1]}" 2>/dev/null)
fi
;;
'')