Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365976 Details for
Bug 491430
app-shells/zsh-completion-20130808 uses deprecated eselect options
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Initial patch to silence warning spew
_eselect.patch (text/plain), 4.68 KB, created by
Holger Hoffstätte
on 2013-12-23 11:27:24 UTC
(
hide
)
Description:
Initial patch to silence warning spew
Filename:
MIME Type:
Creator:
Holger Hoffstätte
Created:
2013-12-23 11:27:24 UTC
Size:
4.68 KB
patch
obsolete
>--- _eselect.orig 2013-12-23 12:19:33.281765123 +0100 >+++ _eselect 2013-12-23 12:19:02.451262597 +0100 >@@ -15,7 +15,7 @@ > _eselect_binutils () { > local binutilslist > if (( $words[(I)(set)] )); then >- binutilslist=(${${${(M)${(f)"$(eselect --no-color binutils list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ binutilslist=(${${${(M)${(f)"$(eselect binutils list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values "available binutils version" $binutilslist[@] && return 0 > fi > _values "binutils options" \ >@@ -30,7 +30,7 @@ > _eselect_kernel () { > local kernellist > if (( $words[(I)(set)] )); then >- kernellist=(${${${(M)${(f)"$(eselect --no-color kernel list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ kernellist=(${${${(M)${(f)"$(eselect kernel list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values "available kernel version" $kernellist[@] && return 0 > fi > _values "kenrel options" \ >@@ -44,7 +44,7 @@ > _eselect_ctags () { > local ctagslist > if (( $words[(I)(set)] )); then >- ctagslist=(${${${(M)${(f)"$(eselect --no-color ctags list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ ctagslist=(${${${(M)${(f)"$(eselect ctags list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values "available ctags version" $ctagslist[@] && return 0 > fi > _values "ctags options" \ >@@ -59,7 +59,7 @@ > _eselect_profile () { > local profilelist > if (( $words[(I)(set)] )); then >- profilelist=(${${${(M)${(f)"$(eselect --no-color profile list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ profilelist=(${${${(M)${(f)"$(eselect profile list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values -w "available profiles" $profilelist[@] \ > "--force[Forcibly set the symlink]" && return 0 > fi >@@ -74,10 +74,10 @@ > _eselect_fontconfig () { > local fclistenabled fclistdisabled > if (( $words[(I)(enable)] )); then >- fclistdisabled=(${${${${(M)${(f)"$(eselect --no-color fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/}) >+ fclistdisabled=(${${${${(M)${(f)"$(eselect fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/}) > _values -w ".conf to enable" $fclistdisabled[@] && return 0 > elif (( $words[(I)(disable)] )); then >- fclistenabled=(${${${(M)${(M)${(f)"$(eselect --no-color fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/}) >+ fclistenabled=(${${${(M)${(M)${(f)"$(eselect fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/}) > _values -w ".conf to disable" $fclistenabled[@] && return 0 > fi > _values "fontconfig options" \ >@@ -91,7 +91,7 @@ > _eselect_opengl () { > local opengllist > if (( $words[(I)(set)] )); then >- opengllist=(${${${(M)${(f)"$(eselect --no-color opengl list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ opengllist=(${${${(M)${(f)"$(eselect opengl list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values -w "opengl implementations and options" $opengllist[@] \ > "--use-old[If an implementationis already set, use that one instead]" \ > "--prefix[Set the source prefix]:path:_files -/" \ >@@ -109,7 +109,7 @@ > _eselect_vi () { > local vilist > if (( $words[(I)(set)] )); then >- vilist=(${${${(M)${(f)"$(eselect --no-color vi list)"}## *}// \**/}//( \[*\] | \[*\] )/}) >+ vilist=(${${${(M)${(f)"$(eselect vi list)"}## *}// \**/}//( \[*\] | \[*\] )/}) > _values -w "vi implementation" $vilist[@] && return 0 > elif (( $words[(I)(update)] )); then > _values -w "option" "--if-unset[Do not override existing implementation]" && return 0 >@@ -130,7 +130,7 @@ > "--no-colour[Disable coloured output]" \ > "--no-color[Disable coloured output]" > ) >- modnames=(${${${(M)${(f)"$(eselect --no-color list-modules)"}## *}// */}// /}) >+ modnames=(${${${(M)${(f)"$(eselect modules list)"}## *}// */}// /}) > > if ((CURRENT == 2)); then > _arguments -s \ >@@ -144,7 +144,7 @@ > if [[ "$words[2]" == (env|binutils|kernel|ctags|profile|fontconfig|opengl|vi) ]]; then > _eselect_$words[2] "$@" > else >- modopts=(${${${(M)${(f)"$(eselect --no-color $words[2] usage)"}## *}// */}// /}) >+ modopts=(${${${(M)${(f)"$(eselect $words[2] usage)"}## *}// */}// /}) > _arguments -s \ > "*:portage:_values 'eselect $words[2] options' \$modopts[@]" && return 0 > fi >@@ -155,7 +155,7 @@ > if [[ "$words[3]" == (env|binutils|kernel|ctags|profile|fontconfig|opengl|vi) ]]; then > _eselect_$words[3] "$@" > else >- modopts=(${${${${(M)${(f)"$(eselect --no-color $words[3] usage)"}## *}// */}// /}// *}) >+ modopts=(${${${${(M)${(f)"$(eselect $words[3] usage)"}## *}// */}// /}// *}) > _arguments -s \ > "*:portage:_values 'eselect $words[3] options' \$modopts[@]" && return 0 > fi
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 491430
:
365976