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

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

    if [[ $cur == -* ]]; then
        _comp_compgen_help
    else
        _comp_compgen_filedir -d
    fi

} &&
    complete -F _comp_cmd_unshunt unshunt

# ex: filetype=sh