The following completion files refer to static paths that don't respect EPREFIX: - browser-config - emerge - revdep-rebuild - webapp-config In addition, the following completion files call $(_portdir) which uses static paths to find the portage dir (and fails to find it in a prefix and so returns a blank string) - ekeyword - emerge - equery - euse Prefixing the raw paths in usr/share/bash-completion/helpers/gentoo-common.sh fixes the majority of the issues. I notice that the 'source' lines that include other files use the correct (static) prefixed paths. Could a similar technique be used to fix the remaining paths? Just adding $EPREFIX to the paths might not work since the files may be sourced before that variable is set (or EPREFIX might not even be set in the environment. It's not set in startprefix).
How about 20190211?