summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek SowiƄski <mruwek.gentoo@vcf.pl>2012-04-22 01:20:15 +0200
committerJeremy Olexa <darkside@gentoo.org>2012-04-24 11:09:09 -0500
commiteea21f58d292a12141b19fd5ce371cf93941ba7e (patch)
tree18f1b14422f816162ba45efd7c3a086b28f2966e
parentCompletion for `equery changes` 1. There is inconsitency in output of `equery... (diff)
downloadgentoo-bashcomp-eea21f58d292a12141b19fd5ce371cf93941ba7e.tar.gz
gentoo-bashcomp-eea21f58d292a12141b19fd5ce371cf93941ba7e.tar.bz2
gentoo-bashcomp-eea21f58d292a12141b19fd5ce371cf93941ba7e.zip
Update equery module list drop 'glsa' and 'stats' add 'has' and 'keywords'
--HG-- extra : source : e2d4bcca497f4d1cde9825e1b75db31df5234292
-rw-r--r--gentoo6
1 files changed, 3 insertions, 3 deletions
diff --git a/gentoo b/gentoo
index e30256d..73b1c5d 100644
--- a/gentoo
+++ b/gentoo
@@ -1099,7 +1099,7 @@ _equery()
if [[ $j -lt $COMP_CWORD ]]; then
j=$((j + 1))
case $i in
- @(belongs|ch@(anges|eck)|dep@(ends|graph)|files|glsa|list|meta|s@(ize|tats)|uses|which|hasuse|b|c|k|d|g|f|a|h|l|m|s|t|u|w))
+ @(belongs|ch@(anges|eck)|dep@(ends|graph)|files|has?(use)|keywords|list|meta|size|uses|which|b|c|k|d|g|f|a|h|y|l|m|s|u|w))
mode=$i
;;
esac
@@ -1114,11 +1114,11 @@ _equery()
COMPREPLY=($(compgen -W "-q --quiet -C --nocolor -h --help -V --version" -- $cur))
;;
*)
- COMPREPLY=($(compgen -W "belongs changes check depends depgraph files glsa hasuse list meta size stats uses which" -- $cur))
+ COMPREPLY=($(compgen -W "belongs changes check depends depgraph files has hasuse keywords list meta size uses which" -- $cur))
;;
esac
;;
- a|glsa|t|stats)
+ a|has|y|keywords)
# These commands have not been implemented in 'equery' yet ...
echo -n "# Not implemented! "
;;