summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_sd_unit_files
blob: 3e7a4ee803db5ccddedcaea7d67e95f01d84f837 (plain)
1
2
3
4
5
6
7
8
9
#autoload

_sd_unit_files() {
    local files expl
    files=( '*:files:->files' )

    _description files expl 'unit file'
    _files "$expl[@]" -g '*.(automount|busname|device|mount|path|service|socket|swap|target|timer)'
}