diff options
author | Daniel Mack <github@zonque.org> | 2015-10-30 10:56:38 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-10-30 10:56:38 +0100 |
commit | cb2266f9312a12d7e80c688bf31a9d4b148d5ce6 (patch) | |
tree | 96311fe23d6f85ea934cf9018c1526dd317a1895 | |
parent | b133ea8e5f949fe5c37dbe6ff654d0f81d467fa8 (diff) | |
parent | 93557fcb5d124823f061adfa854891eda338c15e (diff) |
Merge pull request #1720 from evverx/shell-completion-global-mode
shell-completion: systemctl: show completions for `user` in `global` …
-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 |