summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_sd_unit_files
blob: 4778a0420d0d270823b65fa3ee2a6db452ace9a1 (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|snapshot|socket|swap|target|timer)'
}