BASH-COMPLETION-R1.ECLASS

Section: eclass-manpages (5)
Updated: Jun 2026
Index Return to Main Contents

NAME

bash-completion-r1.eclass - A few quick functions to install bash-completion files

DESCRIPTION

This eclass provides functions to install bash-completion files. For EAPI 9 or newer, use shell-completion.eclass instead.

SUPPORTED EAPIS

7 8

TRANSITIVELY PROVIDED ECLASSES

shell-completion

EXAMPLE

EAPI=8

src_configure() {
        econf \
                --with-bash-completion-dir="$(get_bashcompdir)"
}

src_install() {
        default

        newbashcomp contrib/${PN}.bash-completion ${PN}
}

MAINTAINERS

mgorny@gentoo.org

REPORTING BUGS

Please report bugs via https://bugs.gentoo.org/

FILES

bash-completion-r1.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/bash-completion-r1.eclass


Index

NAME
DESCRIPTION
SUPPORTED EAPIS
TRANSITIVELY PROVIDED ECLASSES
EXAMPLE
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, June 29, 2026