aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-07-20 17:07:36 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-20 18:37:23 +0300
commit5e8df5bb44e4105e5560ba5106cd1fe5cf3598ff (patch)
tree5406b1c4d1ede7871d58d82df47333546ed52a28
parentbash completion: support Closes tags with resolution (diff)
downloadpkgdev-5e8df5bb44e4105e5560ba5106cd1fe5cf3598ff.tar.gz
pkgdev-5e8df5bb44e4105e5560ba5106cd1fe5cf3598ff.tar.bz2
pkgdev-5e8df5bb44e4105e5560ba5106cd1fe5cf3598ff.zip
bash completion: replace deprecated _init_completion
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Closes: https://github.com/pkgcore/pkgdev/pull/190 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--data/share/bash-completion/completions/pkgdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/share/bash-completion/completions/pkgdev b/data/share/bash-completion/completions/pkgdev
index 3631d64..4333612 100644
--- a/data/share/bash-completion/completions/pkgdev
+++ b/data/share/bash-completion/completions/pkgdev
@@ -4,7 +4,7 @@ source "/usr/share/bash-completion/helpers/gentoo-common.sh"
_pkgdev() {
local i=1 cmd cur prev words cword split
- _init_completion -n : || return
+ _comp_initialize -n : "$@" || return
local subcommands="
bugs