1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
systemd-stable/shell-completion/zsh/_sd_unit_files
2017-11-19 19:08:15 +01:00

11 lines
255 B
Plaintext

#autoload
# SPDX-License-Identifier: LGPL-2.1+
_sd_unit_files() {
local files expl
files=( '*:files:->files' )
_description files expl 'unit file'
_files "$expl[@]" -g '*.(automount|device|mount|path|service|socket|swap|target|timer)'
}