cli-shell/complete-alias - 9999 (nadevko)

Search

Install

Install this version:

emerge -a =cli-shell/complete-alias-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =cli-shell/complete-alias-9999

Or alternatively:

emerge --autounmask-write -a =cli-shell/complete-alias-9999

Package Information

Description:
Script to fix bash auto-completion for aliases
Homepage:
https://github.com/cykerway/complete-alias
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 9 0
View Raw Ebuild
# Copyright 2026 Nadeŭka <me+oss@nadevko.cc>
# Distributed under the terms of the GNU General Public License v2
EAPI=9

inherit git-r3

DESCRIPTION='Script to fix bash auto-completion for aliases'
HOMEPAGE=https://github.com/cykerway/complete-alias
EGIT_REPO_URI=https://github.com/cykerway/${PN}.git

LICENSE=GPL-3
SLOT=0

RDEPEND='
	>=app-shells/bash-4.4
	app-shells/bash-completion
'

src_install() {
	insinto /usr/share/${PN}
	doins complete_alias
	einstalldocs
}

pkg_postinst() {
	elog "To activate ${PN}, add the following after aliases to ~/.bashrc:"
	elog "  source /usr/share/${PN}/complete_alias"
	elog '  complete -F _complete_alias "${!BASH_ALIASES[@]}"'
}

Inherited Eclasses

Dependencies

RDEPEND

	>=app-shells/bash-4.4
	app-shells/bash-completion