diff options
Diffstat (limited to 'shell-completion/zsh/_systemctl.in')
-rw-r--r-- | shell-completion/zsh/_systemctl.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index d9b8d1c0e3..d364d17dd9 100644 --- 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 -(( $+functions[_systemctl_link] )) || _systemctl_link() { _files } +(( $+functions[_systemctl_link] )) || _systemctl_link() { + _sd_unit_files +} # no systemctl completion for: # [STANDALONE]='daemon-reexec daemon-reload default @@ -297,7 +299,7 @@ _unit_states() { _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[@]}" } |