X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=shell-completion%2Fbash%2Floginctl;h=7263f7f7bf71658d771dd9c4c60ecc5b132bc764;hb=841aa8c0b484b96654b95d3c4e936e37da4c7dda;hp=b0816a3b868ed39a29412f211d7b9fcd05aa1549;hpb=86cb0691b71873c6fe30a103dc98153e2d9ab507;p=elogind.git diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl index b0816a3b8..7263f7f7b 100644 --- a/shell-completion/bash/loginctl +++ b/shell-completion/bash/loginctl @@ -24,9 +24,9 @@ __contains_word () { done } -__get_all_sessions () { loginctl list-sessions | { while read -r a b; do printf "%s\n" "$a"; done; } ; } -__get_all_users () { loginctl list-users | { while read -r a b; do printf "%s\n" "$b"; done; } ; } -__get_all_seats () { loginctl list-seats | { while read -r a b; do printf "%s\n" "$a"; done; } ; } +__get_all_sessions () { loginctl --no-legend list-sessions | { while read -r a b; do printf "%s\n" "$a"; done; } ; } +__get_all_users () { loginctl --no-legend list-users | { while read -r a b; do printf "%s\n" "$b"; done; } ; } +__get_all_seats () { loginctl --no-legend list-seats | { while read -r a b; do printf "%s\n" "$a"; done; } ; } _loginctl () { local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}