From: Evgeny Vereshchagin Date: Thu, 29 Oct 2015 07:29:29 +0000 (+0300) Subject: shell-completion: systemctl: show completions for `user` in `global` mode X-Git-Tag: v228~127^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1720%2Fhead;p=thirdparty%2Fsystemd.git shell-completion: systemctl: show completions for `user` in `global` mode --- diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 29bb41c436d..cfe003544d1 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -106,6 +106,8 @@ _systemctl () { if __contains_word "--user" ${COMP_WORDS[*]}; then mode=--user + elif __contains_word "--global" ${COMP_WORDS[*]}; then + mode=--user else mode=--system fi