Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258464 Details for
Bug 350179
app-shells/gentoo-bashcomp: completion for 'equery uses' and 'equery which' does not work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes completion for equery 'uses' and 'which' modules
equery_uses-which.patch (text/plain), 1.49 KB, created by
Jacek Sowiński
on 2010-12-30 20:19:25 UTC
(
hide
)
Description:
Fixes completion for equery 'uses' and 'which' modules
Filename:
MIME Type:
Creator:
Jacek Sowiński
Created:
2010-12-30 20:19:25 UTC
Size:
1.49 KB
patch
obsolete
>diff -r 345380c97f21 gentoo.bash-completion >--- a/gentoo.104 Dec 30 21:02:36 2010 +0100 >+++ b/gentoo.104 Dec 30 21:12:43 2010 +0100 >@@ -1200,13 +1200,34 @@ > COMPREPLY=($(builtin cd ${portdir}/metadata/cache; compgen -W "$(compgen -G '*')" -- $cur)) > fi > ;; >- @(u?(ses)|w?(hich))) >+ u?(ses)) > # Only complete if the previous entry on the command line is not > # a package name. >- if [[ ${prev} == ${mode} ]]; then >- # Complete on all package names. >- _pkgname -A $cur >- COMPREPLY=($(compgen -W "${COMPREPLY[@]} --help" -- ${cur})) >+ if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then >+ case $cur in >+ -*) >+ COMPREPLY=($(compgen -W "-h --help -a --all" -- $cur)) >+ ;; >+ *) >+ # Complete on all package names. >+ _pkgname -A $cur >+ ;; >+ esac >+ fi >+ ;; >+ w?(hich)) >+ # Only complete if the previous entry on the command line is not >+ # a package name. >+ if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then >+ case $cur in >+ -*) >+ COMPREPLY=($(compgen -W "-h --help -m --include-masked" -- $cur)) >+ ;; >+ *) >+ # Complete on all package names. >+ _pkgname -A $cur >+ ;; >+ esac > fi > ;; > g|depgraph)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 350179
:
258464
|
309915