Bug 75384 - [bash-completion] Optional RDEPEND on zsh
Bug#: 75384 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: shell-tools@gentoo.org Reported By: slarti@gentoo.org
Component: Ebuilds
URL:  http://www.zsh.org/mla/workers/2003/msg00046.html
Summary: [bash-completion] Optional RDEPEND on zsh
Keywords:  
Status Whiteboard: 
Opened: 2004-12-22 16:43 0000
Description:   Opened: 2004-12-22 16:43 0000
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 From Ciaran McCreesh 2004-12-22 17:00:30 0000 -------
I didn't say it was a bad idea, I said having a USE flag for it would be a bad
idea.

------- Comment #2 From Tom Martin (RETIRED) 2004-12-25 04:42:51 0000 -------
Thanks Aaron.