* [gentoo-commits] gentoo-x86 commit in app-shells/gentoo-zsh-completions/files: zsh-completion-20130808-eselect.patch zsh-completion-eix-20091203.patch
@ 2014-11-21 9:48 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2014-11-21 9:48 UTC (permalink / raw
To: gentoo-commits
radhermit 14/11/21 09:48:23
Added: zsh-completion-20130808-eselect.patch
zsh-completion-eix-20091203.patch
Log:
Rename zsh-completion to gentoo-zsh-completions.
(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 app-shells/gentoo-zsh-completions/files/zsh-completion-20130808-eselect.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/gentoo-zsh-completions/files/zsh-completion-20130808-eselect.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/gentoo-zsh-completions/files/zsh-completion-20130808-eselect.patch?rev=1.1&content-type=text/plain
Index: zsh-completion-20130808-eselect.patch
===================================================================
Author: Vikraman Choudhury <vikraman@gentoo.org>
Date: Fri Jan 24 04:17:16 2014 +0530
Use --{color,colour} options
--no-{color,colour} is deprecated and removed in eselect 1.4.
Fix command for listing eselect modules
--- a/_eselect
+++ b/_eselect
@@ -15,7 +15,7 @@ _eselect_env () {
_eselect_binutils () {
local binutilslist
if (( $words[(I)(set)] )); then
- binutilslist=(${${${(M)${(f)"$(eselect --no-color binutils list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ binutilslist=(${${${(M)${(f)"$(eselect --color=no binutils list)"}## *}// \**/}//( \[*\] | \[*\] )/})
_values "available binutils version" $binutilslist[@] && return 0
fi
_values "binutils options" \
@@ -30,7 +30,7 @@ _eselect_binutils () {
_eselect_kernel () {
local kernellist
if (( $words[(I)(set)] )); then
- kernellist=(${${${(M)${(f)"$(eselect --no-color kernel list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ kernellist=(${${${(M)${(f)"$(eselect --color=no kernel list)"}## *}// \**/}//( \[*\] | \[*\] )/})
_values "available kernel version" $kernellist[@] && return 0
fi
_values "kenrel options" \
@@ -44,7 +44,7 @@ _eselect_kernel () {
_eselect_ctags () {
local ctagslist
if (( $words[(I)(set)] )); then
- ctagslist=(${${${(M)${(f)"$(eselect --no-color ctags list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ ctagslist=(${${${(M)${(f)"$(eselect --color=no ctags list)"}## *}// \**/}//( \[*\] | \[*\] )/})
_values "available ctags version" $ctagslist[@] && return 0
fi
_values "ctags options" \
@@ -59,7 +59,7 @@ _eselect_ctags () {
_eselect_profile () {
local profilelist
if (( $words[(I)(set)] )); then
- profilelist=(${${${(M)${(f)"$(eselect --no-color profile list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ profilelist=(${${${(M)${(f)"$(eselect --color=no profile list)"}## *}// \**/}//( \[*\] | \[*\] )/})
_values -w "available profiles" $profilelist[@] \
"--force[Forcibly set the symlink]" && return 0
fi
@@ -74,10 +74,10 @@ _eselect_profile () {
_eselect_fontconfig () {
local fclistenabled fclistdisabled
if (( $words[(I)(enable)] )); then
- fclistdisabled=(${${${${(M)${(f)"$(eselect --no-color fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/})
+ fclistdisabled=(${${${${(M)${(f)"$(eselect --color=no 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 --color=no fontconfig list)"}## *}#*\*}// \**/}//( \[*\] | \[*\] )/})
_values -w ".conf to disable" $fclistenabled[@] && return 0
fi
_values "fontconfig options" \
@@ -91,7 +91,7 @@ _eselect_fontconfig () {
_eselect_opengl () {
local opengllist
if (( $words[(I)(set)] )); then
- opengllist=(${${${(M)${(f)"$(eselect --no-color opengl list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ opengllist=(${${${(M)${(f)"$(eselect --color=no 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_opengl () {
_eselect_vi () {
local vilist
if (( $words[(I)(set)] )); then
- vilist=(${${${(M)${(f)"$(eselect --no-color vi list)"}## *}// \**/}//( \[*\] | \[*\] )/})
+ vilist=(${${${(M)${(f)"$(eselect --color=no 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
@@ -127,35 +127,35 @@ _eselect () {
local globopts sedcmd modnames modopts
globopts=(
- "--no-colour[Disable coloured output]" \
- "--no-color[Disable coloured output]"
+ "--colour=no[Disable coloured output]" \
+ "--color=no[Disable coloured output]"
)
- modnames=(${${${(M)${(f)"$(eselect --no-color list-modules)"}## *}// */}// /})
+ modnames=(${${${(M)${(f)"$(eselect --color=no modules list)"}## *}// */}// /})
if ((CURRENT == 2)); then
_arguments -s \
"$globopts[@]" \
"*:portage:_values 'eselect modules' \$modnames[@]" && return 0
elif ((CURRENT == 3)); then
- if [[ $words[2] == --no-colour || $words[2] == --no-color ]]; then
+ if [[ $words[2] == --colour=no || $words[2] == --color=no ]]; then
_arguments -s \
"*:portage:_values 'eselect modules' \$modnames[@]" && return 0
elif (( $modnames[(I)$words[2]] )); then
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 --color=no $words[2] usage)"}## *}// */}// /})
_arguments -s \
"*:portage:_values 'eselect $words[2] options' \$modopts[@]" && return 0
fi
fi
elif ((CURRENT >= 4)); then
- if (( $words[(I)(--no-color|--no-colour)] )); then
+ if (( $words[(I)(--color=no|--colour=no)] )); then
if (( $modnames[(I)$words[3]] )); then
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 --color=no $words[3] usage)"}## *}// */}// /}// *})
_arguments -s \
"*:portage:_values 'eselect $words[3] options' \$modopts[@]" && return 0
fi
1.1 app-shells/gentoo-zsh-completions/files/zsh-completion-eix-20091203.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/gentoo-zsh-completions/files/zsh-completion-eix-20091203.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/gentoo-zsh-completions/files/zsh-completion-eix-20091203.patch?rev=1.1&content-type=text/plain
Index: zsh-completion-eix-20091203.patch
===================================================================
diff -Naur zsh-completion-20080310.old/_eix zsh-completion-20080310/_eix
--- zsh-completion-20080310.old/_eix 2008-03-10 14:25:10.000000000 +0100
+++ zsh-completion-20080310/_eix 2009-12-04 01:15:05.000000000 +0100
@@ -19,6 +19,14 @@
'--dump[dump variables to stdout]'
'--dump-defaults[dump default values of variables]'
'--print[print the expanded value of a variable]'
+ '--print-all-useflags[print all IUSE words used in some version]'
+ '--print-all-keywords[print all KEYWORDS used in some version]'
+ '--print-all-slots[print all SLOT strings used in some version]'
+ '--print-all-provides[print all PROVIDE strings used in some package]'
+ '--print-all-licenses[print all LICENSE strings used in some package]'
+ '--print-world-sets[print the world sets]'
+ '--print-overlay-path[print the path of specified overlay]'
+ '--print-overlay-label[print label of specified overlay]'
)
global_special=(
@@ -55,6 +63,12 @@
'--testing[Match packages with a testing or stable version]'
'--non-masked[Match packages with a non-masked version]'
'--system[Match system packages]'
+ '--installed-unstable[Match packages with a non-stable installed version]'
+ '--installed-testing[Match packages with a testing installed version]'
+ '--installed-masked[Match packages with a masked installed version]'
+ '--world[Match world packages]'
+ '--world-all[Match packages of world or of a world set]'
+ '--world-set[Match packages of a world set]'
{'(--overlay)-O','(-O)--overlay'}'[Match packages from overlays]'
'--in-overlay[OVERLAY Match packages from OVERLAY]'
'--only-in-overlay[OVERLAY Match packages only in OVERLAY]'
@@ -62,8 +76,19 @@
'--installed-from-overlay[OVERLAY Packages installed from OVERLAY]'
'--installed-in-some-overlay[Packages with an installed version provided by some overlay]'
'--installed-in-overlay[OVERLAY Packages with an installed version provided from OVERLAY]'
- '--fetch[Match packages with a fetch restriction]'
- '--mirror[Match packages with a mirror restriction]'
+ '--restrict-fetch[Match packages with a fetch restriction]'
+ '--restrict-mirror[Match packages with a mirror restriction]'
+ '--restrict-primaryuri[Match packages with RESTRICT=primaryuri]'
+ '--restrict-binchecks[Match packages with RESTRICT=binchecks]'
+ '--restrict-strip[Match packages with RESTRICT=strip]'
+ '--restrict-test[Match packages with RESTRICT=test]'
+ '--restrict-userpriv[Match packages with RESTRICT=userpriv]'
+ '--restrict-installsources[Match packages with RESTRICT=installsources]'
+ '--restrict-bindist[Match packages with RESTRICT=bindist]'
+ '--properties-interactive[Match packages with PROPERTIES=interactive]'
+ '--properties-live[Match packages with PROPERTIES=live]'
+ '--properties-virtual[ Match packages with PROPERTIES=virtual]'
+ '--properties-set[Match packages with PROPERTIES=set]'
{'(--test-obsolete)-T','(-T)--test-obsolete'}'[Match packages with obsolete entries in /etc/portage/package.*]'
{'(--not)-!','(-!)--not'}'[(toggle) Invert the expression]'
{'(--pipe)-\\|','(-\\|)--pipe'}'[Use input from pipe of emerge -pv]'
@@ -85,6 +110,9 @@
local_type_of_pattern=(
{'(--regex)-r','(-r)--regex'}'[Pattern is a regexp (default)]'
{'(--exact)-e','(-e)--exact'}'[Pattern is the exact string]'
+ {'(--substring)-z','(-z)--substring'}'[Pattern is a substring]'
+ {'(--begin)-b','(-b)--begin'}'[Pattern is the beginning of the string]'
+ '--end[Pattern is the end of the string]'
{'(--pattern)-p','(-p)--pattern'}'[Pattern is a wildcards-pattern]'
{'(--fuzzy)-f','(-f)--fuzzy'}'[Use fuzzy-search with a max. levenshtein-distance m (default: 2)]'
)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-21 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 9:48 [gentoo-commits] gentoo-x86 commit in app-shells/gentoo-zsh-completions/files: zsh-completion-20130808-eselect.patch zsh-completion-eix-20091203.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox