On Tue, 2016-06-07 at 22:25 -0700, Kip Warner wrote:
> Hey list,
> 
> My Debianianized package ships the following bash completion file:
> 
>     /usr/share/bash-completion/completions/mypackage-completion
> 
> The file does not appear to be automatically sourced upon a shell
> login
> unless done so manually...
> 
>     $ . /usr/share/bash-completion/completions/mypackage-completion
>     $ mypackage --[TAB]
> 
> Tab completion then works. I've tried setting the executable bit on
> the
> file, but it doesn't seem to make any difference. Is there some kind
> of
> postinst hook my package needs to run?
> 
> Regards,
> 

*sigh* I just figured it out. mypackage-completion should be just
mypackage in order to get bash completion to work.

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to