Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623832 - dev-lang/crystal-0.23.0 bash completion
Summary: dev-lang/crystal-0.23.0 bash completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lixiao Chen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-04 18:37 UTC by Renich Bon Ciric
Modified: 2017-07-04 20:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2017-07-04 18:37:42 UTC
Hello,

It would be a great idea to include bash completion for crystal: https://github.com/crystal-lang/crystal/blob/master/etc/completion.bash
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-07-04 20:42:47 UTC
Added bash completion as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bcce3cc36404063e0e8898bfc0d9df93355df4

The whole change is only:

--- crystal-0.23.0.ebuild       2017-06-30 08:08:06.885722308 +0100
+++ crystal-0.23.0-r1.ebuild    2017-07-04 21:24:00.715189837 +0100
@@ -5,3 +5,3 @@
 
-inherit multiprocessing toolchain-funcs
+inherit bash-completion-r1 multiprocessing toolchain-funcs
 
@@ -97,2 +97,4 @@
        fi
+
+       newbashcomp etc/completion.bash ${PN}
 }


Thank you!