public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeremy Olexa" <darkside@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-bashcomp:master commit in: /
Date: Tue, 24 Apr 2012 16:10:36 +0000 (UTC)	[thread overview]
Message-ID: <1335283750.8d7b628117fe61121d952dd6be2e319ab968e720.darkside@gentoo> (raw)

commit:     8d7b628117fe61121d952dd6be2e319ab968e720
Author:     Jacek Sowiński <mruwek.gentoo <AT> vcf <DOT> pl>
AuthorDate: Tue Apr 24 13:36:03 2012 +0000
Commit:     Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 16:09:10 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bashcomp.git;a=commit;h=8d7b6281

Proper calling of _pkgname() in `equery list`

---
 gentoo |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gentoo b/gentoo
index f4e0ee6..a0097f2 100644
--- a/gentoo
+++ b/gentoo
@@ -1191,18 +1191,18 @@ _equery()
         case "${cur}" in
             -*)
             COMPREPLY=($(compgen -W "-h --help -d --duplicates -b
-                --missing-binpkgs -f --full-regex -m --mask-reason -I
+                --binpkgs-missing -f --full-regex -m --mask-reason -I
                 --exclude-installed -o --overlay-tree -p --portage-tree -F
                 --format" -- $cur))
             ;;
             *)
                         case "${prev}" in
-                            -i|--installed)
-                                _pkgname -I $cur
+                            -p|--?(portage|overlay)-tree)
+                                _pkgname -A $cur
                                 ;;
                             *)
-                    # Complete on all package names.
-                    _pkgname -A $cur
+                    # Complete on installed package names by default.
+                    _pkgname -I $cur
                     ;;
                         esac
                         ;;



             reply	other threads:[~2012-04-24 16:11 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24 16:10 Jeremy Olexa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25  7:54 [gentoo-commits] proj/gentoo-bashcomp:master commit in: / Arthur Zamarin
2024-05-11  3:13 Sam James
2018-03-02 18:06 Michał Górny
2014-08-31 21:19 ` Michał Górny
2016-03-16 11:55 Patrice Clement
2016-01-14 13:19 Patrice Clement
2016-01-14 13:19 Patrice Clement
2015-10-10 20:18 Patrice Clement
2014-08-31 21:19 Michał Górny
2018-03-02 18:06 ` Michał Górny
2013-08-12 16:43 Ryan Hill
2013-08-12 16:43 Ryan Hill
2013-08-04 19:21 Ryan Hill
2013-08-04 19:21 Ryan Hill
2013-07-30  1:36 Ryan Hill
2012-11-03  5:51 Ryan Hill
2012-10-24  4:01 Ryan Hill
2012-10-24  3:42 Ryan Hill
2012-10-24  3:42 Ryan Hill
2012-10-22  3:37 Ryan Hill
2012-10-22  0:51 Ryan Hill
2012-10-21  9:57 Ryan Hill
2012-10-11  5:01 Ryan Hill
2012-10-10  2:43 Ryan Hill
2012-10-10  2:43 Ryan Hill
2012-10-10  2:43 Ryan Hill
2012-05-06 20:35 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-04-24 16:10 Jeremy Olexa
2012-02-15  2:16 Christian Ruppert

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=1335283750.8d7b628117fe61121d952dd6be2e319ab968e720.darkside@gentoo \
    --to=darkside@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