app-shells/complete-alias - 9999 (nadevko)

Search

Install

Install this version:

emerge -a =app-shells/complete-alias-9999

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

autounmask =app-shells/complete-alias-9999

Or alternatively:

emerge --autounmask-write -a =app-shells/complete-alias-9999

Package Information

Description:
Automagical shell alias completion
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='Automagical shell alias completion'
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 lines 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