summaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo10
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
;;