summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2020-10-08 17:26:58 +0200
committerPatrice Clement <monsieurp@gentoo.org>2020-10-09 21:57:52 +0200
commitb1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e (patch)
tree06d87a9a318d6e04d0dcac725a7a23062f4b02ec /app-misc/todo
parentapp-text/xournalpp: Stable for amd64 (diff)
downloadgentoo-b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e.tar.gz
gentoo-b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e.tar.bz2
gentoo-b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e.zip
app-misc/todo: clean up aliases.
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17863 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-misc/todo')
-rw-r--r--app-misc/todo/todo-2.12.0-r1.ebuild (renamed from app-misc/todo/todo-2.12.0.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/todo/todo-2.12.0.ebuild b/app-misc/todo/todo-2.12.0-r1.ebuild
index d1dcad07e588..623c419ac0a7 100644
--- a/app-misc/todo/todo-2.12.0.ebuild
+++ b/app-misc/todo/todo-2.12.0-r1.ebuild
@@ -38,10 +38,7 @@ src_test() {
src_install() {
dobin "${PN}.sh"
- dosym "${PN}.sh" "/usr/bin/${PN}cli"
- dosym "${PN}.sh" "/usr/bin/${PN}txt"
newbashcomp "${PN}_completion" "${PN}.sh"
- bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
einstalldocs
}
@@ -63,4 +60,9 @@ pkg_postinst() {
einfo 'You can then edit this file as you see fit.'
einfo 'Enjoy!'
einfo
+ ewarn 'The Gentoo-specific todocli and todotxt aliases have been removed.'
+ ewarn 'If you still need them, add the following lines to your ~/.bashrc:'
+ ewarn
+ ewarn 'alias todocli=todo.sh'
+ ewarn 'complete -F _todo todocli'
}