summaryrefslogtreecommitdiffstats
path: root/completions/pwck
blob: 3e74ea5e3b94cfbd988951d2f3985ab9e51dcdd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# pwck(8) completion                                       -*- shell-script -*-

_comp_cmd_pwck()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    if [[ $cur == -* ]]; then
        _comp_compgen_help || _comp_compgen_usage
        return
    fi

    _comp_compgen_filedir
} &&
    complete -F _comp_cmd_pwck pwck

# ex: filetype=sh