Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623832

Summary: dev-lang/crystal-0.23.0 bash completion
Product: Gentoo Linux Reporter: Renich Bon Ciric <renich>
Component: Current packagesAssignee: Lixiao Chen <longlene>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint, slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!