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

_unshunt()
{
    local cur prev words cword
    _init_completion || return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
    else
        _filedir -d
    fi

} &&
    complete -F _unshunt unshunt

# ex: filetype=sh