diff options
author | Ferenc Erki <erkiferenc@gmail.com> | 2020-06-30 18:06:44 +0200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-07-02 02:22:10 +1200 |
commit | aaa51ad7cf9eeac704ab529a492cdc4a477e9612 (patch) | |
tree | 220719a925b1b588188e67f65b57d0079960e8cb /app-admin/rex | |
parent | app-office/impressive: Drop 0.12.0 (diff) | |
download | gentoo-aaa51ad7cf9eeac704ab529a492cdc4a477e9612.tar.gz gentoo-aaa51ad7cf9eeac704ab529a492cdc4a477e9612.tar.bz2 gentoo-aaa51ad7cf9eeac704ab529a492cdc4a477e9612.zip |
app-admin/rex: install tab completion scripts
Closes: https://github.com/gentoo/gentoo/pull/16507
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com>
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'app-admin/rex')
-rw-r--r-- | app-admin/rex/rex-9999.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild index 5cc3866dba75..02f767b58c6f 100644 --- a/app-admin/rex/rex-9999.ebuild +++ b/app-admin/rex/rex-9999.ebuild @@ -18,7 +18,7 @@ else DIST_NAME=Rex KEYWORDS="~amd64 ~x86" fi -inherit perl-module ${VCS_ECLASS} +inherit bash-completion-r1 perl-module ${VCS_ECLASS} DESCRIPTION="(R)?ex, the friendly automation framework" @@ -183,3 +183,12 @@ src_prepare() { cd "${S}" || die "Can't enter build dir" perl-module_src_prepare } + +src_install() { + newbashcomp "share/${PN}-tab-completion.bash" "${PN}" + + insinto /usr/share/zsh/site-functions + newins "share/${PN}-tab-completion.zsh" "_${PN}" + + perl-module_src_install +} |