Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion/bash/devtools.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-09-11 22:17:09 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:12 +0200
commit3d3176beb6eb0319809be386cd903fa03bdabc73 (patch)
treeb25c4c6612f71cd07a5773e04bc466fcf09b565a /contrib/completion/bash/devtools.in
parent6aa42e1f6e913fd8706bd809f784f6c492762a20 (diff)
pkgrepo: rename archco as a general purpose tool for packaging repos
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib/completion/bash/devtools.in')
-rw-r--r--contrib/completion/bash/devtools.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index 8183395..a353b99 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -14,22 +14,22 @@ _devtools_compgen() {
done
}
-_archco_pkg() {
+_pkgrepo_pkg() {
_devtools_compgen "$(
command pacman "-$1"
)"
}
-_archco() {
- local cur prev
+_pkgrepo() {
+ local cur prev
COMPREPLY=()
cur=$(_get_cword)
prev=${COMP_WORDS[COMP_CWORD-1]}
- _archco_pkg Slq
+ _pkgrepo_pkg Slq
true
} &&
-complete -F _archco archco
+complete -F _pkgrepo pkgrepo
_makechrootpkg() {
local cur