mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
bash-completion: generate unit type list from systemctl -t help option
This commit is contained in:
@@ -108,7 +108,7 @@ _systemctl () {
|
||||
comps=$(compgen -A signal)
|
||||
;;
|
||||
--type|-t)
|
||||
comps='automount busname device mount path service snapshot socket swap target timer'
|
||||
comps=$(__systemctl $mode -t help)
|
||||
;;
|
||||
--state)
|
||||
comps='loaded not-found stub
|
||||
|
||||
Reference in New Issue
Block a user