Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75384

Summary: [bash-completion] Optional RDEPEND on zsh
Product: Gentoo Linux Reporter: Tom Martin (RETIRED) <slarti>
Component: New packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.zsh.org/mla/workers/2003/msg00046.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Martin (RETIRED) gentoo-dev 2004-12-22 16:43:15 UTC
The bashcompinit function has been installed with zsh for just under a year. I think it would be worthwile (in spite of what Ciaran says) to use a || RDEPEND on zsh in bash-completion, and to provide an "if has_version ; then ; einfo ; fi" block for it in the pkg_postinst().

No version needs to be specified in the dependency; all zsh versions in the tree include bashcompinit.

The einfo could look something like this:

"If you are interested in using the provided bash completion functions with zsh, valuable tips on the effective use of bashcompinit are available:

http://www.zsh.org/mla/workers/2003/msg00046.html
http://zshwiki.org/ZshSwitchingTo"

Thanks.
Comment 1 Ciaran McCreesh 2004-12-22 17:00:30 UTC
I didn't say it was a bad idea, I said having a USE flag for it would be a bad idea.
Comment 2 Tom Martin (RETIRED) gentoo-dev 2004-12-25 04:42:51 UTC
Thanks Aaron.