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

_monodevelop()
{
    local cur prev words cword split
    _init_completion -s || return

    $split && return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '$(_parse_help "$1" -h)' -- "$cur"))
        [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
    else
        _filedir
    fi
} &&
    complete -F _monodevelop monodevelop

# ex: filetype=sh