Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75384 - [bash-completion] Optional RDEPEND on zsh
Summary: [bash-completion] Optional RDEPEND on zsh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Shell Tools project
URL: http://www.zsh.org/mla/workers/2003/m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 16:43 UTC by Tom Martin (RETIRED)
Modified: 2004-12-25 04:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.