mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
shell-completion: on zsh, systemd-cat is a precommand
_precommand lets zsh complete other commands and their arguments e.g. it can complete grep with "systemd-cat gr" and complete grep options with "systemd-cat grep -"
This commit is contained in:
committed by
Luca Boccassi
parent
50e0509ccf
commit
5ebd945cda
@@ -19,8 +19,8 @@ case "$service" in
|
||||
'(-t --identifier)'{-t+,--identifier=}'[Set syslog identifier.]:syslog identifier:' \
|
||||
'(-p --priority)'{-p+,--priority=}'[Set priority value.]:value:({0..7})' \
|
||||
'--level-prefix=[Control whether level prefix shall be parsed.]:boolean:(1 0)' \
|
||||
'--namespace=[Connect to specified journal namespace.]:journal namespace:' \
|
||||
':Message'
|
||||
'--namespace=[Connect to specified journal namespace.]:journal namespace:'
|
||||
_precommand
|
||||
;;
|
||||
systemd-cgls)
|
||||
_arguments \
|
||||
|
||||
Reference in New Issue
Block a user