From 8954617b908465579a388264270710504646dae8 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 16 Mar 2024 20:37:20 +0100 Subject: [PATCH] Bug: completion pkgbuilder infos --- completion/bash/pkgbuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/bash/pkgbuilder b/completion/bash/pkgbuilder index a29cc07..fa9c5b2 100644 --- a/completion/bash/pkgbuilder +++ b/completion/bash/pkgbuilder @@ -5,7 +5,7 @@ _pkgbuilder() { local cur prev words cword args _init_completion || return - local -r cmdargs="list info create build bump checkupdate update pushtoaur checkupdateall updateall" + local -r cmdargs="list infos create build bump checkupdate update pushtoaur checkupdateall updateall" local -r cnfargs="--help --cnf --notify --nopush --dry-run --dbg" #local cnffile=/etc/pkgbuilder/config local pkgdir="/etc/pkgbuilder/packages" @@ -41,7 +41,7 @@ _pkgbuilder() { COMPREPLY=($(compgen -W "${MDLLIST}" -- "${COMP_WORDS[COMP_CWORD]}")) return ;; - info | build | bump | checkupdate | update | pushtoaur) + infos | build | bump | checkupdate | update | pushtoaur) local -r PKGLIST=$(\ls ${pkgdir}) # shellcheck disable=SC2207 COMPREPLY=($(compgen -W "${PKGLIST}" -- "${COMP_WORDS[COMP_CWORD]}"))