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