Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134650 Details for
Bug 171381
zsh-completion for eselect
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Version without sed
_eselect (text/plain), 1.20 KB, created by
Bapt
on 2007-10-29 16:17:55 UTC
(
hide
)
Description:
Version without sed
Filename:
MIME Type:
Creator:
Bapt
Created:
2007-10-29 16:17:55 UTC
Size:
1.20 KB
patch
obsolete
>#compdef eselect >#Author: David Durrleman >#Contributor : Baptiste Daroussin <baptiste.daroussin@gmail.com> > >_eselect () { > local globopts sedcmd modnames modopts > > globopts=( > "--no-colour[Disable coloured output]" \ > "--no-color[Disable coloured output]" > ) > modnames=(${${${(M)${(f)"$(eselect --no-color list-modules)"}## *}// */}// /}) > > 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 > _arguments -s \ > "*:portage:_values 'eselect modules' \$modnames[@]" && return 0 > elif (( $modnames[(I)$words[2]] )); then > modopts=(${${${(M)${(f)"$(eselect --no-color $words[2] usage)"}## *}// */}// /}) > _arguments -s \ > "*:portage:_values 'eselect $words[2] options' \$modopts[@]" && return 0 > fi > elif ((CURRENT == 4)); then > if (( $modnames[(I)$words[3]] )); then > modopts=(${${${(M)${(f)"$(eselect --no-color $words[3] usage)"}## *}// */}// /}) > _arguments -s \ > "*:portage:_values 'eselect $words[3] options' \$modopts[@]" && return 0 > fi > fi >} > >_eselect "$@"
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 Raw
Actions:
View
Attachments on
bug 171381
:
113708
|
113749
| 134650