[systemd-devel] Autocompletion by default in containers and typo on systemctl.in

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Jan 28 20:44:39 PST 2015

On Sat, Jan 10, 2015 at 01:29:11AM +0100, Carlos Morata Castillo wrote:
> Hi,
> 1- It'll be nice if when you "nspawn" a container it'll have
> autocompletion enabled by default.
> Just need to execute this line:
> . /usr/share/bash-completion/bash_completion
> (This file is /usr/share/bash-completion/bash_completion/systemctl by
> default in bash-completion)

There's no guarantee that the container has the same (or even similar)
shell, systemd version, etc. Why do you think completions shouldn't
happen through the normal process where stuff is installed into the
container if it so be used there?

> 2- Rename shell-completion/bash/systemctl.in to systemctl in repo and
> update Makefile.am properly.
systemctl.in is converted to systemctl by substituting directory names
in it. Just renaming it is not enough.


More information about the systemd-devel mailing list