From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/pkgcore:master commit in: data/share/bash-completion/completions/
Date: Sat, 5 Aug 2023 07:33:52 +0000 (UTC) [thread overview]
Message-ID: <1691220826.7b1f519bb1d6644198c18dc19da160a3fa351799.arthurzam@gentoo> (raw)
commit: 7b1f519bb1d6644198c18dc19da160a3fa351799
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 5 07:33:46 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 5 07:33:46 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=7b1f519b
bash-completion: --pkgset for pquery
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
data/share/bash-completion/completions/pquery | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/data/share/bash-completion/completions/pquery b/data/share/bash-completion/completions/pquery
index 6bc0cbdf0..eedb9a1bb 100644
--- a/data/share/bash-completion/completions/pquery
+++ b/data/share/bash-completion/completions/pquery
@@ -111,13 +111,22 @@ _pquery() {
COMPREPLY=()
;;
--has-use | --license | --revdep | --revdep-pkgs | --restrict-revdep | --restrict-revdep-pkgs | \
- -S | --description | --eapi | --owns | --owns-re | --environment | --pkgset | \
+ -S | --description | --eapi | --owns | --owns-re | --environment | \
--maintainer | --maintainer-name | --maintainer-email)
COMPREPLY=()
;;
--virtuals)
COMPREPLY=($(compgen -W "only disable" -- "${cur}"))
;;
+ --pkgset)
+ COMPREPLY=($(compgen -W "world system installed versioned-installed vuln" -- "${cur}"))
+ if [[ -d /etc/portage/sets/ ]]; then
+ pushd /etc/portage/sets/ >& /dev/null
+ local SETS=( * )
+ COMPREPLY+=($(compgen -W "${SETS[*]}" -- "${cur}" ))
+ popd >& /dev/null
+ fi
+ ;;
-r | --repo)
COMPREPLY=($(compgen -W "$(_parsereposconf -l)" -- "${cur}"))
COMPREPLY+=($(compgen -d -- "${cur}"))
next reply other threads:[~2023-08-05 7:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 7:33 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-04 19:32 [gentoo-commits] proj/pkgcore/pkgcore:master commit in: data/share/bash-completion/completions/ Arthur Zamarin
2024-08-25 18:48 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1691220826.7b1f519bb1d6644198c18dc19da160a3fa351799.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox