index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | shell/bash-completion | 8 |
diff --git a/shell/bash-completion b/shell/bash-completion index 3c7fc06..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 ;; '') @@ -73,4 +73,4 @@ _asp() { fi } -complete -F _asp asp +complete -F _asp asp32 |