zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
authorEric Cook <llua@gmx.com>
Mon, 22 Jun 2015 22:07:32 +0000 (18:07 -0400)
committerEric Cook <llua@gmx.com>
Mon, 22 Jun 2015 22:07:32 +0000 (18:07 -0400)
commitfb9d85b71ac1a9247af623f98f4e229fccd0fe7d
treeec1a9e162e29c595c2329bcb896d7e3d7a2b0637
parent38cf1e292b00f20ee3b5e4f7ed9d7b942da108b2
zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements

_loginctl: respects the verbose style. which allows a user to get
the pre d5df0d950f8bc behavior of not showing a description for sessions
and users, by default they aren't shown.

zstyle ':completion:*' verbose true
or
zstyle ':completion:*:loginctl*:*' verbose true # or similar
Will show the descriptions.

zstyle ':completion:*' verbose true
and
zstyle ':completion:*:loginctl*:*' verbose false # or similar
Won't show descriptions for loginctl only

_systemd: complete pids for systemd-notify's --pid option.
display a message of the expected argument for other options.

_systemd-inhibit: complete block & delay for --mode
display a message of the expected argument for --who/--why
shell-completion/zsh/_loginctl
shell-completion/zsh/_systemd
shell-completion/zsh/_systemd-inhibit