diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-29 08:29:29 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-30 02:55:32 +0100 |
commit | 93557fcb5d124823f061adfa854891eda338c15e (patch) | |
tree | b9cb122d2eac791310a9e93b5ce17ef430257b4e | |
parent | Merge pull request #1709 from evverx/set-location-completion (diff) | |
download | systemd-93557fcb5d124823f061adfa854891eda338c15e.tar.xz systemd-93557fcb5d124823f061adfa854891eda338c15e.zip |
shell-completion: systemctl: show completions for `user` in `global` mode
-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 |