From adb0c25eb6c8b13f21e28331874ed5060a69fdf4 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 13 Aug 2015 21:54:58 +0000 Subject: bash-completion: generate unit type list from systemctl -t help option --- shell-completion/bash/systemctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index c2707ba3a6..0bcd49f923 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.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 -- cgit v1.2.3-54-g00ecf