summaryrefslogtreecommitdiff
path: root/completions/unshunt
blob: 214fa42393b2612677cfa5582d01ea3077280026 (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