From 93557fcb5d124823f061adfa854891eda338c15e Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 29 Oct 2015 10:29:29 +0300 Subject: shell-completion: systemctl: show completions for `user` in `global` mode --- shell-completion/bash/systemctl.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell-completion') diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 29bb41c436..cfe003544d 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 -- cgit v1.2.3-54-g00ecf