chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shell-completion: systemd-analyze verify, systemctl link
[elogind.git]
/
shell-completion
/
zsh
/
_systemctl.in
diff --git
a/shell-completion/zsh/_systemctl.in
b/shell-completion/zsh/_systemctl.in
index d9b8d1c0e32b27d7938a15592ec898439df8a96e..d364d17dd9004dd256e98fa2862c3857d53021a4 100644
(file)
--- a/
shell-completion/zsh/_systemctl.in
+++ b/
shell-completion/zsh/_systemctl.in
@@
-261,7
+261,9
@@
for fun in set-environment unset-environment ; do
}
done
}
done
-(( $+functions[_systemctl_link] )) || _systemctl_link() { _files }
+(( $+functions[_systemctl_link] )) || _systemctl_link() {
+ _sd_unit_files
+}
# no systemctl completion for:
# [STANDALONE]='daemon-reexec daemon-reload default
# no systemctl completion for:
# [STANDALONE]='daemon-reexec daemon-reload default
@@
-297,7
+299,7
@@
_unit_states() {
_unit_types() {
local -a _types
_unit_types() {
local -a _types
- _types=(automount device mount path service snapshot socket swap target timer)
+ _types=(automount
busname
device mount path service snapshot socket swap target timer)
_values -s , "${_types[@]}"
}
_values -s , "${_types[@]}"
}