Summary: | zsh-completion for eselect | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | David Durrleman <dualmoo> |
Component: | eselect | Assignee: | Gentoo eselect Team <eselect> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | baptiste.daroussin, usata |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
a zsh completion function for eselect
a better zsh completion function for eselect Version without sed |
Description
David Durrleman
2007-03-18 20:31:55 UTC
Created attachment 113708 [details]
a zsh completion function for eselect
Created attachment 113749 [details]
a better zsh completion function for eselect
I rewrote it because it was badly written. Here it is.
Mamoru, how does this script look to you? Would you want to include it in the main zsh-completion package? Or would you rather we package it with eselect? poke The code is not good because, it doesn't work at least on gentoo/freebsd because of the sed command, I'll try to remove sed and use a pure zsh way to do the job. Anyway, I think this should be incorporated in zsh-completion, because zsh-completion already provides the completion for most of the gentoo tools. Created attachment 134650 [details]
Version without sed
Here is a new version based on David's one which avoid the use of sed.
Also remove the french header :).
please test it (I can only test on gentoo/freebsd)
In zsh completion function, it is better to use built-in function each time it is possible (sed for example is not always portable)
Added with 20080110 |