Summary: | Systemd guide should suggest people to enable systemctl bash-completion | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | alexander, nikoli |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=395091 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
![]() 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 |