commit:     ff5145b989e3a61fa3db462ff81049a28e409566
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 07:58:48 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 07:58:48 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=ff5145b9

bash-completion: fix subcommand complete

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 data/share/bash-completion/completions/pkgcheck | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/share/bash-completion/completions/pkgcheck 
b/data/share/bash-completion/completions/pkgcheck
index 972fc1e5..c6213cae 100644
--- a/data/share/bash-completion/completions/pkgcheck
+++ b/data/share/bash-completion/completions/pkgcheck
@@ -51,7 +51,7 @@ _pkgcheck() {
     done
 
     if (( i == COMP_CWORD )); then
-        COMPREPLY+=($(compgen -W "${subcommands}" -- "${cur}"))
+        COMPREPLY+=($(compgen -W "${subcommands[*]}" -- "${cur}"))
         return
     fi
 

Reply via email to