From 9971d586121a31c3a70a481ec2a316805f3b2ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20Sowi=C5=84ski?= Date: Sun, 22 Apr 2012 02:16:41 +0200 Subject: [PATCH 6/9] Completion for `equery has` options --HG-- extra : source : 61ccc1fd1399c57af02ffc5489c55261c043d418 --- gentoo | 6 +++++- 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. -- 1.7.3.4