summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-08-13 21:54:58 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-08-16 14:53:21 +0000
commitadb0c25eb6c8b13f21e28331874ed5060a69fdf4 (patch)
tree8b67349a37f495d5fb8191b214f17fc1b9ad8bfb /shell-completion
parent3326332eb9d4eac00c4e543fcdde9e5c0720c23d (diff)
bash-completion: generate unit type list from systemctl -t help option
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemctl.in2
1 files changed, 1 insertions, 1 deletions
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