chiark / gitweb /
bash-completion: rework startable/restartable units once more
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Oct 2014 02:25:33 +0000 (22:25 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Oct 2014 03:48:09 +0000 (23:48 -0400)
commit9ff8af5460d57dfab78a1137ec743b539715e82a
treea252840c9b75abeee1b7bba3eeae46709669b348
parent74a550c5d8228e58b936dd70e183f633bf373632
bash-completion: rework startable/restartable units once more

I tried to use 'systemctl --all list-units' to filter unit files, but
this always filters out unit files which are not loaded. We want to complete
systemctl start with those units too, so this approach is not going to work.

New version is rather slow, but hopefully correct.
shell-completion/bash/systemctl.in