shell-completion: systemctl: show completions for user in global mode

This commit is contained in:
Evgeny Vereshchagin 2015-10-29 10:29:29 +03:00
parent 8d20def9fe
commit 93557fcb5d

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