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

Bug 521160

Summary: app-shells/gentoo-bashcomp: init.d argument completion can't work with autoloading
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 18:29:16 UTC
Autoloading uses program basename, so:

  /etc/init.d/mpd [tab]

gets completions for mpd itself. Long story short, what you are trying to do can't work.
Comment 1 Alexander Tsoy 2014-08-27 09:19:41 UTC
gentoo-bashcomp-20130804 install this completion into compatdir:

[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20130804.ebuild?hideattic=0&revision=1.4&view=markup
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-09-11 14:25:36 UTC

*** This bug has been marked as a duplicate of bug 521164 ***