BASH-COMPLETION-R1.ECLASS
Section: eclass-manpages (5)Updated: Nov 2024
Index Return to Main Contents
NAME
bash-completion-r1.eclass - A few quick functions to install bash-completion filesSUPPORTED EAPIS
7 8EXAMPLE
EAPI=8 src_configure() { econf \ --with-bash-completion-dir="$(get_bashcompdir)" } src_install() { default newbashcomp contrib/${PN}.bash-completion ${PN} }
FUNCTIONS
- get_bashcompdir
- Get the bash-completion completions directory.
- dobashcomp <file> [...]
- Install bash-completion files passed as args. Has EAPI-dependent failure behavior (like doins).
- newbashcomp <file> <newname>
- Install bash-completion file under a new name. Has EAPI-dependent failure behavior (like newins).
- bashcomp_alias <basename> <alias>...
- Alias <basename> completion to one or more commands (<alias>es).
MAINTAINERS
[email protected]REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
bash-completion-r1.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/bash-completion-r1.eclass
Index
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, November 25, 2024