From my point of view, bash-completion for systemctl can be useful for showing available unit files without needing to review directory directly. Not sure about other systemd related completions :/ Reproducible: Always
I have personally enabled all: # equery files systemd|grep bash-compl /usr/share/bash-completion /usr/share/bash-completion/hostnamectl /usr/share/bash-completion/journalctl /usr/share/bash-completion/localectl /usr/share/bash-completion/loginctl /usr/share/bash-completion/systemctl /usr/share/bash-completion/systemd-analyze /usr/share/bash-completion/systemd-coredumpctl /usr/share/bash-completion/timedatectl /usr/share/bash-completion/udevadm
Sounds good.
Do you agree if I suggest people to enable all of them with one command (optionally, of course) with something like: for i in $(equery files systemd | grep bash-completion/); do j=$(basename $i) && eselect bashcomp enable --global $j; done ?
I don't think that's really necessary. AFAIK soon bash-completion will have all files enabled by default, with opt-out behavior.
Looks like it is being handled in bug 472938... not sure how "soon" is that though :/ But thanks for noticing
(In reply to Pacho Ramos from comment #5) All neccessary things already in tree. Systemd ebuild should be updated - --with-bashcompletiondir=/usr/share/bash-completion + --with-bashcompletiondir="$(get_bashcompdir)"
I guess the docs update is not needed then