]> git.ipfire.org Git - thirdparty/systemd.git/commit
bash completion: make systemctl mount-image/bind autocomplete on active services
authorLuca Boccassi <bluca@debian.org>
Wed, 27 Dec 2023 16:48:05 +0000 (17:48 +0100)
committerLuca Boccassi <bluca@debian.org>
Wed, 27 Dec 2023 16:48:05 +0000 (17:48 +0100)
commitc24c63e94674c877052a327dbca342c0b50b5690
treed2cbc3bc907d6b4aaa93692f986119d33d5d7384
parent79272d3098597686d9e796bd946ea272304fd720
bash completion: make systemctl mount-image/bind autocomplete on active services

The verb works only on running service units, so complete on that as the first
parameter, and a local file as the second. The other parameters are inside the
service namespace so we can't autocomplete from the outside, return early.
shell-completion/bash/systemctl.in