Created attachment 321336 [details, diff] Patch with suggested enhancements for zsh-5.0.0.ebuild It would be nice if app-shells/zsh would (optionally) install data for run-help system wide, and if the user could skip installation of completion functions unneeded for his system (e.g. AIX, Redhat, openSUSE etc) because it costs unnecessary booting time and memory. The attached patch (taken from the mv overlay) for the ebuild provides both: With USE=run-help the run-help data is created (it is a USE-flag, because it needs additional dependencies and maybe has to be masked on some architectures: It is very fragile, and I can only test on x86 and amd64). The USE=completion_* flags decide which completions are installed (note that the functionality cannot be reasonably provided by INSTALL_MASK, because the $fpath default is calculated at build-time of zsh). If the names of the USE-flags are kept, it may be reasonable to add USE_EXPAND="COMPLETEION" to the profile's make.defaults so that the user can specify e.g. COMPLETION="AIX openSUSE" in his /etc/portage/make.conf if he wants. (This is already added in the mv overlay).
Upstream added run-help support for >=5.0.3 so it's available in the tree in 5.0.4. I'm not interested in adding use expands to support a more granular completion installation (use INSTALL_MASK if you need this) so closing this as fixed.