[buildd-tools-devel] Bug#855283: schroot: bash completion is broken
James Cowgill
jcowgill at debian.org
Thu Feb 16 11:55:45 UTC 2017
Package: schroot
Version: 1.6.10-3
Severity: normal
Hi,
bash completion is completely broken with schroot 1.6.10-3
$ schroot <TAB>-bash: completion: function `_schroot' not found
I think this is because the schroot bash completion uses the "have"
function. This function is only available for static bash completions
loaded from /etc/bash_completion.d. Dynamically loaded completions from
/usr/share/bash-completion/completions do not get this function and must
instead use "_have".
Running this is enough to fix it:
sed -i 's/have schroot/_have schroot/' \
/usr/share/bash-completion/completions/schroot
Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20170216/54f0721d/attachment.sig>
More information about the Buildd-tools-devel
mailing list