summaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
authorJacek Sowiński <mruwek.gentoo@vcf.pl>2012-04-22 02:16:41 +0200
committerJeremy Olexa <darkside@gentoo.org>2012-04-24 11:09:09 -0500
commitf6587e2e7793707a5a93a17187a98c78f9817925 (patch)
tree6af62b600f686a20af82a94f45cfc0556af63906 /gentoo
parentUpdate equery module list drop 'glsa' and 'stats' add 'has' and 'keywords' (diff)
downloadgentoo-bashcomp-f6587e2e7793707a5a93a17187a98c78f9817925.tar.gz
gentoo-bashcomp-f6587e2e7793707a5a93a17187a98c78f9817925.tar.bz2
gentoo-bashcomp-f6587e2e7793707a5a93a17187a98c78f9817925.zip
Completion for `equery has` options
--HG-- extra : source : 61ccc1fd1399c57af02ffc5489c55261c043d418
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo6
1 files changed, 5 insertions, 1 deletions
diff --git a/gentoo b/gentoo
index 73b1c5d..06da8b8 100644
--- a/gentoo
+++ b/gentoo
@@ -1118,7 +1118,7 @@ _equery()
;;
esac
;;
- a|has|y|keywords)
+ y|keywords)
# These commands have not been implemented in 'equery' yet ...
echo -n "# Not implemented! "
;;
@@ -1168,6 +1168,10 @@ _equery()
esac
fi
;;
+ a|has)
+ COMPREPLY=($(compgen -W "-h --help -I --exclude-installed -o \
+ --overlay-tree -p --portage-tree -F --format" -- $cur))
+ ;;
l?(ist))
# Only complete if the previous entry on the command line is not
# a package name.