Merge pull request #1720 from evverx/shell-completion-global-mode

shell-completion: systemctl: show completions for `user` in `global` …
This commit is contained in:
Daniel Mack 2015-10-30 10:56:38 +01:00
commit cb2266f931

View file

@ -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