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

Lennart Poettering lennart at poettering.net
Mon Feb 2 14:36:52 PST 2015


On Thu, 29.01.15 05:44, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> 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?

Yeah, I fully agree with Zbigniew here. This is something the distro
and shell maintainers have to figure out between themselves, systemd
should not be involved...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list