chiark / gitweb /
zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
authorEric Cook <llua@gmx.com>
Mon, 22 Jun 2015 22:07:32 +0000 (18:07 -0400)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:04:18 +0000 (10:04 +0100)
commitb5576b4770b6f8cf082dd9969c6793a89863557a
treec7932ee18c23625034d89eb106b135c1a03044ff
parentf366372353071248d2ea63c8602e0bf8d50b9931
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