diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-29 10:29:29 +0300 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-30 04:55:32 +0300 |
commit | 93557fcb5d124823f061adfa854891eda338c15e (patch) | |
tree | b9cb122d2eac791310a9e93b5ce17ef430257b4e /shell-completion/bash/systemctl.in | |
parent | 8d20def9fee8893d30d25ee38eb9d84323328fad (diff) |
shell-completion: systemctl: show completions for `user` in `global` mode
Diffstat (limited to 'shell-completion/bash/systemctl.in')
-rw-r--r-- | shell-completion/bash/systemctl.in | 2 |
1 files changed, 2 insertions, 0 deletions
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 |